-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Feature request
This may be counter to the philosophy of this library, but I thought I'd check.
I'd like to cache my data for a specific amount of time in Local Storage, e.g. 24 hours, and only revalidate after that TTL expires.
I found the docs for Local Storage based cache.
I scoured the Options and it looks like I could turn off all the revalidate*** options, but I'm not sure if there's a way to keep track of how old cached items are, and revalidate when expired. It'd be amazing if this was a built in feature.
Reactions are currently unavailable