@remix-pwa/strategy
@remix-pwa/strategy
is a new package that was part of the sw
package in Remix PWA v2. It contains several APIs for caching with multiple strategies including cacheFirst
, networkFirst
, staleWhileRevalidate
and networkOnly
.
Installation
npm install @remix-pwa/strategy
API
Check out the repository for more information on when the docs would be available.