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
- Quickly Clear the Google Chrome Cache Using Script
- How to Clear the Thumbnail Cache in Windows 7 and Windows Vista
- Thumbnail Preview Not Shown for Pictures in Vista?
- Enable or Disable Thumbnail Preview for PDF Files
- How to Rebuild the Icon Cache in Windows Vista and Windows 7
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?




