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
1 changed files with 1 additions and 1 deletions

View File

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