-
Notifications
You must be signed in to change notification settings - Fork 155
If-Modified-Since
not working with IPRO
#1106
Comments
Since we do set etags, one option would be simply to drop Last-Modified from our output. In general I would expect etag to work better than last modified, because if we optimize a resource, it falls out of cache, and then we optimize it again, the new one should have the same etag but won't have the same last-modified. |
I think the relevant code is:
This doesn't check |
The code that inserts
I don't see what setting LastModified is getting us here. It's not helping with caching, because we don't accept it back on the input. It's even inaccurate for most of the traffic that flows through I think we should just remove it, or at least remove it in cases where |
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29 does say:
but it also says:
Saying "last modified: just this moment" seems incorrect enough that sending no header would be better. |
You're reading an obsolete spec. Also the code seems to come from http://cl/63168180 which is supposed to be On Fri, Jul 10, 2015 at 2:07 PM, Jeff Kaufman notifications@github.com
|
That code review link isn't very useful here, is it? :( On Fri, Jul 10, 2015 at 2:15 PM, Maksim Orlovich morlovich@google.com
|
Tracing history, it looks like the change to add a |
Without PageSpeed:
With PageSpeed:
ETags do work, and we set them.
I just tested mod_pagespeed as well, and the same problem:
The text was updated successfully, but these errors were encountered: