mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
7b009bf1fe
refs https://github.com/TryGhost/Toolbox/issues/410 - The 'private' value in 'Cache-Control' response header for all errors made it impossible for shared caches (e.g.: Fastly, Cloudflare) to cache 404 responses efficiently. - The change substitutes 'max-age=0' which should not effect the browser cache behavior but would allow shared caches to process such requests efficiently. - A more loose caching logic only applies to 404 responses from GET requests that are not user-specific (non-authenticated, non-cookie containing requests) |
||
---|---|---|
.. | ||
__snapshots__ | ||
authors.test.js | ||
key_authentication.test.js | ||
newsletters.test.js | ||
offers.test.js | ||
pages.test.js | ||
posts.test.js | ||
settings.test.js | ||
tags.test.js | ||
tiers.test.js | ||
utils.js |