[Webkit-unassigned] [Bug 17998] When a resource is cached locally, WebKit should follow RFC 2616 "Specific end-to-end revalidation" instead of "Unspecified end-to-end revalidation"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 24 15:42:48 PDT 2008


------- Comment #17 from mrowe at apple.com  2008-08-24 15:42 PDT -------
(In reply to comment #16)
> (From update of attachment 22874 [edit])
>  292     return !m_loading &&
> (!m_response.httpHeaderField("Last-Modified").isEmpty() ||
> !m_response.httpHeaderField("ETag").isEmpty());
> This assumes that ETag is implemented. It's not implemented in current versions
> of CFNetwork!

The revalidation is handled entirely in WebCore, with
Loader::Host::servePendingRequests adding the If-None-Match header if the
original response had an ETag header.  This should allow us to use ETags to
revalidate from the memory cache even when using a network library that does
not support revalidation via ETags.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list