Skip to content

Commit

Permalink
Removing must-revalidate from nonCachable
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Jul 27, 2017
1 parent 62e3228 commit 7e84136
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/etag.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const lru = require("tiny-lru"),
etag: /ETag:\s/i,
invalid: /^(a|cache|connection|content-(d|e|l|m|r)|d|ex|l|p|r|s|t|u|v|w|x)/,
valid: /^(200|304)$/,
nonCachable: /no-cache|no-store|private|must-revalidate/
nonCachable: /no-cache|no-store|private/
};

function clone (arg) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tiny-etag",
"version": "1.3.5",
"version": "1.3.6",
"description": "ETag middleware",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7e84136

Please sign in to comment.