On Wed, Aug 4, 2010 at 11:35 AM, Wes Gamble <we...@att.net> wrote:
> I've Googled and seen several approached to turning off page caching in
> Radiant - what is the most correct way to do this for a production
> environment?

have you tried modifying the response headers?

gem install rack-contrib

# environment.rb
require 'rack/contrib'
...
config.middleware.use ::Radiant::Cache
config.middleware.use Rack::ResponseHeaders do |headers|
  headers['Cache-Control'] = 'no-cache'
end
...

Reply via email to