-
SWR is a great tool and I want to use it as a low-level data fetching api in my application. As far as I know, SWR will cache data per different key. So I wonder if a lot of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think it doesn't have to matter in most cases, but It depends on how much you save data into your cache-store. SWR provides a way to create a custom cache. So you can implement an LRU cache if you want. https://swr.vercel.app/docs/advanced/cache The following is a related PR for this. |
Beta Was this translation helpful? Give feedback.
I think it doesn't have to matter in most cases, but It depends on how much you save data into your cache-store. SWR provides a way to create a custom cache. So you can implement an LRU cache if you want.
https://swr.vercel.app/docs/advanced/cache
The following is a related PR for this.
#92