3 ms·
The problem with this is that browsers that are older than IE8 don't support it, so if you're still targeting those users you're SOL on this method.
by jonursenbach 15y ago
The problem with this is that browsers that are older than IE8 don't support it, so if you're still targeting those users you're SOL on this method.
- jonhohle 15y agoI've used this technique since 2006 or so with IE6. The only concern I know of relates to using odd port numbers without a protocol in IE (but I don't think this is a concern if the protocol is relative). At the time, every other browser tested worked as well (not that that was much of a shock). I don't have a copy of IE6 to test on at the moment, but what makes you think IE8 is required for relative protocols?
- ryanpetrich 15y agoIE6 will also fetch some resources twice if they are protocol-relative URLs
- justincormack 15y agoThat doesn't wound like a shopstopper... optimising performance for IE6 is kind of pointless..