Ghost/ghost/core/test/regression/api/content
Naz 7b009bf1fe Enabled shared caching of 404 error responses
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)
2022-09-26 14:54:50 +08:00
..
authors.test.js Renamed users:no-owner to users as main user fixture 2022-09-02 10:08:37 +01:00
pages.test.js Enabled shared caching of 404 error responses 2022-09-26 14:54:50 +08:00
posts.test.js Enabled shared caching of 404 error responses 2022-09-26 14:54:50 +08:00
tags.test.js Renamed users:no-owner to users as main user fixture 2022-09-02 10:08:37 +01:00
utils.js Added comment property to posts in Content API 2022-07-28 14:55:53 +01:00