WORKBOX

Web Designer - - 20 Hot Tools To Try Today -

https://de­vel­op­ers.google.com/ web/tools/workbox

Ser­vice work­ers are among the most ex­cit­ing new tech­nolo­gies on the web. They al­low mod­ern web apps to store re­sources lo­cally and pro­vide off­line func­tion­al­ity. How­ever, if you’ve tried work­ing with them, you’ll rapidly find that main­tain­ing caches prop­erly is a com­plex prob­lem. This is where Workbox comes in. It is a set of build tools and li­braries de­signed to make it eas­ier to cre­ate ser­vice work­ers and hence eas­ier to build off­line apps. In sim­ple terms, you tell it which re­sources you want to cache and it will gen­er­ate the ser­vice worker code re­quired to cache and up­date your re­sources. As you be­gin to build more com­plex sites with off­line fea­tures, this ab­strac­tion is likely to make your life a lot eas­ier.

Newspapers in English

Newspapers from UK

© PressReader. All rights reserved.