aberth icon indicating copy to clipboard operation
aberth copied to clipboard

Caching responses in aberth

Open a13x opened this issue 11 years ago • 0 comments

Instead of leaving the caching handling to handlers, aberth can check if the response includes a caching directive and cache it internally.

It should be enough to add response check and store it. Then on subsequent calls return the cached response (if its still valid). Goal is to fully support caching as per BERT-RPC specification.

Start by implementing aberth_cache, with calls to store / retrieve cached responses. Caching should be {M,F,A} based, as the spec states.

a13x avatar Jan 20 '14 08:01 a13x