[Webkit-unassigned] [Bug 52821] Etag = "" (empty string) forces chrome to ignore Cache-Control and never use cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 24 17:03:32 PST 2011


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


rvargas at chromium.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rvargas at chromium.org




--- Comment #6 from rvargas at chromium.org  2011-01-24 17:03:31 PST ---
I don't see any problem here.

This is part of the request that results in a 304:

Host: qa40.fnismls.com
Connection: keep-alive
Cache-Control: max-age=0
If-Modified-Since: Fri, 21 Jan 2011 19:57:42 GMT
Accept: text/css,*/*;q=0.1
If-None-Match: "ae34d476a5b9cb1:0"

And this is part of the request that results in a 200:

Host: qa30.fnismls.com
Connection: keep-alive
Cache-Control: max-age=0
If-Modified-Since: Tue, 04 Jan 2011 20:43:39 GMT
Accept: text/css,*/*;q=0.1
If-None-Match: ""

So in both cases we have a cached resource and we are validating it with the server. However, the server doesn't like the second request.

Maybe I'm wrong, but as far as I can tell, ETag: "" is a perfectly valid ETag. Maybe using a constant (not empty) string does that you want?

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