torstai 28. marraskuuta 2013 13.56.13 UTC+2 David Rajchenbach-Teller kirjoitti:
> As many of you know, Session Restore is something of a performance hog,
> for many reasons - we have reports of. One of the reasons is that we
> store so very many things in sessionstore.js and sometimes keep stuff
> for a very long time.
> 
> As part of bug 943352 & followup, we are considering automatically
> cleanup some of the contents of sessionstore.js. Since people have
> mentioned "webcompat" and "userdata loss" in the context of
> sessionstore.js, I'd appreciate some feedback before we proceed.
> 
> So, here are a few things that I believe we could cleanup:
> 1. get rid of closed windows after a while;
> 2. get rid of closed tabs after a while;
> 3. get rid of old history entries of open tabs after a while;
> 4. get rid of POST data of history entries after a while;
> 5. get rid of DOM storage contents of open tabs after a while;
> 6. get rid of form data content of open tabs after a while;
> ...
> 
> Note that we don't have space usage number for each of these (bug 942340
> should provide more insight).
> 
> If anybody feels that we are going to break one million websites (or one
> million profiles), we would be interested to hear about this.
> 
> Cheers,
>  David
> -- 
> David Rajchenbach-Teller, PhD
>  Performance Team, Mozilla

I have been wrestling with a big sessionstore.js since I discovered tab-groups, 
I have been trying to find remedies to performance and recovery and have not 
found anything.  A few times per year I go looking for inspiration and it seems 
there is little information about the status of these upgrades.

Is there some way to do steps 1 to 6 manually (perhaps a plug-in)?

At many times at the end of a day I like to think that I am at a place that I 
could do a clean-up.

Mostly my tabs are used for side projects and tool groups so they do not need 
historical context, I would just like the URL stored.  I would very much like 
to have the start-up faster, tag group switching faster and less clutter in the 
sessionstore if it were to crash and need recovery.

Leaving more historical data by default could be done in pinned tabs perhaps 
(though not needed by me) and this would be a way to preserve state in those 
tabs that are important to maintain forms data etc.

>From a privacy point of view this is going to become increasingly important.  
>When the session store breaks it often leaves old copies that remain unless 
>manually removed. It would be nice if they contained a bit less old data.

KalleP
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to