Thursday, October 27, 2011

Mysterious IE9 Redirect

It seems that all the modern browsers support redirect caching.  When you're browsing around the intarwebs this makes sense.  When you're developing a site, however, and testing 301 and 302 redirects, this becomes a hurdle which you must overcome.

Using Internet Explorer (I'm on version 9) Developer Tools, the "clear cache" button doesn't quite do the job!  Cached Redirects are not removed.  If you download and install Fiddler, though, there's a "clear cache" option that does a more complete cleanup.

Hopefully you didn't spend hours trying to track down in your code a redirect that wasn't there to begin with!

Here's an article that describes it: http://www.sadev.co.za/content/redirected-down-one-way-clearing-internet-explorer-host-redirect-cache.