Ticker

6/recent/ticker-posts

Ad Code

Responsive Advertisement

Google plans to ship omnibox prerendering in Chrome

Google may soon integrate a new feature in its Chrome web browser that it calls omnibox prerendering to speed up the loading of certain websites in the browser.

chrome omnibox prerendering

Current versions of Google Chrome support prefetching as well, but the process is limited as it does not execute JavaScript or renders the page in advance. The main goal of the feature was to use less memory than full prerendering according to Google while still reducing page load times in the process.

Prerendering speeds up the process of loading websites as some content is preloaded. Google changed the prerendering behavior of Chrome in version 63 when it limited the functionality. While prerendering may speed up the loading of sites, it may also waste resources at times; this happens when content is preloaded that is never seen by the user, e.g., when a site with preloaded content is not accessed at all.

Omnibox prerendering adds more elements to the prerendering process. In particular, Chrome will process the DOM tree construction and script executions. The browser limits the new omnibox prerendering feature to "high-confidence suggestions" only according to the intent to ship discussion on Google Groups.

We would like to ship omnibox (i.e., URL bar) prerendering. With this feature, Chrome will start prerendering the high-confidence omnibox autocomplete suggestions. Chrome is currently prefetching resources for high-confidence suggestions using No-state Prefetch, but with this feature we will be further processing the webpage, including the DOM tree construction and script execution.

Websites that are selected by Chrome for the process are "loaded before the navigation is committed", Google notes. Chrome will support a basic API that websites may use to find out if it is prerendered and when it was activated.

The new omnibox prerendering feature will be supported on all platforms that Chrome is available on. Google plans to introduce it on Android first before it becomes available on other platforms. Chrome users may set an experimental flag in the browser to enable the feature right now in Chrome.

  1. Load chrome://flags/#omnibox-trigger-for-prerender2 in the Chrome address bar.
  2. Set the state of the experimental flag to enabled.
  3. Restart the Chrome browser.

A demo page is available at https://ift.tt/WIbCMrh to test the functionality.

The feature should be considered experimental at this point. Work on prerendering version 2 continues at Google.

Now You: what is your take on preloading? Good feature? (via Techdows)

Thank you for being a Ghacks reader. The post Google plans to ship omnibox prerendering in Chrome appeared first on gHacks Technology News.

Enregistrer un commentaire

0 Commentaires