mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +03:00
4528cba1b9
refs https://github.com/TryGhost/Toolbox/issues/410 - Private cache control was preventing browser or shared caches from storing Content APIs response. The type of data served through the Content API is very much of a "public" nature, so should be cacheable. - Right now the 'max-age' value of 'cache-control' header is hardcoded to '0', without 'must-revalidate' value, to allow browsers to cache content slightly more aggressively. In the future the 'max-age' value will most-likely become configurable to allow even more aggressive HTTP caching. |
||
---|---|---|
.. | ||
__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 |