Closed
Bug 944559
Opened 12 years ago
Closed 11 years ago
[Session Restore] Just say no to sessionstore.js spam
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
INVALID
People
(Reporter: Yoric, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(1 file)
|
6.69 KB,
patch
|
Details | Diff | Splinter Review |
Here's another idea: add (pref-controlled) limits after which we simply decide that we should not store anything meaningful about a site.
e.g.
- if DOM storage + postdata + formdata exceeds 1Mb; or
- if the tab has more than 100 frames;
- etc.
In this case, just give up about that tab and store only a set of URLs.
Comment 1•12 years ago
|
||
Maybe also a LRU policy for (sub-)ressources? So if this exceeds a threshold (maybe 10), drop the oldest data (not containing forms) etc.
| Reporter | ||
Comment 2•12 years ago
|
||
Let's start with a simple patch that should act as countermeasure for bug 934935 (now solved by the webdevs), bug 942601.
Attachment #8340323 -
Flags: feedback?(ttaubert)
Comment 3•12 years ago
|
||
Comment on attachment 8340323 [details] [diff] [review]
First draft
Review of attachment 8340323 [details] [diff] [review]:
-----------------------------------------------------------------
It seems like this would be better covered by broadcasting scroll and form data separately. With that we're just able to discard session history for any dynamic frames.
Attachment #8340323 -
Flags: feedback?(ttaubert)
Updated•11 years ago
|
Flags: firefox-backlog?
Comment 4•11 years ago
|
||
David, now that we only store DOMSessionStorage and form data for the tab's current history entry, and discard dynamic frames, do we still need this bug? I'd be inclined to close it.
Flags: needinfo?(dteller)
| Reporter | ||
Comment 5•11 years ago
|
||
Ok, let's close it. We'll reopen it if necessary.
Flags: needinfo?(dteller)
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Updated•11 years ago
|
Flags: firefox-backlog? → firefox-backlog-
You need to log in
before you can comment on or make changes to this bug.
Description
•