• Resolved videofinanzas

    (@videofinanzas)


    Good afternoon;

    I want to use the CSS merge feature.

    It works fine; but I see that the merged file is placed in the HEAD before the “Title” and “Meta” tags.

    This negatively affects SEO ranking.

    It is not advisable to place CSS before the “Title” and “Meta” tags.

    Could you please improve this so that the merged CSS file and the critical CSS are placed after the “Title” and “Meta” tags.

    Thank you,

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Hai Zheng⚡

    (@hailite)

    That is a good point.

    It is a bit complex to compute the last meta tag in head section. Will consider it in next versions.

    Plugin Support qtwrk

    (@qtwrk)

    add_filter('litespeed_optm_html_after_head','__return_true');

    have you tried this filter? this should move our code to last position bfore </head

    Thread Starter videofinanzas

    (@videofinanzas)

    Okay, I’ll try that feature.

    However, it would be great if they implemented it in future versions.

    In my case, I use the LiteSpeed ​​Cache plugin for everything related to caching.

    But I minimize the CSS and combine it with another plugin called Asset CleanUp: Page Speed ​​Booster, precisely because that plugin places the combined CSS file after the “Title” and “Meta” tags, as it should.

    Look at the image I sent you of how it works with the Asset CleanUp: PageSpeed ​​Booster plugin. Notice that their combined CSS file is after the “Title” and “Meta” tags, and even after the “Rank Math” SEO script, which is perfect.

    https://drive.google.com/file/d/1TXyAr2OMY4YtvEumk2tI4w1PR4EpPlxm/view?usp=sharing

    Please implement this improvement in the LiteSpeed ​​Cache plugin so that I don’t have to resort to optimizing CSS with other plugins.

    Thread Starter videofinanzas

    (@videofinanzas)

    And please do the same with the combined scripts file.
    Place it below the “Title” and “Meta” tags.

    Plugin Support Hai Zheng⚡

    (@hailite)

    Seems we should also place it below <script type="application/ld+json"> tag.

    Thread Starter videofinanzas

    (@videofinanzas)

    When will this be implemented?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.