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

Vladimir Konrad v.konrad at lse.ac.uk
Fri Sep 28 05:46:44 EDT 2007


> Just a thought:
> 
> Ramaze::Dispatcher::Action::FILTER << proc {|response|
>    response.header['Cache-Control'] = 'no-store'
> }
> 
> would suffice I guess, no class needed.  :P

This works too.

Thank you.

Vlad

Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm


More information about the Ramaze-general mailing list