Firefox 32 offline cache
Since upgrading to FF32 my offline cache stops working. I keep getting the error "Firefox is currently in offline mode and can't browse the Web."
In version 31 it works fine.
If I disable the addons the problem still remains. If I create and test it on a new profile the offline caches works fine.
I tried deleting the Cache, cache2 and OfflineCache directories but that did not fix the problem.
What do I need to do to reset the cache and make it function?
Thanks in advance
Giải pháp được chọn
Does the disk cache setting on the about:cache page change to 0?
Does the cache keep working if you switch to the old cache?
- browser.cache.use_new_backend_temp = false
Tất cả các câu trả lời (12)
Press ALT Key, then you can see the FIREFOX MENU BAR
- Firefox > File > uncheck [x] work offline
What do you see on the about:cache page about the disk cache?
That cache is used when you want to view web pages in offline mode. Do not confuse the memory and disk cache with the offline cache (application cache;appcache).
In case you are using "Clear history when Firefox closes":
- do not clear the Cache (Firefox will disable the disk cache in this case, see about:cache)
- Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
- https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history
Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
@iamjayakumars, I am trying to work in offline mode. ^_^
@cor-el
I do not restart Firefox. I just browsed the page just and then went to offline mode and tried to view the same page and it does not work. I have the same settings I had with FireFox 31 and that worked fine. Below is what you requested and it seems to point to the error.
As you can see the number of entries in the disk says is 1 and the cache2 is 0kib which is also very odd. I have not restarted firefox for sometime. I tend to just minimize it to the tray and not shut it down if I am not using it, so it can be on for several hours. It should be at least a few kbs.
How can I increase the max disk cache2?
memory
Number of entries: 0
Maximum storage size: 32768 KiB
Storage in use: 0 KiB
Storage disk location: none, only stored in memory
disk Number of entries: 1 Maximum storage size: 0 KiB Storage in use: 0 KiB Storage disk location: ...\cache2 List Cache Entries
appcache Number of entries: 0 Maximum storage size: 512000 KiB Storage in use: 0 KiB Storage disk location: ...\OfflineCache
I see what you mean. The figure I am meant to look at is the appcache. Well that's also set to zero. Not sure why.
BTW: I do not clear my history. The only thing I clear are the cookies when firefox restarts, everything else is kept. Bookmarks and Form History is checked to remember.
What are the values of the browser.cache.disk.* prefs on the about:config page?
- browser.cache.disk.capacity
- browser.cache.disk.smart_size.*
Are all the caches enabled? You can compare the values with what you see in a new profile.
Cache2 is enabled automatically in the current release and you see the usage of the cache or cache2 on the about:cache page. Both caches use the same pref settings. Only the buttons and check-boxes below the "Information about the Network Cache Storage Service" at the top differ and if cache2 is used there are more items.
Old Cache: browser.cache.use_new_backend_temp = false
Information about the Network Cache Storage Service [] Private [] Anonymous Update button
Cache2: browser.cache.use_new_backend_temp = true
Information about the Network Cache Storage Service [] Private [] Anonymous AppID [] In Browser Element Update button
Thank you cor-el. That did the trick.
Some cache settings were set to false and I just basically set them to true.
browser.cache.disk.smart_size.enabled;true browser.cache.disk.smart_size.use_old_max;true
Setting those to true made the offline work. I set them back to false afterwards and offline mode still works. I had two working profiles with non-functioning offline but now they both work by setting smarl _size* to true and running. I changed nothing else.
I do not really understand why this occurred but it works now. ^_^
It seems I was wrong. The problem still persists. It seemed like it was fixed but it wasn't. After a while the cache stops working again.
Giải pháp được chọn
Does the disk cache setting on the about:cache page change to 0?
Does the cache keep working if you switch to the old cache?
- browser.cache.use_new_backend_temp = false
It works if I test it straight away, if I come back after a few hours without shutting down the browser the offline mode for the same site stops working.
On version 31 I never had such issues. Currently the offline mode seems to work intermittently.
When I checked the disk cache (cache2) it was close to zero but not zero. Too small considering I do not clear the disk cache. It seems to reset the cache and not sure why.
These are the current settings I currently changed: browser.cache.disk.capacity;2097152 browser.cache.disk.enable;true browser.cache.disk.max_entry_size;51200 browser.cache.disk.metadata_memory_limit;250 browser.cache.disk.preload_chunk_count;4 browser.cache.disk.smart_size.enabled;false browser.cache.disk.smart_size.first_run;false browser.cache.disk.smart_size.use_old_max;false browser.cache.disk.smart_size_cached_value;2097152 extensions.foxyproxy.cache.disk.enable;false
browser.cache.use_new_backend_temp;false
I enlarged the size of the cache to 2GB and disabled smart_size and new_backend_temp. The directory now says "Cache" (0kb) and not "cache2". Will test it out see how it goes.
I see this pref setting:
- extensions.foxyproxy.cache.disk.enable;false
Did you try to enable the disk cache there as well?
It looks that the FoxyProxy extension is able to disable the disk cache, so may check its settings or contact its developer for help.
Note that it is usually best to leave the cache at the automatic setting.
- Firefox/Tools > Options > Advanced > Network > Cached Web Content
I haven't used FoxyProxy in ages and extensions.foxyproxy.cache.disk.enable was true until I recently turned it off to try fix this issue. Just turned it back on.
The old cache seems to behaving itself so far. I will see how it goes through the rest of the day.
Thank you. The old cache fixed the issue. When I go back to the new one it's intermittent or bits of the page are missing.