Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any way to increase the cache size of google chrome in ubuntu 11.10 so that frequently visited pages load faster, im using a very-slow internet connection so i badly need this

share|improve this question
I'm going to stick my neck out here but I suspect that increasing the cache size over the default may not significantly improve things. What's more, pages often have fresh content and rotate ads thereby diminishing the utility of cache. You may have more luck in getting pages to "load" faster by blocking unnecessary items from downloading but that's another issue not relevant to askubuntu. – user25656 Feb 15 '12 at 15:22
up vote 10 down vote accepted

Absolutely. An easy fix to this is to add the following argument to the command.

chromium-browser --disk-cache-size=n

say n is 500000000 this would be 500 MB

You can check to make sure it increased it by typing the following in your browser and then looking at the Max Size value.


share|improve this answer
Cf. <>; and the links there, which also mentions --media-cache-size. – imz -- Ivan Zakharyaschev Oct 27 '12 at 4:27

Start chrome with the following option:


Where n is the cache size limit in bytes.

share|improve this answer
Does this PERMANENTLY increase the Cache size or do i need to do this everytime i use chrome? – kernel_panic Feb 16 '12 at 14:34
it's one time. if you want it permanentely edit you chrome launcher. – Rinzwind Feb 16 '12 at 14:46

Chrome now has two startup switches that you can use:

--disk-cache-dir and --disk-cache-size

Simply close Chrome, right-click your Chrome shortcut, click Properties, and then in the field labeled "Target:", make it look something like this:

"" --disk-cache-dir="CACHE_DIR" --disk-cache-size=N

Where 'CACHE_DIR' is the new cache location, and 'N' is the cache size limit, in bytes.

Use whichever switch you need, or both. Keep in mind, however, that these features may not be completely stable yet. But you probably shouldn't have any problem with using them.

And to anyone who's interested, I caught gander of the existence of these switches directly from a source code file for Chrome.

share|improve this answer
You should alter this for a sollution for Ubuntu not windows. – Rinzwind Feb 15 '12 at 15:12
And a slightly more aesthetic presentation of switches can be found here: List of Chromium Command Line Switches – user25656 Feb 15 '12 at 16:06
where is chrome shortcut? where is prpperties? – kernel_panic Feb 16 '12 at 14:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.