Posted By

paul66 on 01/27/11


Tagged

html performance pageload Optimisation


Versions (?)

Faster page load hack


 / Published in: HTML
 

URL: http://www.phpied.com/conditional-comments-block-downloads/

This empty conditional comment hack is used to basically increase performance of your site. When conditional comments are used on your 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.