July 2018
Intermediate to advanced
354 pages
8h 51m
English
When precaching application assets, there are certain assets you know will be used rather quickly or frequently. You can consider these mission-critical. And while the initial page load or app shell load may trigger network requests for these assets, causing them to be cached, there will probably be other assets that you want to ensure are cached early in the application-loading process:

These assets should be precached as a dependency of the install event completing. In other words, these assets must complete caching before the install event closes, which means you should use the event.waitUntil method to hold the ...
Read now
Unlock full access