Improve Session Restore responsiveness in Google Chrome
Google's Chrome web browser loads all tabs on start if session restore is enabled. Chrome users who run the browser with a small number of tabs won't notice any issues in that regard, but users who open several dozens or even hundreds of tabs will notice that session restore slows down the start of the browser.
Users may experience performance issue while tabs are restored. The Chrome extension Native Lazy Tabs offered a solution to this by only loading the active tab on session restart. Google pulled the extension from the Store and while it is still available, the fact that it is not available on the Chrome Web Store means that it is ignored by the majority of Chrome users and even those who experience performance issues during browser start.
Google Chrome includes two experimental flags that users may set to enabled to improve session restore and performance.
- Infinite Session Restore -- Reduces the number of tabs being loaded simultaneously during session restore, to improve responsiveness of the foreground tab.
- Page Almost Idle -- Make session restore use a definition of loading that waits for CPU and network quiescence.
The two flags are available on all desktop versions of Chrome -- Windows, Mac and Linux, and Chrome OS. All you need to do is set both flags to enabled and restart Google Chrome to benefit from the functionality; here is how that is done in detail:
- Load chrome://flags/#infinite-session-restore in the Chrome address bar to display the firsts flag in the browser.
- Use the menu on the right to set it to Enabled. Ignore the Restart prompt for now.
- Load chrome://flags/#page-almost-idle in the Chrome address bar.
- Use the menu on the right to set it to Enabled as well.
- Restart the Google Chrome browser.
You may notice afterward that Chrome's startup performance has improved; the browser may not hang or freeze anymore at start, or may feel like it is lagging. Mileage varies as it depends on a number of factors; feel free to post a comment below to let me know how this worked out on your end.
Chrome will load all tabs that were open in the last session on start but it won't do that all at once anymore.
A core difference to Native Lazy Tabs is that Chrome's internal function will load all tabs eventually while the extension won't. Tabs get loaded when you switch to them in Chrome when you use the extension but not automatically when enough resources are available to warrant it.
Now You: How is your browser's startup performance?
I have thousands of tabs open in Firefox, which has native lazy tab loading so startup time and normal usage is just fine. Not sure why the Chrome team wouldn’t offer this feature since it’s so simple to implement.
“[U]sers who open . . . hundreds of tabs [in Chrome] . . . .”
Wouldn’t it be cool to have a dual-CPU workstation with 128GB of RAM? ;-)
Getting back to planet Earth, I use The Great Suspender extension on my old 8GB Core2 laptop and most of my ten-odd tabs are suspended, but Chrome still takes around 15 seconds to load on a good day.
I can see that Chrome is introducing Opera-like “lazy tabs”. I will pass on that future. It is not useful at all. I prefer the way how lazy tabs in Firefox or Vivaldi work. Or how mentioned by Martin “Native Lazy Tabs” worked.
— —-
I was using “Native Lazy Tabs” in the past and I was really shocked by this irrational shortsighted Google’s decision. Google removed extension which was adding very important function to their browser and it was making possible to work efficiently with higher number of tabs. Fortunately, I was able to find partial replacement – extension “Sloth”. Other extension “The Great Suspender” is also helpful.
I can see that Chrome is introducing Opera-like “lazy tabs”. I will pass on that future. It is not useful at all. I prefer the way how lazy tabs in Firefox or Vivaldi work. Or how mentioned by Martin “Native Lazy Tabs” worked.
——-
I was using “Native Lazy Tabs” in the past and I was really shocked by this irrational shortsighted Google’s decision. Google removed extension which was adding very important function to their browser and it was making possible to work efficiently with higher number of tabs. Fortunately, I was able to find partial replacement – extension “Sloth”. Other extension “The Great Suspender” is also helpful.
I use tabstop (https://chrome.google.com/webstore/detail/tabstop/inofipdhajcakcbdomlljndombfeikjb) and it works wonderfully.
I use Lazy Tabs, but is it called Native Lazy tabs or just Lazy Tabs??: https://chrome.google.com/webstore/detail/lazy-tabs/aabgbgciohhaogajcnacpgilhmacdahc
A great extension.
When I start Chrome I prefer to only initially start with the 5 tabs I have defined for this purpose. After running with Microsoft Windows [Version 10.0.17763.168] Chrome opens slightly more quickly for me.