Add clear-db-cache function.