mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03:00
8cbf913582
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 |
||
---|---|---|
.. | ||
__snapshots__ | ||
create-stripe-checkout-session.test.js | ||
middleware.test.js | ||
send-magic-link.test.js | ||
signin.test.js | ||
webhooks.test.js | ||
well-known.test.js |