Added support for clearning the cache

Please merge and release :)