molecule icon indicating copy to clipboard operation
molecule copied to clipboard

Optionally exclude some body types from generating an Etag

Open testinfected opened this issue 10 years ago • 0 comments

Make ETag middleware configurable with a list of body types considered not cacheable. When we encounter one of those bodies, we won't generate an ETag,

Something like:

new ETag().exclude(FileBody.class)

testinfected avatar Oct 15 '14 02:10 testinfected