stale-while-revalidate-cache
stale-while-revalidate-cache copied to clipboard
Support additional persisting options on persist static method
Motivation
Allow defining custom options for manual data persisting.
Example scenario:
A developer may not want to expose globally both SWR and Cache Storage, but still need to persist data with different ttl or other configurations.