I have created a simple website with a Wordpress template because I’m not an expert like most of the forum members, I have no idea of code and no budget.
I supposed that, being so simple, it wouldn’t be difficult to achieve a reasonable page speed… I was wrong. I have adopted measures to improve the web (images size, Cloudflare CDN, W3 Total Cache plugin), but I don’t see relevant and consistent results:
I have reviewed the test details and I have the impression that I can’t solve the problems because they depend on the template or on the hosting. Am I right or did I arrive to that conclusion because of my ignorance about programming?
I have added the code (thanks ajm_76) to the functions.php of my child theme but I receive an error message because of the sign just before the line “add_filter( ‘script_loader_tag’, ‘js_async_attr’, 10 );”
Parse error: syntax error, unexpected ‘}’ in /…/functions.php on line 27.
Thanks, GreenGecko. I already had installed W3TC but I couldn’t enable Minify because Cloudflare says: “Do not use more than one caching plugin on your site (don’t use Super Cache and W3TC at the same time, for example). A conflict will eventually arise”. I’ll try to configure W3TC Minify instead of Cloudflare Minify.
Regarding the urls, I informed Google that my preferred domain is with www and there is a redirection from raw to www urls. I thought it was everything I had to do.
Re-Test your web host. You should choose speed faster, You’re running Wordpress, so you should check your plugins and theme to make sure that none of them are slowing things down.
You should install W3 Total Cache plugin since you’re using Wordpress, and see how that helps.