add Cache.purge() and Cache.flush()