Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Added cache-control: private headers for all link redirects

Open cmraible opened this issue 1 year ago • 1 comments

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 avatar May 02 '24 06:05 cmraible

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.

cmraible avatar May 07 '24 17:05 cmraible

Closing for now as this would just add fuel to our redirect problem at the moment.

cmraible avatar Jun 11 '24 21:06 cmraible