[BUGFIX] Cache must be protected
Merge pull request #108 from hmspl/refactor

[BUGFIX] Cache must be protected