Comparing version 1.0.9 to 1.0.10
@@ -47,3 +47,3 @@ const fs = require('fs'); | ||
headers = toHeaders(name, stats, isEtag); | ||
headers['Cache-Control'] = 'no-store'; | ||
headers['Cache-Control'] = isEtag ? 'no-cache' : 'no-store'; | ||
return { abs, stats, headers }; | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "sirv", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "The optimized & lightweight middleware for serving requests to static assets", | ||
@@ -27,3 +27,3 @@ "repository": "lukeed/sirv", | ||
}, | ||
"gitHead": "25974174e9c5703138401c07e4036175cc7558f8" | ||
"gitHead": "cf787b986cd5422fd3b743132189a7a7457e4cf9" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21565