Current Version plugins

Chrome back and forward button performance to improve in 2020

Google is working on a new cache for its Chrome browser to improve the performance of back and forward operations on the desktop and on mobile.

Called bfcache, short for back/forward cache, it is designed to cache pages in memory when users navigate to another page, e.g. by activating links, entering URLs manually, or through other means.

The cache will store a copy of the page the user left, including JavaScript and the DOM state, in order for Chrome to load it from memory when the user decides to use the back or forward button in the browser.

It is like putting pages into hibernation in memory to wake them up when the page is revisited during the session. Chrome will store a finite number of entries in the new cache, likely to avoid too big of an impact on the browser’s memory use.

chrome back forward

Chrome caches content already so that the content loads faster than on first visit of a a page not visited previously.

The current implementation requires Chrome to parse and render the page again and perform other computations to display the page again to the user.

Basically, the only thing that really changes right now when accessing previously visited pages is that Chrome does not need to establish as many networking connections if cached content is available.

It may come as a surprise to some, but Chrome is trailing Firefox and Safari in this regard. The two web browsers support similar functionality, Mozilla even calls it bfcache as well, for over a decade.

Back and forward operations represent significant activity on the desktop and mobile according to Google; Google metrics indicate that desktop Chrome users revisit 10% of pages while mobile Chrome users 19%. Making back and forward operations faster is therefor beneficial to the user experience on desktop and on mobile.

Google published two videos that demonstrate the difference between the performance of back and forward buttons in current versions of Chrome and in prototypes that use an early version of bfcache already.

Google Chrome desktop

Google Chrome mobile

The bfcache speeds up the loading of already visited pages but it does not affect new pages visited in the browser.

Google says the implementation is not trivial as Google engineers will have to make major changes to Chrome’s non-rendered process components, navigation stack, and handling of page-related tasks. Google notes that there is privacy to take into account as well.

Google aims for a 2020 release in the Stable version of the Chrome browser on desktop and on mobile. The company wants to limit the number of cache entries in the beginning and increase it gradually. One reason for that is likely that it wants to monitor the impact the feature has on memory use of the browser.

Now You: Do you use back and forward often in your browser?

Ghacks needs you. You can find out how to support us here or support the site directly by becoming a Patreon. Thank you for being a Ghacks reader. The post Chrome back and forward button performance to improve in 2020 appeared first on gHacks Technology News.


Leave a Comment

Your email address will not be published. Required fields are marked *

Menu Title