wwwoffle-users  

Re: [WWWOFFLE-Users] Can't reload the page by F5

Andrew M. Bishop
Tue, 11 Jul 2006 22:38:12 -0700

Igor Nikanov <[EMAIL PROTECTED]> writes:

> > Did you try Shift-F5 or Ctrl-F5 ?

> but ctrl-r, F5, ctrl-F5 don't reload page anyway :(
> (BTW, I tried with other browsers - no result)

> > I guess thit is a bit funny. Maybe you should set up request-changed to
> > default value and request-changed-once to 'no'/.
> 
> ok. I corrected my config
> 
>  cookies-force-refresh = yes
>  pragma-no-cache         = yes
>  cache-control-no-cache  = yes
>  cache-control-max-age-0 = yes
>  request-changed       = 3m
>  request-changed-once  = no
>  request-expired       = yes
>  request-no-cache      = yes
>  request-redirection   = no
>  request-conditional   = yes
>  validate-with-etag    = yes
>  try-without-password  = yes
>  intr-download-keep    = no
>  intr-download-size    = 1
>  intr-download-percent = 80
>  timeout-download-keep = no
>  keep-cache-if-not-found = no
>  request-compressed-data = yes
>  request-chunked-data    = yes
> 
> with option  request-changed= 3m I can download refresh page by F5,
> but only in 3 minutes after last true reload of page
> My opinion the options 
> pragma-no-cache         = yes
> cache-control-no-cache  = yes
> must be take precedence  over the request-changed and request-changed-once 
> options (quote from
> wwwofle.conf)

This is a bug in version 2.9 of WWWOFFLE, the *-no-cache headers do
not take precedence over the other headers when they should do.  If
you want to fix it then the patch below will do that.

The reason that I haven't released a version 2.9a is that I haven't
made many changes, only a few small bug fixes.  There also hasn't been
much feedback from users about version 2.9, I wasn't sure that people
had upgraded to it.


-------------------- parse.c.diff --------------------
--- parse.c     2006/02/11 20:00:24     2.132
+++ parse.c     2006/04/17 11:13:26     2.133
@@ -317,7 +317,7 @@
       }
    }
 
- return(0);
+ return(retval);
 }
 
 
-------------------- parse.c.diff --------------------

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

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