搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 32 offline cache

more options

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

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

被采纳的解决方案

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
定位到答案原位置 👍 1

所有回复 (12)

more options

Press ALT Key, then you can see the FIREFOX MENU BAR

  • Firefox > File > uncheck [x] work offline
more options

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)

Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

more options

@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

more options

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.

more options

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
more options

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. ^_^

more options

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.

more options

选择的解决方案

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
more options

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.

more options

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
more options

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.

more options

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.