-
Notifications
You must be signed in to change notification settings - Fork 87
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
Enable HTTP caching (adds Cache-Control and Vary headers, changes some APIs from POST to GET, replaces time= with tz=) #320
Open
da2x
wants to merge
9
commits into
jacobwb:master
Choose a base branch
from
da2x:webperf
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Dec 4, 2021
-
Enable HTTP caching for Count and Latest APIs
Static JavaScript assets (unless the admin changes settings) get 0:30–24:00 hour freshness with async revalidating. The related API responses get 2–58 second freshness, with caches retaining stale data for up to 5 min on server errors.
Configuration menu - View commit details
-
Copy full SHA for 9d01aa7 - Browse repository at this point
Copy the full SHA 9d01aa7View commit details -
HTTP request headers that influence the response needs to go in the Vary response header.
Configuration menu - View commit details
-
Copy full SHA for cedc888 - Browse repository at this point
Copy the full SHA cedc888View commit details -
Configuration menu - View commit details
-
Copy full SHA for b154ee4 - Browse repository at this point
Copy the full SHA b154ee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b2719b - Browse repository at this point
Copy the full SHA 7b2719bView commit details
Commits on Dec 5, 2021
-
Handle client time zones instead of deferring tz from time stamp
Replaces time request argument containing the client's current time with tz containing their time zone offset. Better for caching. Properly handles time zone-adjusting dates and time. Times are no longer off by up to a minute.
Configuration menu - View commit details
-
Copy full SHA for d717035 - Browse repository at this point
Copy the full SHA d717035View commit details -
Configuration menu - View commit details
-
Copy full SHA for 103b5e9 - Browse repository at this point
Copy the full SHA 103b5e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 788ea35 - Browse repository at this point
Copy the full SHA 788ea35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7668832 - Browse repository at this point
Copy the full SHA 7668832View commit details
Commits on Dec 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 55e6e82 - Browse repository at this point
Copy the full SHA 55e6e82View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.