cache.purgeall()

When a database is deleted, remove all entries from the cache for that database.