Skip to content

Commit

Permalink
Removing private from nonCachable regex because it's not for the …
Browse files Browse the repository at this point in the history
…destination (just intermediate caches)
  • Loading branch information
avoidwork committed Jul 30, 2017
1 parent 7e84136 commit 1232936
Show file tree
Hide file tree
Showing 3 changed files with 959 additions and 108 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/
nonCachable: /(no-cache|no-store)/
};

function clone (arg) {
Expand Down
Loading

0 comments on commit 1232936

Please sign in to comment.