• Hi,
    We are using ASTRA theme but when we run goggle pagespeed insight it is showing this error-
    Avoid an excessive DOM size
    Maximum Child Elements
    <body itemtype=”https://schema.org/Blog&#8221; itemscope=”itemscope” class=”home blog wp-custom-logo ast-header-break-point ast-plain-container ast-right-sidebar astra-2.3.5 ast-header-custom-item-inside group-blog ast-inherit-site-logo-transparent”>
    value – 26
    Remove unused CSS
    https://use.fontawesome.com/releases/v5.13.0/css/all.css?ver=5.3.3 (use.fontawesome.com)
    How to resolve this issue?
    Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @zotezo

    The dom size depends on the number of widgets, plugins, or even the sections that we use on a page. Please refer to this article.

    To remove unused CSS, you can activate the CSS File Generation which is available on Astra Pro. Or you can use a plugin. Please refer to this article.

    Anyway, I found an answer from a plugin author about removing unused CSS in a thread, which I think is worth reading. Here is the link.

    Kind regards,
    Herman

    Thread Starter zo

    (@zotezo)

    We are using Astra theme.
    As google as recently introduce Core Web Vitals and our Rank is showing drastically changes in Mobile
    7,573 poor URLs,54 URLs need improvement,7,651 good URLs
    In desktop
    7,517 poor URLs,0 URLs need improvement,21 good URLs
    My Pagespeed score https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.zotezo.com%2F&tab=desktop
    on Mobile is 41 in Mobile and 86 in desktop
    Lighthouse Score-32
    https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fwww.zotezo.com%2F#performance
    I am using google AMP plugins for Mobile.
    How to resolve the issue?
    How to increase google pagespeed insight rank in mobile?
    Thanks

    Hi @zotezo

    ?I did a test to your site on the Google PageSpeed Insight and the result for the mobile was 62 and not 41. Please refer to this screenshot. And tested on Lighthouse, the result was 65, not 32. This is the screenshot for the same.

    Besides that, if I take a look at the ?test result, the things that need to be optimized are not coming from Astra. Just so you know that ?a theme alone does not decide the speed of the website. There other important factors such as the hosting you choose, other plugins used on the website, how a page is designed, sized and compression of images, and many others.
    ??
    ??These are two good articles you can use as a guide to speed up and optimize your site:

    ???I hope the information will help.
    ?
    ???Kind regards,
    ?Herman ??

    Thread Starter zo

    (@zotezo)

    Hi,
    For any pages like
    https://www.zotezo.com/connect/best-condoms-in-india/ if I check Lighthouse score it is showing error related to
    Maximum Child Elements
    <div class=”entry-content clear” itemprop=”text”>
    173

    I have checked the code
    wp-content/themes/astra/template-parts/content-page.php? line number 46
    Also these issue –
    Maximum Child Elements
    <body itemtype=”https://schema.org/Blog” itemscope=”itemscope” class=”home blog wp-custom-logo ast-header-break-point ast-plain-container ast-right-sidebar astra-2.3.5 ast-header-custom-item-inside group-blog ast-inherit-site-logo-transparent”>
    How to resolve the issue?
    Also I have seen that?https://wpastra.com/astra-2-1/
    You are providing CSS file generations in ASTRA Pro. Though we are Pro customer But We want to use it separately with ASTRAis it possible to provide plugins separately?
    Thanks.

    Hi @zotezo,

    I noticed that you opened a ticket for the same query through our Support Portal and one of our support agents had responded it. As mentioned in the Forum Guidelines, this forum is intended to ?help the Astra free users, so would you please mark this topic as resolved and continue the conversation there?.
    ?
    ???Kind regards,
    ?Herman ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error in Google Page speed insights’ is closed to new replies.