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 (Beta) Official Build 1798, under Windows XP and Windows Vista systems.
IMPORTANT: Running this script clears the bookmarks in Google Chrome. This is because the bookmarks are stored in the same file where History is stored. Hope this changes in the final version of Google Chrome.
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.
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)
(Windows Vista)
Copyright © 2008 Ramesh Srinivasan. All rights reserved.
RELATED POSTS
- How to Clear IE Temporary Internet Files Cache for a Particular Domain
- Search Results
- Thumbnail Preview Not Shown for Pictures in Vista?
- Show Stop and Refresh Buttons Before Address Bar in Internet Explorer 8
- Clear Recent Documents History in a Single Click in Windows XP and Vista
- Enable or Disable Thumbnail Preview for PDF Files
- “Clear Recent Items List” Option Missing When You Right-Click on the Recent Folder
- How to Rebuild the Icon Cache in Windows Vista
- Add CCleaner Button to Internet Explorer Toolbar
- Add Quick Launch (Create Shortcut) Option to the Send to Menu in Windows XP/Vista


Like this site? Make sure you
October 4th, 2008 at 7:57 pm
Nice little script, worked perfect. thanks for sticking it on here.
September 16th, 2008 at 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…
September 15th, 2008 at 10:40 am
Isn’t it better to use incognito mode? Or just Clear the Browsing data using the “Customize Chrome” button?