On 11/28/13, 7:15 AM, Honza Bambas wrote:
On 11/28/2013 12:56 PM, David Rajchenbach-Teller wrote:
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.

Do we know that these issues affect a large number of users and not just tab hoarders like myself?

So, here are a few things that I believe we could cleanup:
1. get rid of closed windows after a while;
Definitely, also from a privacy POV.
2. get rid of closed tabs after a while;
Ditto
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;
4-6: from a user POV - I have to agree also with Till, I really like
that form data are not lost *for ages*, I always write a bug report and
then leave it unsent to collect more data first, as well as any bug
comments.  And I'm really enjoying how well Fx keeps these data
unbroken.  That should stay.

I agree that #1 and #2 should expire but I don't think expiring 3-6 is worth the loss of functionality and trust in the browser. Fixing #1 and #2 would also probably reduce the need for 3-6 since the browser default is to open the homepage on every launch instead of restoring the session and we know that most users don't change defaults.

It's not uncommon for me to go back to a tab group for a side project that I haven't worked on for a few months and want to resume where I left off. #3, #4, and #6 would definitely hinder that. It's hard to say if #5 would without knowing how websites are using DOM storage. To be clear, is that just referring to window.sessionStorage?

Cheers,
Matthew N. [:MattN]
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to