Skip to content

RangeRequestsPlugin ​

Class @vite-pwa/workbox-swkit/range-requests

The range request plugin makes it easy for a request with a 'Range' header to be fulfilled by a cached response.

It does this by intercepting the cachedResponseWillBeUsed plugin callback and returning the appropriate subset of the cached response body.

Constructor ​

ts
new RangeRequestsPlugin()

Released under the MIT License.