Conditional comments can slow down all versions of IE

Created on 14 June 2011, over 13 years ago
Updated 3 July 2024, 6 months ago

Here's an interesting bug. :-p http://webforscher.wordpress.com/2010/05/20/ie-6-slowing-down-ie-8/

It seems the presence of conditional comments in the midst of CSS links can cause IE8 (unsure about IE9) and earlier to pause loading of CSS for some indeterminate reason. And, presto! performance problem.

The solution is to put a conditional comment before any CSS is loaded on the page.

We could add a conditional comment to the $head variable in html.tpl.php.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΉπŸ‡ΌTaiwan johnalbin Taipei, Taiwan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024