Skip to content

Confusion about memory usage of cache #1943

Answered by koba04
yqz0203 asked this question in General
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yqz0203
Comment options

Answer selected by yqz0203
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants