have the reach of the web, and are: - Reliable - Load instantly and never show the dinosaur, even in uncertain network conditions. - Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. - Engaging - Feel like a natural app on the device, with an immersive user experience.
Static files with staticFileGlobs option. - Here, you pass in your static files location. > Use the power of sw-toolbox to cache runtime requests. - Here, we’re passing in two handlers (fastest and networkFirst) with urlPattern(s). It can actually take more with other handlers like cacheFirst, cacheOnly and networkOnly.
a manifest.json file just to make sure everything looks pretty nice on mobile. > Include in our html file like: <link rel="manifest" href="/static/manifest.json"> Note: Web app manifests provide the ability to save a site bookmark to a device's home screen. With Web app manifests, you could: - Add a unique icon / splash screen and name so that users can distinguish it from other sites. - Provide default display characteristics to the browser to avoid too abrupt transition when site resources become available.