lisaogren / axios-cache-adapter

Caching adapter for axios. Store request results in a configurable store to prevent unneeded network requests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set max-age according to the response

sayginburak opened this issue · comments

Firstly, I know about parameters for setting the max-age according to cache-control header. But what I mean is different. I want to look at the response itself and decide how much time I want to cache this response acording to the data in the response. Is this possible to do?