[Borges-users] cache control
Слепнев Владимир
slepnev_v at rambler.ru
Fri Apr 9 13:22:12 EDT 2004
Hi,
although MSIE caches pages pretty aggressively, there's a way to fight
that (i.e. the back button in SushiNet now doesn't roll back the
shopping cart state). I get a lot of "page has expired" messages this
way though, and have to press the back button twice to back out of a
list item - this is the next problem =)
I added the following line to the end of
Borges::WEBrickServlet#do_GET:
res['cache-control'] = 'no-cache'
(Note this is not equivalent to any HTML pragma or meta tags - there's
a KB article on the topic:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q234/0/67.ASP&NoWebContent=1)
Don't know it it works in other browsers. Anyone?
Vladimir Slepnev
More information about the Borges-users
mailing list