[Rg 103] Re: how to set http response header 'cache-control:no-store'

Jonathan Buch john at oxyliquit.de
Fri Sep 28 03:50:49 EDT 2007


Hi,

> Second, try following approach:
> http://pastie.caboo.se/101619

Just a thought:

Ramaze::Dispatcher::Action::FILTER << proc {|response|
   response.header['Cache-Control'] = 'no-store'
}

would suffice I guess, no class needed.  :P

Jo

-- 
Feel the love
http://pinkjuice.com/pics/ruby.png


More information about the Ramaze-general mailing list