Add erase method to Cache, deleting expired caches.