Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
已存档

How do I limit the number of files created in cache

stewate4

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)

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.