brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: add a site to Memory Saver's keep-active list so Chrome stops freezing it

Chrome
~/tips/tip-chrome-memory-saver-keep-sites-active

Always keep these sites active > Add

Keep chosen sites from being put to sleep by Chrome's Memory Saver, using the always-active list.

Chrome’s Memory Saver is great until it discards the tab you were about to come back to. The fix is a list of sites Chrome has to leave alone, and Memory Saver can stay on.

On desktop, open the three-dot menu, then Settings, then Performance. Under Memory Saver you can choose Moderate, Balanced (the recommended one) or Maximum, which sends tabs to sleep after a shorter idle period. Next to Always keep these sites active, click Add and pick an open tab or type an address.

Settings > Performance > Memory Saver
  Always keep these sites active > Add

The address format has a few rules. A domain without a scheme, like example.com, also covers its subdomains. A leading dot, like .example.com, covers only the subdomains, not the main domain. Paths and wildcards work, for example example.com/watch?v=*, but a wildcard at the start or end of the host isn’t supported.

Turn on Inactive tabs appearance to see which tabs went to sleep, because their icon is then drawn inside a ring.

Chrome already leaves some tabs alone. They aren’t deactivated while they play audio or video, share a screen, download a file, show page notifications, hold a partly filled form or are pinned, or while connected to a USB or Bluetooth device. So a dashboard like nextDash in a pinned tab shouldn’t be sent to sleep anyway, though I’d still add it to the list to be sure.

The caveat: these settings exist only in desktop Chrome, because Google says the Performance settings aren’t available on iOS or Android.

Further reading: Memory Saver in Chrome

More Chrome tips chrome://net-export/ google-chrome --user-data-dir=/tmp/chrome-clean --no-first-run Windows and Linux: Ctrl+Shift+A Settings > Search engine > Manage search engines and site search > Site search > Add chrome://net-internals/#hsts All Chrome tips (12) All topics

Link