arthurfiorette / axios-cache-interceptor

📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!

Home Page:https://axios-cache-interceptor.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: TTL doesn't work

yidongw opened this issue · comments

What happened?

cache with expired TTL is not deleted

axios-cache-interceptor version

v1.3.0

Node / Browser Version

v16.20.0

Axios Version

v1.4.0

What storage is being used

Memory Storage

Relevant debugging log output

cache with expired TTL is not deleted

https://axios-cache-interceptor.js.org/guide/storages#memory-storage.

cleanupInterval: The interval in milliseconds to run a setInterval job of cleaning old entries. If false, the job will not be created. Disabled is default