Changed config so that cache is used in production environment and not in development environment.