Ghost/ghost/core/test/unit/server/services
Naz 8cbf913582 Increased Vary granularity for versioned requests
refs https://github.com/TryGhost/Toolbox/issues/425
refs https://github.com/TryGhost/Toolbox/issues/280

- The versioned API responses vary based on requested version (passed in request's 'accept-version' header). shared caches that sit between Ghost's origin server and the browser would be putting responses with same Vary into the same caching bucket, which is incorrect.
- This change makes response's Vary more granular and tells caching mechanisms to take 'Accept-Version' request header into account when caching.
- Informative read on the topic - https://www.fastly.com/blog/getting-most-out-vary-fastly
2022-09-28 14:48:43 +08:00
..
adapter-manager Added JSDoc to adapter options resolver 2022-09-06 17:51:57 +08:00
api-version-compatibility Increased Vary granularity for versioned requests 2022-09-28 14:48:43 +08:00
auth Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
custom-redirects Renamed redirects to custom-redirects 2022-09-14 13:24:17 -04:00
frontend-data-service Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
mail Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
mega Added link tracking to paywall (#15414) 2022-09-16 10:08:12 +02:00
members Replaced all 'bio' references with 'expertise' for member comments. (#15359) 2022-09-09 10:14:49 +02:00
newsletters Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
notifications Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
permissions Removed defunct applyPublicRules code 2022-09-09 17:14:15 +01:00
posts Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
route-settings Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings-helpers 🐛 Fixed sending emails from email domain that includes www subdomain (#15348) 2022-09-02 16:57:59 +02:00
staff Updated staff service to trigger alerts via events 2022-09-10 11:06:34 +05:30
stripe Removed apiVersions from test urlUtils 2022-09-09 13:32:30 +01:00
themes Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
url Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
users Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
webhooks Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
labs.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
limits.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
nft-oembed.test.js 🐛 Fixed OpenSea NFT OEmbeds (#15372) 2022-09-06 11:29:35 -04:00
slack.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
xmlrpc.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00