cacheable-response
Advanced tools
Comparing version 1.1.6 to 1.2.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/Kikobeats/cacheable-response/compare/v1.1.6...v1.2.0) (2019-03-12) | ||
### Features | ||
* add must-revalidate directive ([0ca286f](https://github.com/Kikobeats/cacheable-response/commit/0ca286f)) | ||
<a name="1.1.6"></a> | ||
@@ -7,0 +17,0 @@ ## [1.1.6](https://github.com/Kikobeats/cacheable-response/compare/v1.1.5...v1.1.6) (2019-03-04) |
@@ -33,3 +33,3 @@ 'use strict' | ||
'Cache-Control', | ||
`public, max-age=${maxAge}, s-maxage=${maxAge}, stale-while-revalidate=${ | ||
`public, must-revalidate, max-age=${maxAge}, s-maxage=${maxAge}, stale-while-revalidate=${ | ||
hasForce ? 0 : toSeconds(revalidate(ttl)) | ||
@@ -36,0 +36,0 @@ }` |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/cacheable-response", | ||
"version": "1.1.6", | ||
"version": "1.2.0", | ||
"main": "index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
@@ -261,2 +261,3 @@ # cacheable-response | ||
- [The Benefits of Microcaching, by NGINX](https://www.nginx.com/blog/benefits-of-microcaching-nginx/). | ||
- [Cache-Control for Civilians, by Harry Robert](https://csswizardry.com/2019/03/cache-control-for-civilians/) | ||
@@ -263,0 +264,0 @@ ## License |
18419
269