[Webkit-unassigned] [Bug 58797] Vary header and Conditional HTTP request error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 19 10:41:30 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58797





--- Comment #2 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2011-04-19 10:41:30 PST ---
Chromium's network stack implements Vary header support by computing a hash of the request headers subset and storing that hash in the cache meta data.  Before reusing a cache entry, the hash of the current set of request headers is computed and then that is compared against the stored value.

You can see the code for this here:
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_vary_data.cc?view=markup

It is important to note that if we are caching redirects (I don't think WebCore's cache does so), that we should always assume that a cached redirect has an implicit "Vary: Cookie" header for compat with the web.

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



More information about the webkit-unassigned mailing list