Paul Slootman <[EMAIL PROTECTED]> writes:

> I've been looking round on a phpbb forum, and I noticed that the
> "current time" as reported on the main page wasn't being updated.
> I then found that I wasn't seeing new posts on the forum, because
> wwwoffle is apparently aggressively caching these.

Which is what WWWOFFLE is good at - breaking the HTTP specification so
that it can be more aggresive at caching to save download time (and
money).

> I checked the headers (as found in the wwwoffle spooldir), and they
> include:
> 
> HTTP/1.0 200 OK
> Date: Wed, 24 Mar 2004 21:39:58 GMT
> Cache-Control: private, pre-check=0, post-check=0, max-age=0
> Expires: Thu, 01 Dec 1994 16:00:00 GMT
> Pragma: no-cache

> However, every attempt to access this page (short of a forced reload)
> shows:
> 
> Mar 24 22:44:23 wurtel wwwoffles[24779]: URL='http://forum.gps.nl/index.php'.
> Mar 24 22:44:23 wurtel wwwoffles[24779]: Cache Access Status='Cached Page Used'.
> 
> This is pretty frustrating. I can of course put a line
>     http://forum.gps.nl/*
> in the DontCache section, but as the site makes every effort to ensure
> that the pages aren't cached, then (at least while still online)
> wwwoffle should honour that.

You don't need to go to the extent of making the pages not cached by
WWWOFFLE you just need to adjust the OnlineOptions so that WWWOFFLE
behaves more like the HTTP specification says it should.

For the 'Cache-Control: max-age=0' header you can use the
request-expired option (default=no):

<http://forum.gps.nl/*> request-expired = yes

For the 'Pragma: no-cache' header you can use the request-no-cache
option (default=no):

<http://forum.gps.nl/*> request-no-cache = yes

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html

Reply via email to