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: when a site have `dont cache` flag the request rejected

tupe12334 opened this issue · comments

Describe the bug

I tried to use the interceptor on https://www.iposcoop.com/ipo/cytomed-therapeutics-pte-ltd/ but the site have a dont cache flag, instead of just don't use the cache, the lib rejects the request

if (expirationTime === 'dont cache') {

Expected behavior

The request should work properly but just ignore the cache

Hey @tupe12334. Tried to reproduce this issue again and it does not seems to be a bug. I'll close this issue for housekeep purposes. Feel free to reopen it if you need to!