generated from amattu2/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
E-Tag Support #14
Labels
enhancement
New feature or request
Comments
|
amattu2
added a commit
that referenced
this issue
Feb 12, 2023
amattu2
added a commit
that referenced
this issue
Feb 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Add support for HTTP E-Tag headers. Use a quick hash mechanism comprised of the generation attributes (e.g. width/height/colors). Additionally, force Cloudflare to cache based on the E-Tag, not query params.
Code
e.g.
https://github.com/wtg/shuttletracker/blob/cb43c44a4d1dc08f0c8d699f094d6b05a2541c33/api/etag.go#L35
Design Preview(s)
N/A
The text was updated successfully, but these errors were encountered: