• The reason I am asking is because I am using ngx_pagespeed on my server to optimize and combine CSS files and according to the people supporting ngx_pagespeed say the logic is that if someone has put an id on an element it’s because they intend to reference it with css or js, and so they should leave it alone. This means no inlining or combining.
    I believe they *do* inline JavaScript and Images with IDs but in that case they can leave the id on the inline script/img tags while in the case of CSS the tag-type changes when they inline from ‘link’ to ‘style’, so they don’t inline in that case.

    Any ideas/thoughts on this?

  • The topic ‘Does wp_enqueue_style add an ID to link rel =stylesheet’ is closed to new replies.