perf: use non weak etags as default

Calculation is always the same. This helps browsers caching responses for a longer term
This commit is contained in:
Pooya Parsa 2018-01-05 01:43:59 +03:30
parent 42807fcdf9
commit aef2199402

View File

@ -275,7 +275,7 @@ Options.defaults = {
threshold: 0 threshold: 0
}, },
etag: { etag: {
weak: true // Faster for responses > 5KB weak: false
} }
}, },
watchers: { watchers: {