Re:"//" should indicate a URL
by jonursenbach on Monday June 27, 2011 @01:36AM
(#2700276)
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.
[ Parent
| on HN ]
I'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?
Re:"//" should indicate a URL
by ryanpetrich on Monday June 27, 2011 @03:23AM
(#2700469)
IE6 will also fetch some resources twice if they are protocol-relative URLs
Re:"//" should indicate a URL
by justincormack on Monday June 27, 2011 @05:58AM
(#2700771)
That doesn't wound like a shopstopper... optimising performance for IE6 is kind of pointless..