You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating to axios-cache-interceptor from axios cache-adapter.
What is the interceptor equivalent of cache: { // Invalidate only when a specific option is passed through config invalidate: async (config, request) => { if (request.clearCacheEntry) { await config.store.removeItem(config.uuid) } } }
?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm migrating to axios-cache-interceptor from axios cache-adapter.
What is the interceptor equivalent of
cache: { // Invalidate only when a specific option is passed through config invalidate: async (config, request) => { if (request.clearCacheEntry) { await config.store.removeItem(config.uuid) } } }
?
Beta Was this translation helpful? Give feedback.
All reactions