Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I limit the number of files created in cache

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by 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)?

All Replies (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.