Reducing HTML Page

#409075
  • Resolved Ghers
    Rank Math pro
    Content AI Starter

    Hello,

    I would like to reduce the size of the page your plugin is referring to in this section:

    The size of the HTML document is 59 Kb, over the average of 33 Kb and our recommendation of 50 Kb.
    First, remove any unnecessary tags from your markup. This includes developer comments, which are invisible to your users – search engines ignore the text in comments, too.

    Sometimes inline CSS is a culprit. A little inline CSS can help your page render faster. Too much will bloat the HTML file and increase the page loading time.

    You can reduce CSS repetition with HTML class and ID attributes. Often the same rules will be repeated across many page elements, embedded in each tag’s “style” attribute. You can extract them into a single “style” tag and use classes and ID’s to target each element.

    Removing white space can have an impact on your HTML page’s size. White space characters like carriage returns and tabs are ignored by the browser, but they make the markup easier for developers to read. So you should always strip them from your templates or themes before you use them in a production environment.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    To reduce the page size, and to speed up WordPress in general, follow this WordPress Speed Optimization guide.
    https://mythemeshop.com/blog/wordpress-speed-optimization/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Reducing HTML Page’ is closed to new replies.