4 ms·
Ideally, it’s “Always suspend, except for long running processes”. Almost all pages are not / should not be active in background. Even most SPA (think Gmail)
by Terretta 7y ago
Ideally, it’s “Always suspend, except for long running processes”.
Almost all pages are not / should not be active in background. Even most SPA (think Gmail) don’t need to refresh if you aren’t observing them. A small minority of update or admin type tools that run things on remote machines seem to need the page active to let the remote know you’re still there and it should keep running. In browsers that pause unseen tabs, I dislike this SPA design as I can’t click away or they stop.
- NikkiA 7y ago> Even most SPA (think Gmail) don’t need to refresh if you aren’t observing them Maybe not 'as often', But I certainly want the (xxxx) number next to 'Inbox' to change if I get new email while looking at another tab.
- bzbarsky 7y agoNote that in this case "suspend" actually means "unload", not "pause". So if you get on a plane and go to that tab to read that thing you meant to read... it's not there anymore. In a world where you're always connected, of course, the difference between "pause" and "unload" is pretty minimal.