Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter janardhan

    (@janardhanjp)

    In 10Web Blog I got the following narration about Render blocking CSS:

    The “Defer” is a Boolean attribute.  It works only for external script documents. When it is present, the script is executed after the page performs the parsing. On the other hand, if “async” is present, the script is executed asynchronously with the rest of the page. In other words, “async” works while the page continues parsing, while “defer” works when the page finishes parsing.

    If we don’t use “async” or “defer” for the external scripts, the script will execute immediately before the browser continues parsing the page. This will create a “Render-Blocking” flag for that page. It is also important to note that “async” and “defer” will have no effect on the inline code. The best technique is to inline the “Above the Fold” content and defer the “Below the Fold” content.

    I request WP meteor team to sort it out.

    Thread Starter janardhan

    (@janardhanjp)

    When I tried to fix the render blocking problem with Debloat Plugin it is working, the FCP has come down but CLP has increased and the container is shifting towards left of the page. Now I have unticked the css optimization but enabled Remove unused css in Debloat plugin. Still the Render blocking is showing like this:

    <link rel='stylesheet' id='astra-menu-animation-css' href='https://www.samskrutijanardhan.com/wp-content/themes/astra/assets/css/minified/menu-animation.min.css?ver=4.3.1' media='all' /> <style id="debloat-wp-block-library-css">
    <link rel='stylesheet' id='astra-theme-css-css' href='https://www.samskrutijanardhan.com/wp-content/themes/astra/assets/css/minified/style.min.css?ver=4.3.1' media='all' />
    <link rel='stylesheet' id='astra-child-theme-css-css' href='https://www.samskrutijanardhan.com/wp-content/themes/astra-child/style.css?ver=1.0.0' media='all' /> <!--[if IE]>
    
    
    
    • This reply was modified 2 years, 8 months ago by janardhan.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Render blocking CSS and Unused CSS’ is closed to new replies.