Firefox for Windows cache point to ramdisk:
Default Location:
C:\Users\Administrator\AppData\Local\Mozilla\Firefox\Profiles\<my-porfile-name-here>\cache2
To change to ramdisk:
Use ImDisk program to create ramdisk.
Go to firefox and input this URL: about:config
edit this flag: browser.cache.disk.parent_directory | set it as a string and input the ramdisk path as the string.
Save firefox and reload and it showed how be using the ramdisk as the cache.
Also you can't use ImDisk to mount directly to the original path or system will be highly unstable.
Cant also use symbolic link from original location to ramdisk for firfox or it will be broken also.
I cant just stop using cache entirely as well due to the disable feature being broken.
Vivaldi does not have this issue on windows (can just use symbolic link)
Firefox does not have this issue on Linux (can just mount tmpfs ramdisk directly to cache directory)
Sources: 1, 2, 3 | Date: October 13th 2024
Back