What’s new in Work­box 3?

Web Designer - - Build Progressive Web Apps With Workbox -

The sta­ble re­lease of Work­box 3.0 came in March (we’re now on 3.1), and as you’d ex­pect from a ma­jor re­lease, brought both nu­mer­ous changes and new fea­tures. The CDN which we used ear­lier is in­tro­duced with Work­box 3.0, mak­ing it eas­ier to get up and run­ning with Work­box and re­duc­ing the re­source con­sump­tion from your own host­ing. De­bug log­ging is also greatly im­proved, with log­ging en­abled by de­fault when Work­box is used from lo­cal­host as you prob­a­bly will when you start de­vel­op­ing with it. Along­side this, the pay­load of Work­box has been op­ti­mised, and it’s now set up to avoid down­load­ing fea­tures which you’re not us­ing. As a re­sult, there are a num­ber of break­ing changes com­pared to ver­sion 2. Chances are, this prob­a­bly won’t be a huge is­sue since Work­box is rel­a­tively new and you’re prob­a­bly not us­ing it in pro­duc­tion. None­the­less, Google pro­vide a com­pre­hen­sive guide on mi­grat­ing from v2 to v3 on their de­vel­oper pages.

Newspapers in English

Newspapers from UK

© PressReader. All rights reserved.