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

Added cache-control: private headers for all link redirects #20117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cmraible
Copy link
Contributor

@cmraible cmraible commented May 2, 2024

ref https://linear.app/tryghost/issue/ENG-883/add-cache-control-private-headers-to-the-link-redirects

  • Link redirects shouldn't be cached because we record which member clicked the link on the redirect
  • This PR adds cache-control: private headers to all link redirects to prevent them from being cached

ref https://linear.app/tryghost/issue/ENG-883/add-cache-control-private-headers-to-the-link-redirects

- Link redirects shouldn't be cached because we record which member clicked the link on the redirect
- This PR adds cache-control: private headers to all link redirects to prevent them from being cached
@cmraible cmraible force-pushed the chris-eng-883-add-cache-control-private-headers-to-the-link-redirects branch from 00674f4 to 198b88e Compare May 2, 2024 21:04
@cmraible
Copy link
Contributor Author

cmraible commented May 7, 2024

PR ready to go, just waiting to merge because I have a larger change in the same area going in soon and I don't want to skew my validation results by making two changes at the same time.

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

1 participant