SWR library with ServiceWorker’s SWR caching strategy #585
Unanswered
o-alexandrov
asked this question in
General
Replies: 1 comment 5 replies
-
I think except you want offline support there is no need to add a Service Worker to cache the requests, because now you have to deal with two caches instead of only one |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Have you successfully implemented:
I’ve used workbox StaleWhileRevalidate caching strategy with swr library, but stumbled upon an issue with useSwrInfinite:
I will explore it more, but if anyone has successfully implemented it, it’d be great to hear your story
Beta Was this translation helpful? Give feedback.
All reactions