I have a chat page open at https://app.purechat.com/quick-links and after a few hours, I come back to the page and Chrome reloads it because it has killed it in the background. The app thinks that I am offline and I am not getting chat notifications. How can I stop Chrome from killing the tab it is loaded in? I have 32GB.
3 Answers
Alternative 1
To stop Chrome from reloading pages when you return to them after they have been in the background:
- Enter the following into your Chrome address bar:
chrome://flags/
- Search for the "Automatic tab discarding" flag
- Set it to "Disabled"
You may also want to set the "Offline Auto-Reload Mode" flag to "Disabled".
Alternative 2
If you don't want to disable Automatic tab discarding for all the tabs, alternatively, you also have the option to discard select tabs manually via chrome://discards
.
On that page, if you have automatic tab discarding still enabled, you can click "Toggle" next to any tab to prevent it from being discarded automatically.
Alternative 3
Pinning the tab will also prevent it from being automatically discarded, however, the pinned tab is moved to the far left which may be unacceptable behavior (particularly for those who use keyboard shortcuts to navigate through their first few tabs). Pinned tabs are also smaller than regular tabs.
References:
https://developers.google.com/web/updates/2015/09/tab-discarding
https://www.guidingtech.com/stop-chrome-reloading-tabs-automatically-switching/
https://www.makeuseof.com/tag/10-hidden-chrome-settings-changing/
-
3Can you add the bit about
chrome://discards
and theAuto Discardable Toggle
link? No one wants to disable the feature for all the tabs.– ChloeAug 30, 2018 at 22:16 -
1Regarding Option 1, I do not have that chrome flag on my chrome://flags page. Any idea why? I am on Chrome 68. Aug 31, 2018 at 3:37
-
-
Does Chrome also discard "tabs" that are opened in a custom window (as done with
Menu > More tools > Create shortcut... > Check "Open as Window"
? It would explain why Discord is not creating any notifications anymore for me after having that window minimized for some time.– RayAug 31, 2018 at 8:08 -
1Alternative 2 is not working. It still discards my tabs and reloads them when I come back, even though I turned the toggle off for that tab.– ChloeSep 6, 2018 at 17:22
I was able to go to chrome://discards/
from the link in the comments and toggle a setting on the tab to prevent it from being killed.
-
6Does this persist after exiting and reopening Chrome? or do you have to toggle it each time you launch Chrome?– 3D1T0RAug 30, 2018 at 22:19
-
1@3D1T0R On my version of chrome (68.0.3440.106 - 64-bit) across a relaunch (from the flags page's "Relaunch" button) the toggle did not stay disabled– TaelsinAug 31, 2018 at 14:27
-
Then you may be better off just pinning the tab, as that persists to the next time you launch Chrome (as long as you don't close the window it's pinned in prior to exiting Chrome, e.g. close that window last, or use Menu > Exit or Ctrl+Shift+Q to quit).– 3D1T0RAug 31, 2018 at 16:34
-
This doesn't actually work. Even when toggled off, it still discards the tab.– ChloeSep 6, 2018 at 17:25
This is no longer in the flags and is a full feature in the Chrome settings called "Memory saver"
More details here: https://support.google.com/chrome/answer/12929150?#memory_saver
CTRL+1
and the chat inCTRL+4
.