Add support for cache clear method
Merge pull request #1 from kulewski/fix_clear

Add support for cache clear method