Firefox from RAM Disk (macOS only)
Motivation
Firefox is known for generating significant data writes, even with disk caching turned off. This lightweight app reduces SSD wear by running the Firefox profile from a RAM disk.
How it works
- Auto detects default Firefox profile and its folder size.
- Creates RAM disk sized accordingly.
- Copies Firefox profile files to RAM disk using
rsync. - Launches Firefox with the RAM disk profile.
- Waits for Firefox termination
- Sync changes from ramdisk back to disk
Requirements
- macOS
- Firefox installed in
/Applications/Firefox.app - Swift & Cocoa framework
Usage
Build and run the app from Xcode.
License
MIT License
