Change Google Chrome cache size on OS X
How can I change the cache size Google Chrome uses? ON OS X? I've found countless posts how do to things on Windows but couldn't really figure out from that how to do things on os x.
Help will be highly appreciated, thanks.
Solution 1:
You would have to launch it from the command line with the following flag --disk-cache-size=524288000
, where 524288000
is the upper limit of what it could be set to.
You could try to make a script that launches it with the augment.
Something like:
#!/bin/sh
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disk-cache-size=524288000 &
Then name it with a .sh
extension, and chmod u+x /path/to/file.sh
and you should be good.
Solution 2:
You could try to create a plist file com.google.Chrome.plist in /Library/Preferences with following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DiskCacheSize</key>
<integer>524288000</integer>
</dict>
</plist>