![]() srcdocdata if the document was loaded from an inline srcdoc, the data that was loaded instead of the URI (string, optional).refererrURI URI of the referrer (string, optional).docshellID ID of the document owning this entry (string, buggy and possibly useless).cacheKey TBD (string, optional, need to check whether this is still good/useful with cache v2). ![]() subframe is this an entry in a subframe? (boolean, optional).attributes a set of attributes persisted for the tab (object).windows the currently opened windows (array).The disk writes to sessionstore.js over an 8 hour day can be big: is the least-commonly-used codepath (used only once per session), it can certainly be used to shrink the size of sessionstore.js for users who restart Firefox manually.Įarly Telemetry indicates that 75% percent of Nightly users have a sessionstore.js weighing 194kb or less and 95% of users have 1.2Mb or less:Īnd 100k users have a sessionstore.js >10MB. We could probably remove closed tabs and windows. Since crashes can happen at any time, we are pretty much in a dead-end here.įor 2., since the user has quit and reopened manually, we can afford to save less (actually, we already do). This means that we need to write all the costly stuff, including DOM Session Storage (which is currently what takes most of the disk space, iirc), forms, etc. and 3., we need to be able to resume in the exact same state, or users are going to be really annoyed – users can forgive a crash or an update if it just means that they lose the few seconds needed to restart Firefox, but not if they also lose their work. Upgrade Firefox or Extensions without losing state.įor 1. Quit and restart from the same browsing position (either manually or automatically) ģ. SR is designed for the following use cases:Ģ. The Extension is also be able to "Forget closed tabs" and "Forget closed windows" and shows settings, timings and size. This extension shows the content of the Session Store as a page in a tab/window, when the user opens about:sessionstore. The maximum number of closed windows that get saved.ī_level_deferred:ī_hidden_tabs:ī_pinned_tabs_on_demand:ī_session_once:ī: The maximum number of closed tabs that get saved. The maximum number of 'forward button' session history entries to store in sessionstore.js.ĭefault: -1 (-1 = no limit / 0 = only the currently active entry will be saved) The maximum number of 'back button' session history entries to store in sessionstore.js.ĭefault: 10 (-1 = no limit / 0 = only the currently active entry will be saved)ī_serialize_forward: The maximum number of session history entries to keep in working memory (which includes the 'current' page).ī_total_viewers:ī_closed_after:ī_resumed_crashes: Session Store settings can be set by experienced users via about:config. Save interval: The file is saved whenever a change that needs to be saved is detected, with a cap that forces at least 15 seconds (by default) between two successive changes. ![]() Windows 7: :\Users\\AppData\Roaming\Mozilla\Firefox\Profiles\]\
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |