Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.
Is there already a mechanism for serving files with the ETag header properly set?
Given the cost of computing the ETag (likely a hash of the file) I think this should be an opt-in feature.
To amortize the cost of hashing, we may want to leverage FileSystemWatcher.
If not, happy to send a PR with a bit of design direction.
Is there already a mechanism for serving files with the ETag header properly set?
Given the cost of computing the ETag (likely a hash of the file) I think this should be an opt-in feature. To amortize the cost of hashing, we may want to leverage
FileSystemWatcher
.If not, happy to send a PR with a bit of design direction.