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 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?
“Now You: Do you use back and forward often in your browser?â€
Yes, constantly!
“Now You: Do you use back and forward often in your browser?â€
Well, yeah, always. If only a few chrome users utilize the back button, maybe those are the users who understand how the browser works!
I suppose with that stupid omnibar flashing you whenever a character is entered, many users would click anything to make it stop. I’d be surprised if most users have explored chrome’s features vs. just taking what google says they want.
My chromium goes back/forward through many pages without perceptible delay, so I don’t know what this is about beside today’s chromedrama “We’re doin’ a lot of work now, guys; big challenge, all that work!”
This line made me laff…
“Google notes that there is privacy to take into account as well.”
Thats right !
They dont want to make any mistakes that might allow you to have any….
no??
Yes that makes sense now. Don’t you think.
…
Read it → https://redalemeden.com/blog/2019/we-need-chrome-no-more
LOL
Welcome to Firefox, circa 2009, Chrome users :)
LOL
Welcome to the old Opera, circa 2006, Firefox users :)
Chrome is good. I still use it 5 years!!!
“Now You: Do you use back and forward often in your browser?”
Yes. And not more often than First Party Isolation and Temporary Containers.
There goes Chrome following Firefox again!
You mean: there goes Google following Firefox following the old Opera again! ‘Cause the old Opera (before they switched to the Chromium base) had it first, you know…
Say what? The Google team couldn’t find any more UI elements to eliminate or make more difficult to find? Couldn’t eliminate SOMETHING that would gain another 5 pixels of space in the browser window (oh wow!) while making the users day-to-day life more difficult?
isn’t firefox doing it since ever?
Yes it is.
Good old Opera used to have that already eons ago. Being missing it ever since.
I thought the same! I used to love the almost instantaneous back function.
Opera ≤ 12 RIP :-(