Page 1 of 1
Control Google`s Chrome browser cache and configs.
Posted: Fri 25 Jan 2013, 03:22
by sunburnt
These are CLI commands I found for Chrome:
Code: Select all
google-chrome --user-data-dir=( /PathTo/Configs.)
google-chrome --disk-cache-dir=( /PathTo/Cache )
google-chrome --disk-cache-size=( Cache size in bytes.)
I shut Chrome off and it`s cache size had climbed to 355 MB !
Then I restarted it with: google-chrome --disk-cache-size=20971520
( 20 MB cache size.)
Started Chrome up again and now the cache size is 3 MB and slowly climbing.
Posted: Fri 25 Jan 2013, 10:07
by gcmartin
Thanks for the cli commands. I can see usefulness to these.
Questions, if you dont mind my asking
- Which distro are you using?
- How much RAM is on your PC?
- Was there any unusual Chrome behavior leading up to your discovery?
- When you emptied the cache while Chrome was running, did it instantly climb back or go thru a gradual increase as you navigated?
It would be helpful if you could let us know what you see when Chrome reaches 20MB.
This would help my understanding.
Posted: Fri 25 Jan 2013, 22:56
by sunburnt
Good Qs gcmartin; The exact kind I`d ask...
I`m using PolarPup Puppy528-005, but I`ve tried it on a few others.
It works for me on any of the Ubuntu based Puppies, 524, and 528-3
Which makes sense as I downloaded the Ubuntu .deb from Google.
# It`d be interesting to know if it works on Slacko, some .deb pkgs. do.
500 MB, 2 GB swap on old PC. New PC is 1 GB. 2 GB swap ( same HD ).
As I said, like Firefox first it ran fast, then it got slower and slower.
Firefox I shut caches off and it was fast like a new install again.
Same behavior for my Chrome AppPkg, it now run like new again.
And here I thought a cache was supposed to speed it up.!
Over 2 days of use the cache is now 27 MB. I`ll watch it and report it.
I was surprised that the size option was to be in bytes, it`s usually KB.