Change Google Chrome cache size on OS X

by AreusAstarte   Last Updated July 11, 2018 02:01 AM

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.



Answers 3


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.

demure
demure
June 01, 2013 16:44 PM

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>
noname
noname
January 03, 2015 09:10 AM

You can try

defaults write com.google.Chrome DiskCacheSize -integer 3145728000

to set it to 3GB.

iconoclast
iconoclast
July 11, 2018 01:33 AM

Related Questions




How Can I Force Google Chrome To Cache Images?

Updated May 16, 2015 21:00 PM

Set Google Chrome media cache size

Updated December 22, 2017 16:01 PM