cacheable-response
Advanced tools
Comparing version
@@ -5,2 +5,9 @@ # Changelog | ||
### [2.1.5](https://github.com/Kikobeats/cacheable-response/compare/v2.1.4...v2.1.5) (2020-08-31) | ||
### Bug Fixes | ||
* avoid caching redirect under force ([4d9830b](https://github.com/Kikobeats/cacheable-response/commit/4d9830b84d2a422c097c4bd436b27f9c261e9c76)) | ||
### [2.1.4](https://github.com/Kikobeats/cacheable-response/compare/v2.1.3...v2.1.4) (2020-08-25) | ||
@@ -7,0 +14,0 @@ |
@@ -121,3 +121,3 @@ 'use strict' | ||
if (!isModified) { | ||
if (!hasForce && !isModified) { | ||
res.statusCode = 304 | ||
@@ -124,0 +124,0 @@ res.end() |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/cacheable-response", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"main": "index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
35009
0.79%