Posted By

Huskie on 01/12/12


hack ie page conditional load internet explorer comments faster

Versions (?)

Faster page load hack - IE conditional comments

 / Published in: HTML


This empty conditional comment hack is used to basically increase performance of a website. When conditional comments are used on a site, for example, for an IE6 conditional stylesheet, it will block further downloads until the css files are fully downloaded, hence increasing load time. To solve this issue, an empty conditional comment, like below, is used before any CSS is loaded in the document, and the problem will be solved!

  1. <!--[if IE]><![endif]-->

Report this snippet  

You need to login to post a comment.