[Seaside] Re: How to tell web browser not to cache

Ramon Leon ramon.leon at allresnet.com
Fri Jun 5 14:47:09 UTC 2009


> >Seaside already does that, all pages are non-cachable by default.  Look
> >for the senders of #doNotCache and you'll see where Seaside does it.
>
> I am working with the new VA Smalltalk implementation of Seaside and I have
> the Squeak 2.8 version that I use to see how things work in that version.
> When I look at the generated HTML source from either version, I don't see
> any of the HTML that the #doNotCache message seems to be generating.  Also,
> it seems like pages are being cached by the web browser.
>
> Am I doing something wrong?  Have things changed?  Is there a setting I
> should be using?  Thanks again!
>
> Lou

It doesn't generate any HTML, it sets 3 HTTP headers on the response,
use something like firebug to see them.  You'll see something like
this...

Expires Wed, 11 Jun 1980 12:00:00 GMT
Pragma no-cache
Cache-Control no-cache, must-revalidate

Ramon Leon
http://onsmalltalk.com


More information about the seaside mailing list