[Pale-Moon] Change sessionstore cache behavior to soft refresh

It can be assumed that people who launch the browser will do so with
network access, restoring tabs to live locations rather than
previously-visited static pages.
Defaulting this to soft refresh will prevent unnecessarily stale pages
from being displayed when restoring tabs, with minimal bandwidth used.
Note, this does not affect browser restart sessionstore behavior, which
will always re-display previously cached pages "as if nothing happened",
which is what we want.
This commit is contained in:
Pale Moon 2020-01-26 12:45:38 +01:00 • committed by Roy Tam
commit 399efcb8c5

View file

@ -863,7 +863,7 @@ pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
// 0 = standard behavior: pull fully from cache
// 1 = perform a soft refresh when restoring a tab (check network)
// 2 = perform a hard refresh when restoring a tab (bypass cache completely)
pref("browser.sessionstore.cache_behavior", 0);
pref("browser.sessionstore.cache_behavior", 1);
// Pale Moon: Allow exact positioning of windows to previous locations, even
// if they would be outside of the screen bounds
pref("browser.sessionstore.exactPos", false);