What’s new in Workbox 3?
The stable release of Workbox 3.0 came in March (we’re now on 3.1), and as you’d expect from a major release, brought both numerous changes and new features. The CDN which we used earlier is introduced with Workbox 3.0, making it easier to get up and running with Workbox and reducing the resource consumption from your own hosting. Debug logging is also greatly improved, with logging enabled by default when Workbox is used from localhost as you probably will when you start developing with it. Alongside this, the payload of Workbox has been optimised, and it’s now set up to avoid downloading features which you’re not using. As a result, there are a number of breaking changes compared to version 2. Chances are, this probably won’t be a huge issue since Workbox is relatively new and you’re probably not using it in production. Nonetheless, Google provide a comprehensive guide on migrating from v2 to v3 on their developer pages.