| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| workbox-v3.6.1.zip | 2018-09-19 | 158.0 kB | |
| workbox-v3.6.1.tar.gz | 2018-09-19 | 102.4 kB | |
| README.md | 2018-09-19 | 1.8 kB | |
| Workbox v3.6.1 source code.tar.gz | 2018-09-19 | 531.5 kB | |
| Workbox v3.6.1 source code.zip | 2018-09-19 | 875.1 kB | |
| Totals: 5 Items | 1.7 MB | 0 | |
🎉 What's New?
Added the disable() method to workbox.navigationPreload
workbox.navigationPreloadprovides anenable()method to enable navigation preload, but it did not provide a way to disable it (without invoking the underlying service worker APIs). Now developers can callworkbox.navigationPreload.disable()to disable navigation preload. (#1651)
The method option can now be used for runtime caching via generateSW()
- Incorrect validation logic was preventing the
methodoption from being used by runtime caching configuration ingenerateSW(). Thanks to @chrisdns, this has been fixed! (#1638)
Bug fixes and ergonomic improvements
- Using
workbox.expiration.PluginwithpurgeOnQuotaErrorset totruewould result in an error. Thanks to @salmoro for discovering and fixing the issue! (#1643). - Plugin lifecycle callbacks previously were not called with the
eventthat triggered them, so developers writing custom plugins could not access any information about the event in those callback. Now all plugin callback are passed the event object (when available). (#1640) - The
workbox-streamspackage'sstrategy()method is exposed on the browser build ofworkbox.streamsthat gets loaded by theworkbox-swloader, but it wasn't exported by the module in a way that was accessible to module bundlers. Now it's possible to import{strategy}fromworkbox-streams/strategy.mjs. (#1635).
📖 Learn More
Check out our docs @ developers.google.com/web/tools/workbox/