Mac:Firefox Local Cache

From SASDocs

Jump to: navigation, search

John beat me at rock-paper-scissors so now I have to write this.

  1. We want Firefox to write its caches to the Public folder on the root of the local hard drive. If there isn't already a Public folder, create one.
  2. Open the Applications folder. Right-click (or Control-click) on the Firefox icon and choose Show Package Contents.
  3. Open the Contents folder.
  4. Open the MacOS folder.
  5. Open the defaults folder.
  6. Open the profile folder.
  7. Right-click (or Control-click) on the prefs.js file and choose Open With -> TextEdit. You may have to choose Other... and browse to TextEdit in the Applications folder.
  8. Add the following line to the prefs.js file
    user_pref("browser.cache.disk.parent_directory", "/Public/Firefox Cache Local");
  9. Now, delete the user's Firefox profile. It is located in /Users/username/Library/Application Support/Firefox/. Delete the Profiles folder and profiles.ini.
  10. Next time they launch Firefox, it will create a new profile for them with the new cache location setting. You can test this by deleting the local admin's Firefox profile and relaunching Firefox, then checking for the Firefox Cache Local folder & files.