“I was searching for ways to limit the wear of my SSD (since each cell has a limited lifetime with regards to writes). One solution was to store the Safari cache on a RAM drive which will only be written to disk at logout,” QuickSander reports via Macworld’s Mac OSX Hints.
QuickSander reports, “Several hints on this site describe a way to store Safari cache on a RAM drive. However, none seemed to work for me because some RAMdrive creators were not available for download anymore (EsperanceDV) [and] other scripts did not provide a way to store the cache to disk at logout.”
QuickSander reports, “Therefore, I created [a] Mac OS X application (which is actually a simple Bash script), which you can place in your login items which will create a RAM drive and store/restore Safari cache on login/logout… Actually you can store anything to the RAMdisk and the app will restore it on login.”
Full article here.