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

  • 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

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.


Start chrome with the following option:


Where n is the cache size limit in bytes.

  • 1
    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
  • 1
    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:

"...chrome.exe" --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.

  • 2
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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