Fix issue: Caching only in production