@quintype/framework 7.23.2-update-cache-headers.2 → 7.23.2-update-cache-headers.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/constants.js CHANGED
@@ -1 +1,3 @@
1
- export const STALE_IF_ERROR_CACHE_DURATION = 14400;
1
+ const STALE_IF_ERROR_CACHE_DURATION = 14400;
2
+
3
+ module.exports = { STALE_IF_ERROR_CACHE_DURATION }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.23.2-update-cache-headers.2",
3
+ "version": "7.23.2-update-cache-headers.5",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -172,7 +172,7 @@ exports.handleIsomorphicShell = async function handleIsomorphicShell(
172
172
  ).then((result) => {
173
173
  res.status(200);
174
174
  res.setHeader("Content-Type", "text/html");
175
- res.setHeader("Cache-Control", "public,max-age=900,stale-while-revalidate=1500,stale-if-error=28800");
175
+ res.setHeader("Cache-Control", "public,max-age=450,stale-while-revalidate=1500,stale-if-error=28800");
176
176
  res.setHeader("Vary", "Accept-Encoding");
177
177
 
178
178
  if (preloadJs) {