Enable caching database queries