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

Pegasus: vary page cache by country #26753

Merged
merged 1 commit into from Jan 26, 2019

Conversation

breville
Copy link
Member

No description provided.

@breville breville requested a review from wjordan January 25, 2019 22:15
default: {
headers: LANGUAGE_HEADER,
headers: LANGUAGE_HEADER + COUNTRY_HEADER,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is effectively the same as WHITELISTED_HEADERS but thought we might want to keep this separate in case that list grows in the future.

@breville
Copy link
Member Author

Copy link
Contributor

@wjordan wjordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 - let's keep an eye out for any increased load when deploying, since this change will send [number of countries] times more requests to the origin for each cached pegasus page, but I think the added load should be negligible.

@breville breville merged commit af36e5c into staging Jan 26, 2019
@breville breville deleted the pegasus-vary-page-cache-by-country branch January 26, 2019 00:26
breville added a commit that referenced this pull request Feb 7, 2019
This was made possible in Pegasus by #26753.
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.

None yet

2 participants