-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hello,
It seems like HTTP caching headers could score you some very cheap, significant wins.
I saw Cache-Control already returns immutable, I think you could probably push that to public, max-age=31536000, immutable, as well as providing ETag, Last-Modified and Expires.
There are more cases where those can be returned as well, I think that any response for which a NAR was successfully fetched, so directory listing, redirects, but also 404s when a file was not found.
MDN has a great resource about this: https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
Pretty cool project!
Bests
zimbatm and szlend
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request