stale-while-revalidate-cache icon indicating copy to clipboard operation
stale-while-revalidate-cache copied to clipboard

Support additional persisting options on persist static method

Open enzolupia opened this issue 1 year ago • 0 comments

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.

enzolupia avatar Jul 05 '24 14:07 enzolupia