# Need to turn off ALL caching in production environment

**URL:** <https://www.ruby-forum.com/t/need-to-turn-off-all-caching-in-production-environment/142545>\
**Category:** Rails\
**Created:** [July 9, 2008, 2:08am UTC](https://www.ruby-forum.com/t/need-to-turn-off-all-caching-in-production-environment/142545 "2008-07-09T02:08:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://www.ruby-forum.com/u/andy)\
**Post date:** [July 9, 2008, 2:08am UTC](https://www.ruby-forum.com/t/need-to-turn-off-all-caching-in-production-environment/142545/1 "2008-07-09T02:08:45Z")

</div>

I’m deploying to a production environment to show a client progress on  
a site, but it’s being cached strangely.

Here is my production.rb:

# Settings specified here will take precedence over those in config/

environment.rb

# The production environment is meant for finished, “live” apps.

# Code is not reloaded between requests

config.cache\_classes = true

# Use a different logger for distributed setups

# config.logger = SyslogLogger.new

# Full error reports are disabled and caching is turned on

config.action\_controller.consider\_all\_requests\_local = false  
config.action\_controller.perform\_caching = false  
config.action\_view.cache\_template\_loading = false

# Enable serving of images, stylesheets, and javascripts from an asset

server

# config.action\_controller.asset\_host = "http://

[assets.example.com](http://assets.example.com)"

# Disable delivery errors, bad email addresses will be ignored

# config.action\_mailer.raise\_delivery\_errors = false

What am I missing? Could mongrel be causing this?

Thanks,  
Andy
