Mozilla Firefox
Browser cache
How can I move the location of Firefox's cache to another drive to free up space on Cdrive?
You can do this by creating a new hidden preference.
Type about:config into the location bar and press enter
Accept the warning message that appears, you will be taken to a list of preferences
Right-click somewhere in the list and select «New > String»
For the name of the preference type browser.cache.disk.parent_directory
For its value type the path to where you want to store the cache
Next locate the preference browser.cache.disk.enable
, it must be set to true, if it is not, double-click on it to change its value.
https://support.mozilla.org/ru/questions/768867