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
that you skipping the examination of other headers because of http://tools.ietf.org/html/rfc2616#section-13.3.4 - this document seems to indicate, however, that Etags should be given precedence over Last-Modified headers. But I believe that if a response contains and Etag and a Cache-Control header, the client should respect the Cache-Control header values, like max-age, for example.
The text was updated successfully, but these errors were encountered:
Agreed, sorry I just found this while searching for answers to my own issue, this is even happening in standard NSURLCache, but what we're trying to do is completely legal based on the RFC
You say here,
https://github.com/rs/SDURLCache/blob/master/SDURLCache.m#L478
that you skipping the examination of other headers because of http://tools.ietf.org/html/rfc2616#section-13.3.4 - this document seems to indicate, however, that Etags should be given precedence over Last-Modified headers. But I believe that if a response contains and Etag and a Cache-Control header, the client should respect the Cache-Control header values, like max-age, for example.
The text was updated successfully, but these errors were encountered: