From 399efcb8c5c30981c42c89710ad87654efd308ac Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Sun, 26 Jan 2020 12:45:38 +0100 Subject: [PATCH] [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. --- application/palemoon/app/profile/palemoon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index df46ea4b63..48da270712 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -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);