Ghost/ghost/core/test/unit/server
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
..
adapters Added basic memory cache storage implementation 2022-08-05 02:28:33 +12:00
data Added referrer attribution columns to events table (#15436) 2022-09-21 19:01:36 +05:30
lib Added rendering of posts.lexical to posts.html when saving (#15416) 2022-09-15 16:49:14 +01:00
models Wired up creation of post_revisions entries when saving posts with lexical (#15422) 2022-09-16 11:59:35 +01:00
services Increased Vary granularity for versioned requests 2022-09-28 14:48:43 +08:00
web Moved Cache-Control middleware to separate package 2022-08-11 14:14:20 +02:00
notify.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
overrides.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00