add support for clearing the cache