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.
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 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?Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.