Andreas <[EMAIL PROTECTED]> writes:

> Andrew M. Bishop, Wednesday 08 September 2004 20:05:
> > Andreas <[EMAIL PROTECTED]> writes:
> > 
> > > I have tried to achieve that cached pages are requested only if the cached 
> > > version is older than specified (500 minutes) and fetched only if they have 
> > > changed. A few specific pages are not to be re-requested at all. I have set 
> > > the OnlineOptions accordingly (so I thought).

> > The only option that I can think might be causing the problem is the
> > pragma-no-cache option (and the unspecified cache-control-no-cache
> > option that also defaults to 'yes').  These two options will mean that
> > if the browser asks for a forced refresh of the page then WWWOFFLE
> > will do it.  It is possible that the browser is asking for a forced
> > refresh.  Does it happen with all pages or only certain ones?  Is the
> > problem related to selecting from your bookmarks (some browsers will
> > do a forced refresh of bookmark pages)?
> 
> The effect occurs only with certain pages actually. In several cases only 
> parts of the pages are forcibly reloaded, mostly ads. Selecting from 
> bookmarks does not make a difference.
> 
> An extract from the debugging output is attached.

The section of log file that you sent shows the fetching of 3 URLs
when online.  This shows that the problem is with the forced reloading
of the page.  For each of the 3 URLs there is a message that the page
was requested to have a forced reload.

> wwwoffles[3159] 1094920715: Information: URL='http://www.google.de/'.
> wwwoffles[3159] 1094920715: Information: Cache Access Status='Forced Reload'.

> wwwoffles[3163] 1094920794: Information: URL='http://www.web.de/'.
> wwwoffles[3163] 1094920795: Information: Cache Access Status='Forced Reload'.

> wwwoffles[3172] 1094920808: Information: 
> URL='http://adserver.adtech.de/?adiframe|2.0|291|78895|1|4|target=_blank;'.
> wwwoffles[3172] 1094920809: Information: Cache Access Status='Forced Reload'.

I don't know why you would be seeing a forced reload for these URLs
and not for other ones.  WWWOFFLE is doing the correct thing based on
the request that it is receiving and the options that you have chosen
in the configuration file.

You can disable the forced reloading by setting the options
pragma-no-cache and cache-control-no-cache to false, but this will
stop all forced reloading.

Do the pages with the adverts that are reloaded contain Javascript
that causes the forced reload?  I cannot think of any other reason
that the adverts would be forced but the other pages not.  You could
always disable the fetching of the advert pages.

-- 
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