When designing Web pages, you may need to frequently empty the browser cache so that the browser reads the updated stylesheets and scripts, instead of reusing the ones from the cache. Here is a way to clear the Internet Explorer cache for a particular domain so that the cached items for other domains remain unaffected.

Internet Explorer Developer Tools

Internet Explorer 8 Developer Tools has an option which clears the Temporary Internet Files cache for a particular domain (including the sub-webs). Start Internet Explorer 8 and open the Web site in question. Press the {F12} key to launch Developer Tools. From the Cache menu, click Clear Browser Cache for this Domain…

Earlier versions of Internet Explorer

If you’re using Internet Explorer 7 or earlier, download the IE Developer Toolbar and install it. After installing the Developer Toolbar, restart Internet Explorer and click the Developer Toolbar icon in the command bar to display the Developer Toolbar.

Editor’s note: Although the above does the job, what I’m really looking for is a script or command-line that does it easily. Using a cache cleanup tool like CCleaner can help as well, but they remove the cache for all sites. This is not an option if you want to preserve the Temporary Internet Files cache for other Web sites.

Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

Leave a Reply