Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

browser.cache.check_doc_frequency=2 not working. How to fix?

  • 5 antwurd
  • 3 hawwe dit probleem
  • 1 werjefte
  • Lêste antwurd fan KevinSeidel

more options

When I start Firefox I want it to load the cached version of my tabs. It used to do this, but now it refreshes the tabs when it starts up. I have tried starting in safe mode and it also refreshes the tabs when it starts. I have set browser.cache.check_doc_frequency=2, so it should us the cached to load the tabs, but it is not. This change only happened in the last few month.

When I start Firefox I want it to load the cached version of my tabs. It used to do this, but now it refreshes the tabs when it starts up. I have tried starting in safe mode and it also refreshes the tabs when it starts. I have set browser.cache.check_doc_frequency=2, so it should us the cached to load the tabs, but it is not. This change only happened in the last few month.

Keazen oplossing

Does Firefox create a sessionstore.js file when you close Firefox and are the backups in the sessionstore-backups folder present?

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

Create a new profile as a test to check if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.

Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (5)

more options

Did you check on the about:cache page that the disk cache is used and working?

In case you use "Clear history when Firefox closes" make sure not to clear the Cache.

more options

about:cache shows,

Number of entries: 16249 Maximum storage size: 358400 KiB Storage in use: 316690 KiB

for disk. That looks in use.


The "Clear history when Firefox closes" is not checked.

more options

Keazen oplossing

Does Firefox create a sessionstore.js file when you close Firefox and are the backups in the sessionstore-backups folder present?

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

Create a new profile as a test to check if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.

more options

It does create the sessionstore.js and the sessionstore-backups files.

I created a new profile. Set it "Show windows and tabs from last time" and changed browser.cache.check_doc_frequency to 2, so it should always use the cache version. I then opened several tabs. A couple were ones that change fairly regularly. (news sites that post new stories.) I closed the browser and waited. Then opened the browser and it went and refreshed the tabs instead of using the cache. I could tell because a new story was showing that was not in the cached version. So the new profile didn't solve the issue.

more options

It appears I was a bit hasty checking the new profile and it did actually fix the issue. I've copied over about 90% of the old profile while checking that the fix was still working. I have all the plugins, signons, config, even the session history. I did try to have a cleaner profile by leaving behind file that seem to no longer be used. So bookmark backup and other backup files stayed behind as well as what seemed to be obsolete extensions.

The new profile works, though carefully coping and checking that the copied files didn't cause the problem in the new profile is tedious.