Obscure bugs revisited: IE, HTTPS and plugins. Filed for future reference: IE breaks mysteriously if you serve it up plugin content (e.g. Flash) over HTTPS with a no-cache header—it deletes the file from cache before the plugin software gets a chance to open it.
Applies to simple downloads as well. You can't use the content-disposition header to tell IE to download a file (rather than display it) if you're serving it over HTTPS with no-cache. You get a really unhelpful error message too.
IE6 over HTTPS has a problem with background images as well.
If you remove an element from the DOM with a background image it removes it from the cache and doesn't display the image whenever you use it thereafter.
The fix is to have a style rule that sets background to none if the parent element has a particular class, and then set that class on the element before you remove it.
IE rocks!
Henrik Vendelbo - 30th May 2008 12:12 - #