sgbtnw
Last Updated: February 25, 2016
·
5.827K
· alanthing
3647818866d8fc48e8176c04b5a77efc

Chrome Cache in RamDisk on OS X

https://github.com/alanthing/ChromeOSXRamDisk

Simple script to create a RamDisk and symlink Chrome's cache folder to it. Best used with the included plist to run on user login before Chrome runs.

Say Thanks
Respond

5 Responses
Add your response

3090
0200df25bb410a5bc96f6905de423cd4

works in mountain lion? great looking site btw.

over 1 year ago ·
3092
0200df25bb410a5bc96f6905de423cd4

hmm.. doesn't look like it's working. I'm monitoring the size of /Volumes/RamDiskCache using "du -h ." while watching 1080p youtube videos and it's still only showing about 100MB after two 5 minute videos...

over 1 year ago ·
3093
0200df25bb410a5bc96f6905de423cd4

I'm looking at ~/Library/Application Support/Google/Chrome and it looks like the bulk of stuff is stored there no? Any harm in moving this to the RAMDisk and symbolic linking it?

over 1 year ago ·
3094
0200df25bb410a5bc96f6905de423cd4

On second the thoughts probably not a good idea since some permanent preferences are stored there. Any other ideas on reducing lag? The problem I'm facing is that when chrome has not been the foreground app for a while, then immediately after switching to it, mouse and key presses do not respond for a good 1 or 2 seconds. This happens even tough my apps and os are on an Ssd. Any ideas?

over 1 year ago ·
6557
3647818866d8fc48e8176c04b5a77efc

@thetrystero re: your second comment: YouTube videos are sent straight to the browser without caching, I think. I'm not entirely sure how Chrome's cache is determined. And, re: your fourth comment: I don't think the lag has to do with the RAMDisk; others and myself have been using this script for months and not had that symptom. I'd look at your plugins and extensions and troubleshoot by disabling one at a time until the problem goes away.

over 1 year ago ·
Filed Under