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

Max size of cache files

  • 4 replies
  • 1 has this problem
  • 2 views
  • Last reply by bobi444

more options

Hello I noticed that only files with size less than 8.5 MB are saved in the cache directory of my hard drive. Is it possible to change the system to save also larger files in this directory? Is it connected with other programs, like CCleaner?

Hello I noticed that only files with size less than 8.5 MB are saved in the cache directory of my hard drive. Is it possible to change the system to save also larger files in this directory? Is it connected with other programs, like CCleaner?

Chosen solution

A website can send a no cache header and downloads are usually not cached anyway, but are saved to the hard drive. Large images may also not be in the disk cache, but are kept decompressed in the image cache and discarded when they aren't needed. This is why Firefox reloads content again from internet in some cases. Firefox maintains caches for various components (disk, memory, image, application).

Read this answer in context 👍 1

All Replies (4)

more options

There are some cache max prefs on the about:config page that would suggest 50 MB.

  • browser.cache.disk.max
  • browser.cache.disk.max_entry_size = 51200 // 50 MB
more options

Thanks for the answer. But in my browser.cache.disk.max_entry_size was already 51200. In the meantime, one file with a size of over 9 MB was saved. Is it possible that some web pages prevent saving files exceeding a certain size?

more options

Chosen Solution

A website can send a no cache header and downloads are usually not cached anyway, but are saved to the hard drive. Large images may also not be in the disk cache, but are kept decompressed in the image cache and discarded when they aren't needed. This is why Firefox reloads content again from internet in some cases. Firefox maintains caches for various components (disk, memory, image, application).

more options

Many thanks for help.