helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.44k stars 562 forks source link

Add support for "shallow" ETags #8911

Open tvallin opened 6 days ago

tvallin commented 6 days ago

Environment Details


Problem Description

Create a Etag Header filter that caches the content written to the response and calculate Hash from it. On the next request it does the same and compares the computed value against If-None-Match header value and return 304 status code if they match