-
Notifications
You must be signed in to change notification settings - Fork 601
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
Invalidate CDN caches after uploading database dump #6656
Commits on Jun 21, 2023
-
Implement cache invalidations on Fastly
An implementation for cache invalidations on Fastly has been added. Specific paths can be invalided using Fastly's cached URL endpoint, but this does not support wildcard invalidations. Documentation on Fastly's invalidation API can be found here: https://developer.fastly.com/reference/api/purging/
Configuration menu - View commit details
-
Copy full SHA for 2fc6b7c - Browse repository at this point
Copy the full SHA 2fc6b7cView commit details -
Invalidate CDN caches after uploading database dump
After uploading a new version of the database dump, the cached version needs to be invalidated in CloudFront and Fastly.
Configuration menu - View commit details
-
Copy full SHA for 642383d - Browse repository at this point
Copy the full SHA 642383dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cecb3cd - Browse repository at this point
Copy the full SHA cecb3cdView commit details -
Warn instead of panicking when invalidations fail
When invalidating a CDN fails, we want to log a warning and continue execution. This ensures that invalidations against all CDNs are attempted.
Configuration menu - View commit details
-
Copy full SHA for 7bd880d - Browse repository at this point
Copy the full SHA 7bd880dView commit details -
Get Fastly instance from environment
An instance of the Fastly struct has been added to the `Environment` so that it can be shared between jobs.
Configuration menu - View commit details
-
Copy full SHA for 8900804 - Browse repository at this point
Copy the full SHA 8900804View commit details -
Optionally invalidate the Fastly cache
If the API token for Fastly is missing in the environment, skip invalidating the cache there. This makes it possible to opt-in to the new feature.
Configuration menu - View commit details
-
Copy full SHA for 4e0443d - Browse repository at this point
Copy the full SHA 4e0443dView commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4d62067 - Browse repository at this point
Copy the full SHA 4d62067View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2bea23 - Browse repository at this point
Copy the full SHA b2bea23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 274c083 - Browse repository at this point
Copy the full SHA 274c083View commit details