Andrew M. Bishop <[EMAIL PROTECTED]> wrote:
> Does this option sound useful?  It would be fairly simple to add.

As an option it sound very usefull. But only optionally of course:

[<URL-SPEC>]             request-with-cookies-always = yes | no

However it would be very useful if only text/html MIME type was affected
by this, not the image/* application/x-javascript or text/css files on
the same host.

BTW I have wwwoffle set up this way in online mode:

OnlineOptions
{
<http://*/*.pdf>         request-changed         = -1
<http://*/*.pdf>         request-changed-once    = yes
<http://*/*.pdf>         request-expired         = no
<http://*/*.pdf>         request-no-cache        = no

<http://*/*.css>         request-changed         = -1
<http://*/*.css>         request-changed-once    = yes
<http://*/*.css>         request-expired         = no
<http://*/*.css>         request-no-cache        = no

<http://*/*.js>          request-changed         = -1
<http://*/*.js>          request-changed-once    = yes
<http://*/*.js>          request-expired         = no
<http://*/*.js>          request-no-cache        = no

<http://*/*.png>         request-changed         = -1
<http://*/*.png>         request-changed-once    = yes
<http://*/*.png>         request-expired         = no
<http://*/*.png>         request-no-cache        = no

<http://*/*.gif>         request-changed         = -1
<http://*/*.gif>         request-changed-once    = yes
<http://*/*.gif>         request-expired         = no
<http://*/*.gif>         request-no-cache        = no

<http://*/*.jpeg>        request-changed         = -1
<http://*/*.jpeg>        request-changed-once    = yes
<http://*/*.jpeg>        request-expired         = no
<http://*/*.jpeg>        request-no-cache        = no

                         request-changed         = 0
                         request-changed-once    = no
                         request-expired         = yes
                         request-no-cache        = yes
}

I use wwwoffle mostly to have copies of pages in case they dissapear and
to have copies which I can browse while travelling with laptop and no
internet. So I want to always refresh HTML files while online. The
speedup is achieved by not rerequesting PDF, CSS, JS and image files.
As most pages which change often and I always want to have latest (like
wiki pages for example) have cookies, your option might be useful here.

BTW Is there maybe a simpler way to code the above config?
Something like this would be very useful:

OnlineOptions
{
<mime-type = text/html>  request-changed        = 0
<mime-type = text/html>  request-changed-once   = no
<mime-type = text/html>  request-expired        = yes
<mime-type = text/html>  request-no-cache       = yes

                         request-changed         = -1
                         request-changed-once    = yes
                         request-expired         = no
                         request-no-cache        = no
}

Because that's what I effectively want to do:
always rerequest all text/html files, and use everything else from
cache.

Besides that: is there anything redundant in the above config?
Are there really 4 lines needed to do what the above does? Maybe 3 or 2
for each would be enough, and the effect would be the same? I am not
really exactly sue how the request-* options work, so I use 4 to be
sure, but maybe some expert on this can assure me that 3 or 2 of these
do exactly the same.

-- 
Miernik             _________________________  xmpp:[EMAIL PROTECTED]
___________________/_______________________/      mailto:[EMAIL PROTECTED]
Protect Europe from a legal disaster. Petition against software patents
http://www.noepatents.org/index_html?LANG=en


Reply via email to