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
Hello,
It seems like HTTP caching headers could score you some very cheap, significant wins.
I saw
Cache-Controlalready returnsimmutable, I think you could probably push that topublic, max-age=31536000, immutable, as well as providingETag,Last-ModifiedandExpires.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