Sw Toolbox Versions Save

[Deprecated] A collection of service worker tools for offlining runtime requests

v3.6.1

7 years ago

This is a tag to make Bower happy. See #228.

v3.6.0

7 years ago

What's New?

TypeScript Typings

Courtesy of @tusharmath, there is now a index.d.ts file published as part of the npm package.

v3.5.0

7 years ago

What's New?

maxAgeSeconds and Fresh Responses

The 3.5.0 release brings with it a small change to how responses are retrieved from caches that have age-based expiration enabled, i.e. those that use the maxAgeSeconds parameter.

Previously, a response in such a cache would be considered valid, even if the resource was added to the cache longer than maxAgeSeconds seconds ago.

As of 3.5.0, the Date header of the cached response will be checked prior to it being used. If the Date header is present, and if the value corresponds to an time in the past more than maxAgeSeconds, then the response will not be considered valid, and the fallback behavior (usually, retrieving a new response from the network) will be used. If the Date header is not present, or if the response is determined to be "fresh" based on its age, the cached response will be used to satisfy the request.

Documentation & README Fixes

This release also includes a number of documentation-related fixes.

PRs Since Previous Release

Thanks

Thanks to @corburn and @DavidScales for their contributions!

v3.4.0

7 years ago

What's New?

The 3.4.0 release brings with it a few bug fixes, as well as a change to the JavaScript minification and source-map generation process.

Bugs Fixed

Significant PRs Since Previous Release

Thanks

Thanks to @samertm and @cvan for their contributions!

v3.3.0

7 years ago

What's New?

The 3.3.0 release features a number of improvements to the project's build, testing, and documentation process.

There are no meaningful changes to the developer-facing interface.