Skip to content
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

Ensure asset-manager redirects are cached #1980

Merged
merged 1 commit into from
Jan 14, 2021
Merged

Conversation

thomasleese
Copy link
Contributor

At the moment these redirects aren't cached which means that they won't be cached by Fastly and will always hit our origin. This PR should prevent this from happening and instead they'll be cached by Fastly for 1 day.

We should think about moving this code out of government-frontend and into Nginx, but that's a bigger change so this PR should help for now.

Trello Card

At the moment these redirects aren't cached which means that they won't
be cached by Fastly and will always hit our origin. This PR should
prevent this from happening and instead they'll be cached by Fastly for
1 day.
@bevanloon bevanloon temporarily deployed to government-f-asset-mana-wylbcl January 14, 2021 12:39 Inactive
@thomasleese thomasleese merged commit d59384c into master Jan 14, 2021
@thomasleese thomasleese deleted the asset-manage-redirect branch January 14, 2021 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants