You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
etag to be put on the new auth request with the data from the old auth request, such that a 304 can result in not needing to update the cache
From http://www.w3.org/TR/2012/WD-XMLHttpRequest-20121206/
For 304 Not Modified responses that are a result of a user agent generated conditional request the
user agent must act as if the server gave a 200 OK response with the appropriate content.
The user agent must allow author request headers to override automatic cache validation
(e.g. If-None-Match or If-Modified-Since), in which case 304 Not Modified responses must be passed through. [HTTP]
I find this rather vague. My assumption would be if a resource is conditionally requested,
you would see the 304 response code. But, as I explained in another comment
(source: https://developers.google.com/speed/docs/best-practices/caching), there might not even
be a request if the last response server http header for that resource had set
Cache-Control: max-age or Expires set sometime in the future.
The text was updated successfully, but these errors were encountered:
hthetiot
changed the title
handle Etag to allow server serve NotModified 304 responses
handle Etag to allow server sending NotModified 304 responses
Aug 21, 2018
etag to be put on the new auth request with the data from the old auth request, such that a 304 can result in not needing to update the cache
From http://www.w3.org/TR/2012/WD-XMLHttpRequest-20121206/
For 304 Not Modified responses that are a result of a user agent generated conditional request the
user agent must act as if the server gave a 200 OK response with the appropriate content.
The user agent must allow author request headers to override automatic cache validation
(e.g. If-None-Match or If-Modified-Since), in which case 304 Not Modified responses must be passed through. [HTTP]
I find this rather vague. My assumption would be if a resource is conditionally requested,
you would see the 304 response code. But, as I explained in another comment
(source: https://developers.google.com/speed/docs/best-practices/caching), there might not even
be a request if the last response server http header for that resource had set
Cache-Control: max-age or Expires set sometime in the future.
The text was updated successfully, but these errors were encountered: