-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide Last-Modified headers (or Etag) #3
Comments
Adding that header was up on my todo list after I ran the lighthouse test on the site. I am a little busy right now, will work on it after a day or two. |
No worries - if you don't get to it, I'll probably have some time soon. I just wanted to put in an issue so I remember |
Addressed in #5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should provide a
Last-Modified
header which pulls its value from the paste file modification time (for pastes) or from the binary's compilation date (for CSS, JS, etc). This would allow CDN caches to revalidate simply by checking theLast-Modified
date without actually transferring the body of the paste - especially good for images or large files accessed periodically.Alternately we could provide an
Etag
header pulling from the current Git commit hash for CSS and JS, and from a cryptographic digest of the paste file for pastes.The text was updated successfully, but these errors were encountered: