this post was submitted on 06 Sep 2023
268 points (97.2% liked)

Firefox

17849 readers
76 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

The feature is called Tab Unloading, and weirdly enough they made it not easy to access despite its usefulness.

You basically have to type about:unloads in the address bar and hit enter. If you then click on "Unload", it will put the least used tabs to sleep. If you keep clicking that button until it's greyed out, you'll have unloaded all your tabs from memory.

This feature is handy if you want to temporarily switch to something that is memory hungry without having to close your 100 tabs.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (3 children)

Where does it get unloaded to?

[–] [email protected] 8 points 1 year ago (1 children)

From what I understand it basically just saves the minimal state possible (URL, form inputs), which is lighter than keeping all the rendering details in memory, so maybe that minimal representation still stays in RAM as its footprint would be negligible.

[–] [email protected] 2 points 1 year ago (1 children)

It doesn’t save form inputs because when you click a suspended/unloaded tab, it reloads the whole page. Everything unsaved on that page is lost.

I really hope some day Firefox will work the way you say, though.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

That's weird then, because this says:

The tab’s scroll position and form data are restored just like when the browser is restarted with the restore previous windows browser option.

If it doesn't do that then I'd say it's a bug?

[–] [email protected] 5 points 1 year ago
[–] [email protected] 5 points 1 year ago

It gets thrown away. When you go back to the tab it will effectively reload.

(It will attempt to save some extra information such as scroll position and form inputs but this isn't 100% reliable so I would treat it as a nice-to-have not something to rely on.)