cacheable-response
Advanced tools
Comparing version
@@ -5,2 +5,4 @@ # Changelog | ||
### [2.1.11](https://github.com/Kikobeats/cacheable-response/compare/v2.1.10...v2.1.11) (2021-04-05) | ||
### [2.1.10](https://github.com/Kikobeats/cacheable-response/compare/v2.1.9...v2.1.10) (2021-04-01) | ||
@@ -7,0 +9,0 @@ |
@@ -38,3 +38,3 @@ 'use strict' | ||
let cacheControl = `public, must-revalidate, max-age=${maxAge}, s-maxage=${maxAge}` | ||
let cacheControl = `public, must-revalidate, max-age=${maxAge}` | ||
@@ -41,0 +41,0 @@ if (revalidation) { |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/cacheable-response", | ||
"version": "2.1.10", | ||
"version": "2.1.11", | ||
"main": "index.js", | ||
@@ -100,3 +100,3 @@ "author": { | ||
"lint": "standard-markdown README.md && standard", | ||
"postrelease": "npm run release:tags && npm run release:github && ci-publish", | ||
"postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)", | ||
"prerelease": "npm run update:check && npm run contributors", | ||
@@ -103,0 +103,0 @@ "pretest": "npm run lint", |
@@ -87,3 +87,3 @@ # cacheable-response | ||
HTTP/2 200 | ||
cache-control: public, max-age=7200, s-maxage=7200, stale-while-revalidate=300 | ||
cache-control: public, max-age=7200, stale-while-revalidate=300 | ||
ETag: "d-pedE0BZFQNM7HX6mFsKPL6l+dUo" | ||
@@ -98,4 +98,3 @@ x-cache-status: MISS | ||
HTTP/2 200 | ||
cache-control: public, max-age=7170 | ||
cache-control: public, max-age=7170, s-maxage=7170, stale-while-revalidate=298 | ||
cache-control: public, max-age=7170, stale-while-revalidate=298 | ||
ETag: "d-pedE0BZFQNM7HX6mFsKPL6l+dUo" | ||
@@ -252,3 +251,3 @@ x-cache-status: HIT | ||
HTTP/2 200 | ||
cache-control: public, max-age=7200, s-maxage=7200, stale-while-revalidate=300 | ||
cache-control: public, max-age=7200, stale-while-revalidate=300 | ||
ETag: "d-pedE0BZFQNM7HX6mFsKPL6l+dUo" | ||
@@ -264,3 +263,3 @@ x-cache-status: MISS | ||
HTTP/2 200 | ||
cache-control: public, max-age=7200, s-maxage=7200, stale-while-revalidate=300 | ||
cache-control: public, max-age=7200, stale-while-revalidate=300 | ||
ETag: "d-pedE0BZFQNM7HX6mFsKPL6l+dUo" | ||
@@ -267,0 +266,0 @@ x-cache-status: MISS |
35188
0.05%304
-0.33%