Disable auto-refresh tabs in Chrome Desktop

66

31

Since a recent update in Chrome (Windows, desktop) if I change to some tabs, which haven't been opened for a longer time, Chrome automatically performs a refresh on the page. It only happens, when the tab hasn't been opened for a longer time.

It's really disturbing for me, and haven't found any solution to disable this. Anyone knows, how to disable this?

Thanks!

clementino

Posted 2016-03-03T07:55:36.193

Reputation: 763

This could possibly be the wepage itself refreshing after you have been on it for some time to get site visits. Check this Extension Here and it wil disable that feature for websites that do what you are mentioning.

– NetworkKingPin – 2016-03-03T08:00:17.240

2It's definitely not the reason, because it happens to all the sites - even to those, which I developed, and I didn't add there such a feature for sure. I'll check out the extension though, if there's no legacy solution, thanks. – clementino – 2016-03-03T08:25:05.100

Answers

91

The OP is right. This has started happening in the latest release (Chrome Stable Version 48). I was also going bonkers due to this new 'feature' and then I did some research. It is not due to any extension as another user has suggested. It's a relatively new parameter which has been turned ON by default in the new release. Chrome Team is calling it "Tab Discarding". This may happen if there are many Tabs open and Chrome is running out of Memory. According to their documentation, "Tabs are now sorted from most interesting to least interesting. The least interesting tab may be discarded if we run out of physical memory." I suppose least interesting would translate to those tabs which weren't accessed in a while.

Though they are trying to help us free some RAM, however, this 'feature' totally ruins the tab if you don't want its contents to refresh due to some reason, like a YouTube video you paused at a particular location. Or wanted to go back to some top headlines on the homepage of CNN, which you had glanced at earlier and now you want to go back to them, but as soon as you click the tab, this 'feature' auto refreshes the page, updating the headlines. List goes on and on. I also had some Amazon tabs open and had specifically wanted not to have the page update, because it had some particular images and design elements displayed that I wanted to refer later, but when I got back to those pages, the 'Tab-discarding' feature 'auto refreshed' all of them, replacing them with the current version of the pages, totally devoid of whatever I wanted to refer to. And for those who suggest it is probably Amazon's auto-refresh, no, Amazon doesn't auto-refresh product pages, I have had pages remain open for many days and they would never update unless I clicked Refresh.

Now, let's get back to the Solution

To see the 'Discarded Tabs', type this in the Address Bar: chrome://discards/

To actually disable:, type in your address bar: chrome://flags, then disable this flag: #automatic-tab-discarding (Turn it to 'Disabled' from 'Default')

Simple solution to a highly unproductive and frustrating issue. That's it. You can stop pulling your hair out now :)

Source: Google Product Forums

Chrome 63+

In more recent versions of Chrome the #automatic-tab-discarding flag is removed, however, you can still toggle auto discard for chrome desktop apps on the chrome://discards/ page.

Essjay

Posted 2016-03-03T07:55:36.193

Reputation: 1 026

This does work (though be careful on machines with lower resources, your disk might start swapping and your whole system start going more slowly if you turn it off...). Oddly, though, if you do a fresh restart of chrome, it seems to "not load" many of the tabs, so this doesn't seem to fix all of this behavior...I did mention the new tab issue on this bug report, you can vote for it: https://bugs.chromium.org/p/chromium/issues/detail?id=595240

– rogerdpack – 2016-03-24T04:01:03.090

that's insanely frustraging 'feature' indeed. I did some css and html tricks to the webpage I'm working on, after 60 mins of lunch break all of that has GONE. Brilliant, Chrome. – Roman – 2016-11-23T13:21:10.443

1Kudos for finding this flag, but history shows that flags in chrome are experimental and using them is just a temporary fix, as any flag may or may not be there in the next version. I would like some html meta tag to say that this page should not be auto-refreshed (and then by implication not discarded either). I would also like a proper user setting, but as a web-developer I prefer to serve hints to less advanced users. – Superole – 2017-02-10T12:39:08.240

Unlike the other solutions here, this option seems to have at least been retained in the ever-changing browser settings, but apart from being a part of the solution (which may lead to memory issues down the line) is there a way to tell Chrome NOT to auto-load a (purged) tab when we click on it ? Not only is it maddening that Chrome decided it is uninteresting (very opinionated IMO), it is also frustrating to wait for the darn page to load even if we just came here out of curiosity, decided we dont need it and want to close it. – killjoy – 2017-04-06T11:44:13.927

I have 3GB free and it still discards half my tabs, very annoying poorly designed feature. Maybe it is not so bad when you have a super fast internet connection, but when your connection lags a big it's annoying as hell. What's so wrong with letting windows use its swap? – Mikey – 2017-08-16T08:40:21.830

This helped me :) thx – Syed Jahanzaib – 2018-03-16T04:14:13.550

I cannot find the flag on Chrome version 65 – Confuse – 2018-03-21T15:56:11.083

2In the Chrome 67+ the #automatic-tab-discarding flag is back. Which is good, as they discard old tabs even more aggressively now, I believe. P.S. Great answer. Thank you! – Dime – 2018-07-12T07:31:55.257

I'm using version 71 and this flag is no longer present on the chrome flags screen. – Scott – 2019-01-11T08:51:31.917

Chrome 72 on Windows seems to have the flag: chrome://flags/#automatic-tab-discarding. However it doesn't prevent tabs from not loading until focused. – Tomáš Hübelbauer – 2019-02-18T10:28:24.030

Isn't the flag now present in Chrome 76 chrome://flags/#proactive-tab-freeze-and-discard – CheTesta – 2019-09-09T10:00:18.263

Seems like in Chrome 78 all the previous tab-discarding flags disappeared, and it's turned on again after the update. Any ideas, how to disable it again? – clementino – 2020-01-07T14:09:29.433

1

I think it's called this now:

Proactive Tab Freeze and Discard

Enables proactive tab freezing and discarding. This requires #enable-page-almost-idle. – Mac, Windows, Linux, Chrome OS

#proactive-tab-freeze-and-discard

usertest

Posted 2016-03-03T07:55:36.193

Reputation: 111

0

Give this a try.

Chrome

Step 1 Click the wrench icon in the top right corner, then click on "Tools" and then "Extensions."

Step 2 Scroll to the bottom of the screen and click on "Get more extensions."

Step 3 Type "Stop AutoRefresh" into the search box and press "Enter" on your keyboard.

Step 4 Click on "Add to Chrome" next to the result for "Stop AutoRefresh," which should be the first result.

Step 5 Click "Add" on the confirmation screen.

Step 6 Click on the extension icon (a white circular arrow in a red hexagon) at the top of the screen when you want to stop a page automatically refreshing. Note that the icon only appears when you visit a page that uses automatic refreshing.

Information pulled from How to Stop Web Pages From Constantly Updating

NetworkKingPin

Posted 2016-03-03T07:55:36.193

Reputation: 2 186

Please read How to reference material written by others and make sure you "block quote" quoted material (Markdown help). I've fixed it for you this time, but please pay attention to this in future.

– DavidPostill – 2016-03-05T18:55:02.860

I usually do if I pull it from somewhere else that was my bad I was on my mobile. But thank you – NetworkKingPin – 2016-03-05T22:36:16.627

No such extension anymore – killjoy – 2017-04-06T11:36:25.857

0

Chrome is prerendering tabs/sites, if you were not in this tab for a long time or while you typing an URL and chrome "thinks" that you "were so often before on it, that this should be the target URL"

You can disable this in chrome://settings/advanced by turning off Predict network actions to improve page load performance

This was also explained in Can I turn off Google Chrome's new prerendering?

Varon

Posted 2016-03-03T07:55:36.193

Reputation: 248

"chrome://settings/advanced" just keeps us in the settings page – killjoy – 2017-04-06T11:36:50.930

0

The direct path (as of 20190130) to disable this abomination labeled as a "feature" is now:

chrome://flags/#automatic-tab-discarding

F1Linux

Posted 2016-03-03T07:55:36.193

Reputation: 161

Unfortunately this doesn't seem to prevent new tabs which haven't been focused yet from loading until they are focused. This threw me off because I thought disabling the flag didn't work at first. For me this is equally annoying and I haven't found a fix yet. – Tomáš Hübelbauer – 2019-02-18T10:30:07.323