Remix.run Logo
▲ CodesInChaos a day ago

What I don't get is why most background electron/CEF applications don't unload the web engine when it's minimized to tray for some time. Chrome starts in about a second, the the webview shouldn't take more than that to re-initialize.

▲NetMageSCW a day ago | parent | next [-]

Probably because they have stuff to do in the background and so have to keep the javascript running.

▲kaelwd a day ago | parent [-]

You don't need the whole browser frontend for that though, Electron also includes Node.js which is much less memory hungry.

▲nomercy400 a day ago | parent | prev | next [-]

What would happen if you do not have enough memory to reopen it? How would that impact the user experience?

▲lexicality a day ago | parent [-]

well that'll probably happen less often if all these electron apps stop using 4GB of ram in the background constantly

▲jcelerier a day ago | parent | prev [-]

> Chrome starts in about a second,

on which machine ? go check the first three PCs here: https://www.amazon.ca/Best-Sellers-Laptop-Computers/zgbs/ele... ; do you think they open chrome in a second ?