Quickly Clear the Google Chrome Cache Using Script

Here is a VBScript to automatically clear the cache in Google Chrome. This script has been tested with Google Chrome Final version 1.0.154.36, under Windows XP and Windows Vista systems.

This article and the Script were last updated on Dec 12, 2008.

Download delchromecache.zip and save to Desktop. Unzip the compressed file and extract delchromecache.vbs to a folder (e.g. D:\Scripts). Double-click delchromecache.vbs to clear the cache in Google Chrome. If Google Chrome browser window is open, the script fails to clear the cache and displays a message box.

Note that this script does not clear stored passwords and Cookies by default. Also, it does not clear the Bookmarks.

Customizations

1. To run the script in silent mode (no message windows), open delchromecache.vbs using Notepad and change the code in line #9 from:

intShowMessageBox = 1

to

intShowMessageBox = 0

2. To clear stored passwords and Cookies, change the code in line #8 to:

intClearPasswords = 1

More Information

Google Chrome cache (for the default profile) is stored in the following folder:

(Windows XP)

%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default

(Windows Vista)

%LOCALAPPDATA%\Google\Chrome\User Data\Default

Bookmark this Page!

BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |

Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

4 Responses to “Quickly Clear the Google Chrome Cache Using Script” Subscribe to comments!

  1. said this on Saturday, November 22nd 2008 8:41 am

    Firefox is slower than Chrome, i realize, but there’s some tab features i can’t do without that only FireFox has

  2. Chrome Lover
    said this on Saturday, October 4th 2008 7:57 pm

    Nice little script, worked perfect. thanks for sticking it on here.

  3. said this on Tuesday, September 16th 2008 4:53 pm

    i keep learning about more and more little advantages and features with Chrome, with privacy, for example; now if only they would take care of it’s cookie management glitches…

  4. said this on Monday, September 15th 2008 10:40 am

    Isn’t it better to use incognito mode? Or just Clear the Browsing data using the “Customize Chrome” button?

Leave a Reply