Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I don't even use this browser normally, just for testing purposes, and the directory size of "Chrome" in "AppData\Local\Google" is like 500 MB.

Is there a way I can disable page cache in Chrome?

share|improve this question

7 Answers 7

up vote 11 down vote accepted

You can clear the cache regularly.

Wrench icon > Options > Under the hood > Clear browsing Data

or

Wrench Icon > Tools > Clear browsing Data

Source of information

Once the cache is cleared use Incognito mode to disable caching while browsing.

The easiest way to disable browser caching in Google Chrome is simply to use its "Incognito Window" mode, similar to IE's InPrivate mode. Press CTRL + SHIFT + N to open up the relevant tab.

Some other suggestion here for normal mode, not sure if any of them work.

share|improve this answer

Press f12 to open the developer console. Then, under the elements tab, click the gear in the lower right corner: gear chrome dev console. On the left, there is an option to disable cache.

enter image description here

share|improve this answer
5  
Please note that this only has an effect while the developer tools are open. –  Oliver Salzburg Dec 9 '12 at 11:32

Temporary Clearing

If you hit <Ctrl> + <Shift> + <Del> it will automatically bring up the clear cache screen.

The other option is hit F12 to reveal the developer panel and then hit the gear in the corner

Clear Cache Screen for chrome

share|improve this answer
    
In the develper menu -> gear -> ... I found an option to DISABLE the cache –  varesa Jun 6 '12 at 19:51

You can limit the disk cache size with a very small number (say, 1 byte) with an option:

--disk-cache-size=N

Where 'N' is the cache size limit, in bytes

Perhaps, another option is also useful for a similar purpose: --media-cache-size=1

I've tried --disk-cache-size=1 in my Chromium 17.0.963.1 (under Linux), and it has an effect: the size of the cache dir has reduced tremendously!

(Now I wonder whether it's possible to put this option into a configuration file, preferrably system-wide one -- so that it will be the default without me having to replace the menu and/or hiding the executable with my own script with this option. I would like it as a default on my system as a measure for more effective usage of my SSD.)

share|improve this answer

Just found out about this solution - you just start chrome under windows with --disk-cache-dir=nul parameter and enjoy. Works also under *nix system with /dev/null.

share|improve this answer

Try the Cache Killer extension, which effectively disables the browser cache.

Automatically clear your browser cache before loading a page. Can be enabled/disabled with a single mouse click.

This extension allows you to easily disable caching in Chrome. When Cache Killer is activated, it will clean your Browser Cache before every page load. With just one click you can disable or enable this feature.

share|improve this answer

The most effective way to disable caching in Chrome is to provide it with a cache directory that does not exist. D.Iankov answer helps but the full solution looks like this:

--disk-cache-dir="z:\" --media-cache-dir="z:\" 

You need to specify both cache directories to eliminate Chrome caching. On Windows, use the above line (if you don't have a z: drive) or use any other drive that does not exist. On Linux/MacOS, /dev/null will work instead of "z:\".

The above line needs to be added to the Chrome shortcut properties. To find the shortcut on Windows, press the Start button, click into the search window and type Chrome (don't press Enter). Wait for a shortcut to Chrome to appear. Right click on it and select Properties.

In the Google Chrome Properties window, find the field labelled "Target" and add the above line to the end of it. If the path to chrome.exe is surrounded by double-quotes, make sure that the above line is added after the closing double-quotes.

share|improve this answer

Your Answer

 
discard

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.