-
Notifications
You must be signed in to change notification settings - Fork 420
Closed
Description
Actually always add Cache-control and Expires headers.
If there is no Cache-Control header and no Expires header, and no Last-Modified header (which most web servers send by default for static assets) is never cached by the browser.
And Cache-Control (http 1.1) have preference over Expires (http 1.0)
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires
Note: If there is a Cache-Control header with the max-age or s-maxage directive in the response, the Expires header is ignored.
Any app using an API with Flight, also don't need these headers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels