auto-tab-discard icon indicating copy to clipboard operation
auto-tab-discard copied to clipboard

Delay release discarding of next/previous tabs until current loads completely

Open KAGEYAM4 opened this issue 1 year ago • 6 comments

We have two options under settings -->

  • Release discarding of the next tab (tab to the right of the active tab)
  • Release discarding of the previous tab (tab to the left of the active tab)

So when i click an unloaded tab, three tabs are loaded simultaneously whereas i only needed one and the other two were for when i am done with current one. So that means they can be delayed until current one loads completely. This will reduce the network/cpu load.

KAGEYAM4 avatar Oct 12 '24 11:10 KAGEYAM4

Just disable those options if you don't like them :))))

Seriously, this is actually a killer feature

The point here is to have them preloaded in advance, because quite probably you are going to close the first very soon.

You are looking for something around 30 pages, for example, most of them are irrelevant after wasting 1 second on them.

So you have the next ready without waiting. Got it?

simper66 avatar Jan 14 '25 22:01 simper66

Or perhaps I don't fully understand you. You mean load the "children" after finish loading the "parent" one?

Could be, but sometimes i close the "parent" in a matter of milliseconds :))

I opened a proposal related to this. To have a group of fixed children. Because 1 o 2 sometimes is not enough.

https://github.com/rNeomy/auto-tab-discard/issues/407

simper66 avatar Jan 14 '25 22:01 simper66

Or perhaps I don't fully understand you. You mean load the "children" after finish loading the "parent" one?

Yes, load the main tab then load tabs that are beside it.

Could be, but sometimes i close the "parent" in a matter of milliseconds :))

What i am hoping is, where the main tab could be prioritised in terms of Network and CPU, so that it get loaded first and others tab load later or don't compete with main tab.

KAGEYAM4 avatar Jan 16 '25 13:01 KAGEYAM4

uhhh yes yes, i got it, quite subtle and smart.

Because yes, I will close it in a matter of milliseconds, but FIRST I need it ready to take a look

and do you know what? it is not a exaggerated thing, sometimes, depending on the site, between being loading a page and being loading two, the time can be very much, youtube for example...

simper66 avatar Jan 20 '25 22:01 simper66

the key was the word "compete"

simper66 avatar Jan 20 '25 22:01 simper66

youtube is quite ridiculous

1 page 12 seconds 2 page in pararel 25 seconds

i am thinking in write a plugin to optimize youtube's load

because together stackoverflow, github, etc, is a classic case

simper66 avatar Jan 20 '25 23:01 simper66