Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Allow cache to store large files

  • 2 个回答
  • 2 人有此问题
  • 11 次查看
  • 最后回复者为 cor-el

more options

I have a large file that is quite slow to download (200mb or so). I'd like to be able to quickly configure Firefox to cache the file and save it every time it needs to access it, so it doesn't have to re-download every time.

I've tweaked the settings in about:config and in Options->Advanced->Network in the following way (see attached for about:config settings):

Override automatic cache management (enabled) Limit Cache to 1000MB of space.


I'm pretty sure the cache settings in Options-> Advanced -> Network are fine, but for the about:config settings, I know that changing some of them is important, but I'm not sure which ones. Can anyone tell me which ones I should change? I've had other people change settings on their machines the same way, but my ram and processor are different, so these settings caused Firefox to crash for them. I'd like to know exactly which settings to change and why.

Thank you!!

I have a large file that is quite slow to download (200mb or so). I'd like to be able to quickly configure Firefox to cache the file and save it every time it needs to access it, so it doesn't have to re-download every time. I've tweaked the settings in about:config and in Options->Advanced->Network in the following way (see attached for about:config settings): Override automatic cache management (enabled) Limit Cache to 1000MB of space. I'm pretty sure the cache settings in Options-> Advanced -> Network are fine, but for the about:config settings, I know that changing some of them is important, but I'm not sure which ones. Can anyone tell me which ones I should change? I've had other people change settings on their machines the same way, but my ram and processor are different, so these settings caused Firefox to crash for them. I'd like to know exactly which settings to change and why. Thank you!!
已附加屏幕截图

所有回复 (2)

more options

Is the file a download or a cached page? This add on automates checking a page if it changes, but it runs in set intervals to check for changes: https://addons.mozilla.org/En-us/fire.../check4change/ and this one is a bit similar: https://addons.mozilla.org/en-us/fire.../update-scanner/

I do not know how this would work for downloads since these are not stored in Firefox explicitly.

more options

I assume that you need to increase the value of this pref from the default 51200 to -1 (no limit)

  • browser.cache.disk.max_entry_size

Note that you may be out of luck as big files may not be cached unless you adjust browser.cache.disk.capacity as well (don't know if there is a maximum for cache2).

62 // Max-size (in KB) for entries in disk cache. Set to -1 for no limit.
63 // (Note: entries bigger than 1/8 of disk-cache are never cached)
64 pref("browser.cache.disk.max_entry_size",    51200);  // 50 MB