valeriansaliou / bloom

:cherry_blossom: HTTP REST API caching middleware, to be used between load balancers and REST API workers.

Home Page:https://crates.io/crates/bloom-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cache ETag Computations

valeriansaliou opened this issue · comments

Currently, when a HIT is served to a client, the ETag is re-processed from cached data and added back in the response headers.

There's a small performance penalty in doing this, so we'd better cache the ETag computation in the cache layer and serve it back directly from there.