ramaze/webrick caching pages

5 views
Skip to first unread message

theG

unread,
Aug 14, 2008, 7:42:12 PM8/14/08
to Ramaze
Hi

I've found that the webrick just caches pages Even a Ctrl-F5 in
firefox3 or ie7 doesn't seem to work. The eclipse console shows that
the app has "reloaded".

Also i saw this code and added it to my maincontroller

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

that doesn't seem to work either. BTW i just put this in my "class
maincontroller < ramaze:controller" bit of code.

Thanks

theG

unread,
Aug 14, 2008, 7:44:44 PM8/14/08
to Ramaze
well that should say "no-store". Are there other no cache headers to
recommend ?

Thanks
Reply all
Reply to author
Forward
0 new messages