Max size of cache files
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?
الحل المُختار
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).
- https://dxr.mozilla.org/mozilla-release/source/toolkit/components/cleardata/ClearDataService.jsm#781
All Replies (4)
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
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?
الحل المُختار
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).
Many thanks for help.