David Marsh <[EMAIL PROTECTED]> writes:

> I'm a bit confused by wwwoffle's OnlineOptions.

> Here's what I'd like wwwoffle to do.
> When wwwoffle is online, it should:
> 
> fetch a page if requested and not already cached.
> = the normal expected action?

Yes, the normal action.

> fetch a page if requested and cached BUT NEWER than the cached version.
> = request-changed

The normal action (but modified by some of the options).

pragma-no-cache - To make an unconditional fetch for the page if the
                  browser forces it.

cache-control-no-cache - Similar to above, but a different method of
                         forcing.

request-changed - The time since the server was last checked for a
                  newer version before trying again.

request-changed-once - An option to force the previous option to be
                       ignored and a once per online session rule used.

request-expired - To make an unconditional request for a page if the
                  cached one has expired.

request-no-cache - To make an unconditional request for a page if the
                   cached one asks not to be cached.

request-redirection - To make an unconditional request for a page if
                      the cached one is a re-direction page rather
                      than just content.

request-conditional - The option that you need to enable checking for
                      newer pages on the server without always
                      downloading the whole thing.

validate-with-etag - The option to use the HTTP/1.1 cache validation
                     method or not (it doesn't work with many servers).


> NOT fetch a page if requested AND already fetched this session AND ONLY
> if unchanged since fetched (otherwise fetch again)
> = request-changed-once
> Do I set this to yes or no for the above effect?

If you set request-changed-once=yes then WWWOFFLE will only try that
page once while online to see for changes.  If you request it again in
the same online session it won't even try looking for changes.

By default WWWOFFLE will make a conditional request for a page so that
it asks the server if a newer version exists without getting the whole
thing.  Your statement above will check the server more than once per
online session since it includes an "unchanged since fetched" clause.
The only way to know this is to ask the server.  So you need to have
request-changed-once=no.

> always fetch a page if expired
> = request-expired=yes?

Yes.

> always fetch a page if request-no-cache'd
> = request-no-cache=yes?

Yes, also pragma-no-cache=yes for older browsers.

> fetch pages requiring authentication
> Do I need to set anything other than try-without-password (perhaps)?

Normal behaviour, some servers are broken and require the
try-without-password option.


> I have access to a couple of folders on a remote server which require 
> authentication (using Digest authentication - does this make any difference?).
> With a direct connection to the server (without using wwwoffle) the
> authentication works as expected. Connecting through wwwoffle repeatedly
> asks me to authenticate, fails, asks me to retry..
> Any ideas on why this is happening?

WWWOFFLE doesn't support digest authentication.

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