express
express copied to clipboard
Disable ETag for `res.sendFile()`
res.sendFile()
accepts an option to disable ETags. It would make sense that app.disable('etag')
sets sendFile()
s options.etag
to false
for you. This is a breaking change so it would have to wait for 5.x
.
@ritch did this make it into 5.x already?
Hi @ilanbiala you can look at #2237 to see what has been checked off. The answer for this is no, especially since there is not hard date for 5.0 yet.