29
5
What is Chrome default cache size limit? Where it can be found?
29
5
What is Chrome default cache size limit? Where it can be found?
29
There's isn't a UI to set the cache size limit, you'll have to do so using command line parameter
--disk-cache-size=xxx (in bytes)
You can check the Current Cache size & Max size by heading over to chrome://net-internals/#httpCache
page
Currently, Chrome ignores the values above 2GB ~ 2000000000
2
There isn't a default size for Cache in Google Chrome.
The maximum size of the cache is calculated as a percentage of available disk space. The default size is calculated at start time.
From: http://gent.ilcore.com/2011/02/chromes-10-caches.html
The maximum size of the cache is calculated as a percentage of available disk space. The contents can be viewed at chrome://net-internals/#httpCache. It can be cleared manually at chrome://settings/advanced or programmatically by calling chrome.benchmarking.clearCache() when Chrome is run with the --enable-benchmarking flag set. Note that for incognito windows this cache actually resides in memory.
Also, the article explains other 10 type of Caches like Memory Cache, DNS Cache etc.
chrome://net-internals/#httpCache doesn't show me anything.... it says capturing, but nothing ever shows up – Michael – 2018-07-06T04:24:58.760
@Michael - Which version of chrome are you using? – Abhinav Galodha – 2018-07-06T16:45:53.227
67.0.3396.99 (64-bit, Linux) – Michael – 2018-07-06T17:42:02.977
1
If you want to set this in Group Policy for Google Chrome, you can use the policy templates available from http://www.chromium.org/administrators/policy-templates with descriptions available on http://www.chromium.org/administrators/policy-list-3 . Note that description page also contains lots of info on command line parameters too.
– BeowulfNode42 – 2014-08-19T04:03:45.9304Yeah, but what size it will have by default, if we do not set it using command line parameter? – demidov-alex – 2012-01-16T13:48:25.307
@demidov-alex there isn't a default limit, it starts at zero and goes up to 1GB, I believe – Sathyajith Bhat – 2012-01-16T14:01:10.413
2It will be good to find out precision value. – demidov-alex – 2012-01-16T16:42:46.717
12I know this is an aging question, I just want to add for those arriving here via a search engine that simply adding this parameter won't clear the existing (possibly oversized) cache. It will, however, make chrome throw an error in the console about an invalid cache size (because the currently cached data is larger). You'll have to dump the cache directory manually. On Linux it's at ~/.cache/google-chrome (deleting this whole dir is safe). – DanielSmedegaardBuus – 2012-10-03T11:52:01.183
2Thanks for addition. I think it will be better to add this info to the answer. – demidov-alex – 2012-11-02T20:56:04.380
Maybe on older releases, now the cache is purged correctly on first startup. – Giovanni Toraldo – 2013-02-26T16:36:42.400