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
Here in the FAQ it says that you don't use Last-Modified headers in order to prevent 304 requests, however if you take a look at the headers it actually does include Last-Modified:
The Last-Modified is inserted by Cloudflare, and I do not see any If-Modified-Since-requests at our servers. So it seems that Cloudflare is intercepting these requests.
I guess the Vary: Accept-Encoding header is added by Cloudflare as well? Since I don't think you use any encoding.
Chrome will just ignore the immutable directive so you could add it, but it probably won't have much benefit either. Otherwise you can just close this issue and I'll reopen it if the situation changes.
https://images.weserv.nl/faq/#why-am-i-not-seeing-any-http-304-header-when-i-request-a-cached-image
Here in the FAQ it says that you don't use
Last-Modified
headers in order to prevent 304 requests, however if you take a look at the headers it actually does includeLast-Modified
:https://redbot.org/?uri=https%3A%2F%2Fimages.weserv.nl%2F%3Furl%3Dimages.weserv.nl%2Flichtenstein.jpg
Is it supposed to be like that?
Also there's a new way to prevent 304 requests that you aren't using yet, which is adding immutable to the
Cache-Control
header.The only downside is that Chrome doesn't support it yet and it's taking them a really long time (see http://bugs.chromium.org/p/chromium/issues/detail?id=611416), but it might be a good idea to add it anyway.
The text was updated successfully, but these errors were encountered: