rNeomy / auto-tab-discard

Use native tab discarding method to automatically reduce memory usage of inactive tabs
https://webextension.org/listing/tab-discard.html
Mozilla Public License 2.0
885 stars 76 forks source link

[Feature request] Keep most recent tabs loaded #356

Closed robbely closed 5 months ago

robbely commented 7 months ago

In a previous xul addon - "Auto Unload Tab" it was possible to set a number of recent tabs that would remain open - eg if it was 10 and the timer was set to 10 mins, the 10 most recently visited tabs would remain loaded after the 10 mins. If an 11th was created/reloaded - the oldest of the 10 would then be subject to unloading.

Could this feature be added to auto-tab-discard?

rNeomy commented 5 months ago

It is similar to the first option that we have. Please take a look at the options page.

robbely commented 5 months ago

This isn't the same - the first option will discard ALL tabs when a limit is reached, I'm looking for the option to always keep a fixed number of tabs opent

rNeomy commented 5 months ago

No, this option means the extension checks all not-discarded tabs every x minutes and if the number exceeds the provided value, it will discard the oldest ones.

rNeomy commented 5 months ago

It is not going to remove discarding of a discarded tab if for instance you are closing a not-discarded tab though.

robbely commented 5 months ago

No, this option means the extension checks all not-discarded tabs every x minutes and if the number exceeds the provided value, it will discard the oldest ones.

I have the settings set to 10 tabs allowed and 10 mins interval. I just opened 11 tabs and waited 10 mins and all but the currently open tab was discarded - perhaps this is a bug?