At Chrome Dev Summit in San Francisco today, Google shared its latest vision for the web. First, the company is trying to make loading disappear via instantaneous experiences. The company demoed Web Bundles, a new platform primitive that lets developers distribute their content across any format without a constant connection, and Portals, an experimental API that lets developers instantly give users access to their web experiences. Secondly, Google wants to have Chrome offer native app-like experiences. The Background Sync API will proactively cache web content and SMS Retriever adds two-factor SMS functionality to web apps.
With over 1 billion users, Chrome is both a browser and a major platform that web developers must consider. In addition to updates to the browser, however, Google also shared some resources for developers. The company today released the first 17 chapters of The Web Almanac, a holistic look at web performance and trends. Google says it collaborated with several experts to highlight the health of the web.
Dion Almaer, Google director of engineering, said the company wants to “make loading disappear, for all our users.” At its I/O 2019 developers conference in May, Google previewed Portals, which allows you to create seamless navigation experiences by pre-rendering content.
Portals is now available behind a flag in Chrome. Google already has some early partners trying Portals on their sites — Fandango is one:
Web Bundles, now available behind an experimental flag, aims to let you distribute your web content across any format — email, FTP, or even USB. This means delivery of web content at faster speeds or even distribution when your user is offline. Google expects that through APIs like Background Periodic Sync and Content Indexing, developers will also be able to proactively cache and surface relevant web content even if you’re not on an active internet connection. Both APIs are now available as origin trials.
Native app-like experiences
In response to the mobile-first web in developing markets, Google wants to help developers create native-like experiences. The company is thus bringing primitives to web, including (available as an origin trial in Chrome):
- SMS Receiver, which will let web apps retrieve two-factor SMS messages.
- Contact Picker, which will let users share web content to their contact lists, bringing social media and communication capabilities to web apps.
- Native File System API, which lets web apps read or save changes directly to files and folders on your device. This lets developers build web apps that can interact with files on the user’s local device, like IDEs, photo and video editors, text editors, and so on.
Additionally, Google released new metrics including Largest Contentful Paint (how quickly users get to see the most meaningful page content) and Cumulative Layout Shift (how stable a page feels so users can start reading or interacting with its contents). The goal here is to give developers more ways of measuring their web apps.
“We believe that these metrics, chosen based on your individual use case, can provide a holistic view of real user experience to web developers,” Almaer said. “And as we look to reward developers who go the extra mile, we’re exploring ways to surface and highlight quality signals across Search and Chrome’s UI with speed as a core metrics. We’ll be sharing more in the coming months.”