Tagged: Configuration
-
AuthorPosts
-
January 26, 2024 at 8:41 am #123619Carly CookeGuest
HTML Minification in W3 Total Cache:
I am already using W3 Total Cache, and I have enabled HTML minification within its settings. This is supposed to help reduce the size of my HTML files by removing unnecessary spaces and characters, but I’m still getting the following error on my site health report:
“The main factors that negatively affect your HTML page generation time are your server’s performance and the density of your webpage’s HTML code.
So, try to clean up your webpage’s HTML code. If the problem is with your web server, you should think about moving to a better hosting service with more resources.”Is there a specific setting I missed within the Minification area that will fix this issue?
January 26, 2024 at 8:52 am #123643Marko VasiljevicKeymasterHello Carly,
Thank you for reaching out and I am happy to help!
In W3 Total Cache, the HTML minification is just one of the options that can improve the performance of the website. This is a straightforward option; you only need to enable it within the Minify section of the plugin.
However, The vague explanation from the Site Health is misleading the focus of your question. Also, you should take into consideration the inline JS and CSS, and also the number of the JS and CSS files that are embedded in the HTML that also should be minified/combined.
The main reason is the TTFB or time to the first byte which is in your case more than 3 s.
I would suggest you run the setup guide in the W3 Total Cache settings Performance>Setub guide and see which caching methods are available on your server and what is the difference between caching and not caching the pages.
Also, please let me know where the website is hosted and if you are on a shared hosting with limited resources.
Thanks! -
AuthorPosts
- The topic ‘Slow Load Speed’ is closed to new replies.