Move the disk cache to a faster or larger location
Many Windows users like to locate their disk cachefiles on a separate hard drive from Windows. This can improve the performance of Windows or whatever program is using the cache, or it can free up space on a primary partition. (The disk cache should not be confused with the RAM cache described above.)
To move Firefox’s Disk Cache:
1. Open Firefox
2. in the url form (the one where you type the website address), type about:config. Press Enter.
3. Do promise Firefox that you'll not burn your PC in the process ^_^
4. On your left hand side, you'll see a list of Preference name.Right click on any of the Preference Names.
5. Choose New and String.
6. Type browser.cache.disk.parent_directory into the dialog box that appears
7. Click OK.
8. In the Value dialog box, enter c:\foldername, providing the foldername in which you wish the file to be located.
9. You may need to restart your Firefox to see the changes.
To move Firefox’s Offline Cache:
[In Firefox 3]
Follow the steps as described in the above section (To move Firefox’s Disk Cache), replacing browser.cache.offline.parent_directory
Resources
Moving your Firefox’s Cache Files, Tweaking Firefox Tips&Tricks Disclaimer
Disclaimer applies.