搜索 | 用户支持

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

详细了解

How do I limit the number of files created in cache

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 philipp

more options

I can see how you can limit the disk space usage in Firefox's cache (in Mb), but not how you limit the number of files (inodes). In networked file systems quota limits set the maximum number of files (inodes) a user has as well as total disk usage - in my case 10Gb disk space and 80,000 files.

Unfortunately Firefox caches many very small files such that I go over my file quota without reaching anywhere near my Firefox cache size.

Is there a way of limiting the number of files Firefox creates, or failing that, turning of Firefox cache entirely (maybe setting cache size to 0Mb)?

I can see how you can limit the disk space usage in Firefox's cache (in Mb), but not how you limit the number of files (inodes). In networked file systems quota limits set the maximum number of files (inodes) a user has as well as total disk usage - in my case 10Gb disk space and 80,000 files. Unfortunately Firefox caches many very small files such that I go over my file quota without reaching anywhere near my Firefox cache size. Is there a way of limiting the number of files Firefox creates, or failing that, turning of Firefox cache entirely (maybe setting cache size to 0Mb)?

所有回复 (1)

more options

hi, i think you only could disable the disk cache generally in this situation: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named browser.cache.disk.enable. double-click it and change its value to false.