• Resolved Sai Praveen

    (@saip1540)


    Hi

    I have been trying to find speed of my website in Google Page speed insights and GTMetrix. On finding the results both were mentioning that I need to enable Enable text compression , Reduce initial server response time , Image elements do not have explicit width and height and Avoid an excessive DOM size.

    1. I did enabled the text compression in the server but it was not reflecting in the results ( I am using VPS Server from godaddy ). Is any way I need to do it by code.

    2. How can I reduce initial server response by code or plugins. Can we minify any js if possible.

    3. I have given images height and width but still its not getting reflected in the page speed results. I am not sure why.

    4. How can I reduce the Excessive DOM size. Can I do using code or plugin for that.

    Website URL : https://www.academiaerp.com/ for which I was trying to improve the page speed.

    Please any solutions will be really helpful

Viewing 1 replies (of 1 total)
  • 1. I did enabled the text compression in the server but it was not reflecting in the results ( I am using VPS Server from godaddy ). Is any way I need to do it by code.

    You can’t do it by code. The server needs to do it. Check in your browser tools and see, but if the server is set to compress output, it will be alright. Remember that Google doesn’t update the page speed results instantly… they care cached.

    2. How can I reduce initial server response by code or plugins. Can we minify any js if possible.

    Use a good caching plugin. The ones in this site are mostly very good, but some commercial ones can offer more options and better features. What you use is up to you, your needs and your budget.

    3. I have given images height and width but still its not getting reflected in the page speed results. I am not sure why.

    Again, results are cached, They won’t update straight away.

    4. How can I reduce the Excessive DOM size. Can I do using code or plugin for that.

    You can make the size if the page smaller. Remove unnecessary HTML tags, remove areas from the page, remove content, that sort of thing. That’s really the only way to do that.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I enable text compression with code’ is closed to new replies.