Skip to main content

With Chrome Portals, Google makes websites feel more like web apps

Continuing on the theme that Google is now shifting from a company that helps you find answers to one that helps users get things done, at this year’s I/O developer conference, the company’s focus on the future of Chrome is centered on making the web more instant, more powerful, and safer. With new tools like Portals and Web Packaging, developers can create web experiences with links that feel as seamless and fluid as a native app.

“What makes the web special in today’s landscape is this massive open-scale platform where all of us can freely connect with each other and where new experiences are just a link away,” said Google Director of Engineering Dion Almaer and Senior Director of Product Ben Galbraith during a talk on the future of Chrome at I/O.

Part of improving the web experience is making web pages load faster. To speed up page load times, Google is expanding on Chrome’s pre-load and pre-fetch capabilities this year with a feature called Lazy Loading. Lazy Loading only loads the images that are required by the user. Images toward the bottom of the web page will only load as users continue scrolling, and this new process makes the page load quicker and users can begin interacting on a web page faster. Speed is especially important, as Galbraith explained that just one second in loading time can decrease conversion on a web page by as much as twenty percent. These faster loading pages in essence will allow websites to compete more closely against native apps by delivering fluid experiences that users demand.

Portals and Packaging

To make the web more seamless, Google also introduced a new feature called Portals. “Portals are like iFrames that you can navigate to,” explained Barb Palsar, who leads Google’s global product partnerships. “When a user opens a Portal, the Portal becomes the top-level page. Portal enables fluid, composed journeys within a site or across multiple sites.”

In a demo on stage, Palsar showed that a user can navigate through a website showing recipes. If a user wants to share the recipe, Portals can enable a share sheet to pop up. The share sheet will be the focus of the new view, but the original website is shown blurred and active in the background. Portals can also link other functionality by allowing users to peek into new recipes as they’re scrolling along, similar to how 3D Touch works on iOS today, and connect users to third-party sites, like a grocery store, to add items needed to create the recipe. Portals is now live in Chrome Canary. Because the grocery store access is overlaid through a Portal popup on the main site, completing your order is seamless in that you’re not kicked off one site to complete the task in another site.

Portals are also leveraged in Google’s Duplex for the Web, which was showcased during the main I/O keynote. In a demo, during its Chrome talk, Google demonstrated how an English shopping site can be seamlessly translated into another language — in this case, Hindi — and users will get translations along the e-commerce process.

Google is also changing how websites are packaged. Traditionally, a site has to request the content from an origin server. In the new model, developers create a package with a signed version of the page, and the site can load that signed package from anywhere, including other peer devices. This will boost web page loading speed because the data needed to fetch the package doesn’t need to go back to the origin server. Like Portals, the new Web Packaging is now available in Chrome Canary.

“We believe when you’re looking at Web Packaging and Portals Standards, they have potential over time to enable a more seamless and instant web, with Packaging enabling privacy-safe preloading and Portals enabling seamless transitions,” Galbraith said.

Security and privacy

Similar to what Apple introduced with Safari on MacOS Mojave, Chrome will work to limit tracking on the web. Whereas Safari shows a generic profile to websites that you’re visiting to limit identifiable hardware information used by sites to identify you, Google announced that Chrome will block fingerprinting all together. Though details weren’t available about this process at I/O, Galbraith said that more details will be available in the coming months.

Additionally, moving forward, access to cookies will be limited to first parties, preventing third-parties from snooping on you. Developers will also have to build in code if they want to make cookies visible to third parties, and Chrome will require that cookies shared with third parties be handled over a secure HTTPS connection.

Journey to web app

As the internet proceeds to feel faster and links inside a page feel more seamless, the web experience will start to feel more like a native app. Google demonstrated this with Stadia, its game-streaming platform, by showing full access to a keyboard and mouse with low latency.

But for users who want a more app-like feel, Chrome 76 will start showing installation prompts in the omnibox whenever you visit a site where a web app is available. Google demonstrated that visiting Hulu will show a prompt to download a web app. The process is not unlike how visiting a website on a mobile device will sometimes notify and prompt you to download the corresponding native app if there is one available.

To learn more, developers can visit web.dev today.

Editors' Recommendations

Chuong Nguyen
Silicon Valley-based technology reporter and Giants baseball fan who splits his time between Northern California and Southern…
Google Chrome’s latest update solves the browser’s biggest problem
Google Chrome icon in mac dock.

Google Chrome is one of the best browsers around, but it's always had a big problem with memory usage. It's finally addressing the issue in a new Chrome 110 update that promises to reduce RAM usage by up to 30% and make the browser for efficient.

Chrome has a reputation for its speed, security, and feature drops, as well as a penchant for hanging on to your precious RAM like an episode of Hoarders. Granted, Google has made strides in improving Chrome's memory efficiency by hibernating tabs in the background, but it still struggles with it compared to Microsoft Edge or Mozilla Firefox.

Read more
Google may have just fixed Chrome’s most annoying problem
A Macbook with Google Chrome opened to a Gmail inbox.

While Google Chrome is one of the best web browsers, over the years it has gained a reputation for being something of a resource hog, gobbling up your PC’s memory like it’s going out of style. That can be a problem if you’re running other resource-heavy tasks and don’t want things to slow down. Now, Chrome has been updated with two new features that cut down on memory usage and extend your laptop’s battery life, according to Google. The changes are set to roll out today with the latest release of Chrome on desktop (version m108).The first new feature, dubbed Memory Saver, is designed to reduce the amount of memory Chrome’s tabs use. It does this by freeing up memory from inactive tabs, and putting them to sleep so they can’t monopolize your system’s resources. When you need to access the tabs again, they will be reloaded and become active. The goal of Energy Saver, meanwhile, is fairly self-explanatory -- helping your laptop battery last longer -- but it does so in a somewhat interesting way. When your battery drops to 20%, Chrome will try to prolong your battery life by “limiting background activity and visual effects for websites with animations and videos.”Presumably, this means Chrome will limit the kind of flashy effects that have made a comeback in web design in recent years. Google says that when these new features launch, users will still be able to customize them to their liking. You can disable either Memory Saver or Energy Saver (or both), and mark certain websites as exempt in Chrome’s settings. The changes could turn out to be important. While Chrome has managed to become the dominant Windows web browser and one of the best browsers for Mac, it has been plagued by poor memory management for years. If Memory Saver and Energy Saver are able to help ameliorate that -- and make your battery last longer too -- then Google might have gone some way to fixing Chrome’s biggest problem. Both Memory Saver and Energy Saver will be launched globally over the next few weeks. The features are coming to Chrome on Windows, macOS, and ChromeOS.

Read more
Beware — even Mac open-source apps can contain malware
A pair of glasses rests on a desk in front of multiple computer monitors filled with code.

Installing apps on a Mac is generally considered to be safer than doing so on Windows and open-source software is usually benign but there are exceptions to both of these assumptions that can do untold damage to your privacy and security.

A recent discovery by Trend Micro provides a startling example of this risk. An open-source app designed to help Mac owners with iPhone and iPad app signing has been altered to include a nasty hack that steals your Apple Keychain data. The original app is called ResignTool and it’s available for free on the popular open-source site, GitHub. The app is six years old and both the code and the ready-to-run app can be downloaded from GitHub. That isn’t the problem.

Read more