Chrome 78 is rolling out now! You can now provide “types” for CSS variables. You get fresher service workers because byte-for-byte checks are now performed for scripts imported by
importScripts(). And I’ve got details for two new origin trials that provide some neat new functionality including the Native File System and the SMS Receiver. Plus the Chrome DevSummit is happening November 11-12, 2019. Let’s dive in and see what’s new for developers in Chrome 78!
HTTP requests that check for updates to the service worker script will no longer be fulfilled by the HTTP cache by default. This works around a common developer pain point, in which setting an inadvertent
Cache-Control header on your service worker script could lead to delayed updates. Also, updates to imported scripts can trigger the service worker update flow.
Background Fetch lets you handle large downloads, even if the browser closes.
Some small changes are coming to
importScripts(), starting in Chrome 71.
Building a Progressive Web App doesn't mean building a single page app! Read about alternative architectures for content-focused PWAs, and help you make the right decision for your specific use case.
navigator.storage.estimate() gives you insight into your web app's storage constraints.
Navigation preload lets you overcome service worker startup time by making requests in parallel.
With Chrome 54, you can now create your own custom HTML tag with and make re-usable web components with Custom Elements v1; it’s easier to send messages between open windows or tabs on the same origin with the
BroadcastChannel API; media experience get better on Android and foreign fetch is now available as an origin trial.
Third-party services can start deploying their own network request handlers.
The full set of
CacheQueryOptions are supported, making it easier to find the cached responses you're looking for.
The sw-offline-google-analytics library gives you everything you need.
Goodbye Short Sessions: A Proposal for Using Service Workers to Improve Cookie Management on the Web
Introducing a proof of concept design to persist sessions using the Service Worker.
Start processing your service worker responses ASAP, thanks to ReadableStreams.
Learn how to get started building Progressive Web Apps
Background sync is a new web API that lets you defer actions until the user has stable connectivity. This is useful for ensuring that whatever the user wants to send, is actually sent.
Application shell architecture is a method of building progressive web apps today, taking advantage of a range of technologies.
Chrome 46 brought new methods to caches, as does Chrome 47, and probably 48. It never stops.
If you can't measure the performance of your requests in a service worker, how can you say it improves performance? Now you can answer that question with recent changes in Chrome.
Push Messaging and Notifications are Landing in Chrome 42.
Add service worker-powered offline capabilities to your site with the sw-precache module.
Here's the first in a series of reports from Chrome Dev Summit. There was a strong emphasis on Mobile and Cross-device development, so we'll kick off with that!