SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Jan 2010
    Posts
    638
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Cinditional comments

    Sitepoint Members,
    I read this tip on another site. It sounds like it could be useful but I'm not sure what it means.

    "Conditional comments can block resources from loading in parallel in Internet Explorer. Place an empty conditional comment before any external resources to eliminate the blocking behavior."

    What does it mean?

    Thanks,

    Chris

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,671
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    Chris,

    That sounds like
    Code:
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="css/IE.css" />
    <![endif]-->
    but it also sounds like someone was drinking something other than Kool-Aid!

    Moderators - not sure where this belongs but it's not in Apache.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,095
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    There is a very detailed explanation over here: http://www.phpied.com/conditional-co...ock-downloads/
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  4. #4
    Non-Member bronze trophy
    Join Date
    Nov 2009
    Location
    Keene, NH
    Posts
    3,760
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Just another reason that IMHO if you have to resort to conditional comments for markup or css, you're using the wrong markup or css... which is why most every time I see that nonsense, I assume the page it's on is built using flawed methodologies or is chock full of 'gee ain't it neat' useless bloat.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •