Topic: Removing Cache-Control
Hello Rails World!
I'm pretty new to all of this, so my question might be simple/naive. I just put an app up on an Apache2.2 server
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch1 mod_ruby/1.2.6 Ruby/1.8.5(2006-08-25)
and it runs great and all, except for
in the headers. In the Apache virtual host config file is
SetEnv RAILS_ENV production
and in config/environments/production.rb
config.cache_classes = true
config.action_controller.perform_caching = true
I have verified that the app is, in fact, running in production mode by testing database connectivity.
The problem is it seems that images referenced in my layout are not being cached by browsers and with every page change are being downloaded again. While I'm not an HTTP guru, my suspicion is Cache-Control: no-cache is preventing the images from being cached. Does this seem plausible? If so, how might I change this behavior and let browswers cache images?
Thanks for any and all help!