Skip to content

@vite-pwa/workbox-swkit/cacheable-response ​

Package

Declaration: @vite-pwa/workbox-swkit/cacheable-response

Class Summary ​

TypeDescription
CacheableResponse This class allows you to set up rules determining what status codes and/or headers need to be present in order for a Response to be considered cacheable.
CacheableResponsePlugin A class implementing the cacheWillUpdate lifecycle callback. This makes it easier to add in cacheability checks to requests made via Workbox's built-in strategies.

Interface Summary ​

TypeDescription
CacheableResponseOptions

Released under the MIT License.