James A. Rosen
James A. Rosen

Reputation: 65232

How do I clear IE's cache when running Web Developer Express?

I'm trying to debug some IE-only issues for a site I'm developing. I'm running WDE because there's no Firebug for IE. I want to see whether some changes fix a bug, but no matter what I do, IE never picks up my changes. I've tried all of the following:

Any help? Are there some cached files somewhere on the drive I could clear out?

Upvotes: 2

Views: 4238

Answers (3)

Robert Claypool
Robert Claypool

Reputation: 4312

IE Developer Toolbar has "Clear Browser Cache ..." and "Clear Browser Cache for This Domain ..." menu items.

Upvotes: 3

Alexander Chernosvitov
Alexander Chernosvitov

Reputation: 698

Add this:

window.applicationCache.addEventListener('updateready', function (e)
{
  if (window.applicationCache.status == window.applicationCache.UPDATEREADY)
  {
    window.applicationCache.swapCache();
    if (confirm('A new version of this site is available. Load it?'))
     window.location.reload();
  }
}, false);

I found this solution somwhere in the Net. Sorry, but I don't remember the author. It works for me when I debug Web App with JavaScript in IE.

Upvotes: 0

TJ L
TJ L

Reputation: 24452

Have you tried ctrl+f5? It reloads the current page and clears the cache. If even after that your changes don't propagate, the problems in your code.

Upvotes: 0

Related Questions