Fix caching error in development environment