Swiki: no-cache and <pre>

Randal L. Schwartz merlyn at stonehenge.com
Thu Mar 2 23:01:04 UTC 2000


>>>>> "Mark" == Mark Guzdial <guzdial at cc.gatech.edu> writes:

Mark> I thought that we've been doing Pragma no-cache for months, even with 
Mark> the PWS Swiki before the conversion to Comanche Swiki.  Our purpose 
Mark> is to deal with the recent version of the page, as Lex points out. 
Mark> But as Randal points out, we may be doing the wrong thing there.

Mark> We're certainly willing to fix that -- I didn't engage a debate 
Mark> because I simply didn't realize it was an issue!  If you and Randal 
Mark> can suggest a different set of metas/pragmas/whatevers to use to 
Mark> achieve the goal of not caching edits and showing most recent 
Mark> versions of pages, we'd be happy to include those!

Well, see my mail. :)

Just add:

        Last-modified: <now>
        Expires: <now>

You can add "Cache-control: no-cache" if you're really paranoid.  Look
at http://www.web-caching.com/mnot_tutorial/ for more info.  It's very
nice.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!





More information about the Squeak-dev mailing list