Ghost/ghost/core/test/regression/api/admin
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
..
__snapshots__ Increased Vary granularity for versioned requests 2022-09-28 14:48:43 +08:00
authentication.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
db.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
identities.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
images.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members-importer.test.js Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
members-signin-url.test.js Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
notifications.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
pages.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
posts.test.js Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
redirects.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
schedules.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
slack.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
update-user-last-seen.test.js Renamed users:no-owner to users as main user fixture 2022-09-02 10:08:37 +01:00
users.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
utils.js Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
webhooks.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00