This repository has been archived by the owner on May 17, 2019. It is now read-only.
Releases: fusionjs/fusion-plugin-service-worker
Releases · fusionjs/fusion-plugin-service-worker
v2.0.1-2
v2.0.1-1
Changelog
No pull requests in this release
v2.0.1-0
Changelog
No pull requests in this release
v2.0.0-debug
Changelog
No pull requests in this release
v2.0.0
v2.0.0-1
Changelog
No pull requests in this release
v2.0.0-0
Changelog
Highlighted Changes
- Support regex matching for a) cache-busting resource names b) routes names that will bypass for network (#145)
Other Changes
Migration Guide
###Changes to expected SWOptionsToken values
Before:
type Options = {
cacheInvalidatingPatterns?: Array<string>,
maxCacheDurationMs?: number,
};
After:
-
maxCacheDurationMs
is renamed tocacheDuration
-
cacheInvalidatingPatterns
is nowcacheBustingPatterns
and takes an array of regular expressions instead of an array of strings -
cacheableRoutePatterns
is an additional option--when present, html requests that do not match at least one of these regular expression will bypass the Service Worker and always hit the network directly.
type Options = {
cacheableRoutePatterns?: Array<RegExp>,
cacheBustingPatterns?: Array<RegExp>,
cacheDuration?: number,
};
v1.3.1-1
Changelog
No pull requests in this release
v1.3.1-0
Changelog
No pull requests in this release
v1.3.1-debug
Changelog
No pull requests in this release