Juan Montoya <th3pr0p...@gmail.com> writes:

> Oh! I didn't expected document.cache.ignore_cache_control to be
> enabled by default.
> Yes, the option works as expected.
> I suggest disabled as the default value to produce a similar behaviour
> with other browsers.

Actually, the behaviour would not become similar.  If I set
document.cache.ignore_cache_control = 0 in ELinks, load a HTML
page that has "Cache-Control: no-cache", and follow a link to
another part of the same page (e.g. <a href="#foo">hah</a>), then
ELinks 0.12.GIT requests the page again from the server (using
If-Modified-Since).  This does not match Iceweasel 3.0.6, which
just keeps using the previously loaded page.  In Iceweasel, it
doesn't seem to matter whether the link uses the full URL or lets
it be implied from the base URL.

I wonder if we should add to ELinks some check to force using the
cached document for such links.  Can you find some specification
of how it's really supposed to work?  Or test a few other browsers?

Attachment: pgp5zBO57KXtr.pgp
Description: PGP signature

Reply via email to