• Resolved MNurse

    (@mnurse)


    Hi –
    I’ve been troubleshooting this issue, where I see text for a few seconds before the website fully loads. I’d appreciate any help resolving.

    Andrew

    • This topic was modified 5 years ago by MNurse.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    It looks like Autoptimize doesn’t “see” the <title> tag which is uses to inject the autoptimized CSS Andrew. The <title> tag is present though, so I suspect the title itself is also “injected” later, maybe by Yoast or something similar.

    As a workaround you can try below code snippet;

    add_filter('autoptimize_filter_css_replacetag','dailynurse_css_replacetag',10,1);
    function dailynurse_css_replacetag( $replacetag ) {
      return array("<link","before");
    }

    hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Text/script loads prior to website appearing’ is closed to new replies.