An implementation of "stale-while-revalidate" caching policy
npm install stale-while-revalidateAn implementation of "stale-while-revalidate" caching policy.
Wrap a stateless async function with "stale-while-revalidate" caching policy.
* statelessAsyncFunction A stateless async function.
* stale Max age of stale content.
* maxAge Max age of cache.