Archived topic
Slow site speed
15 replies · Started by Martins on June 14, 2022
Hi my GP premium site speed is slow as per google, and as indicated by https://developers.google.com/speed/pagespeed/insights/ . I have contacted my website host, and they suggested that I reach you regarding this as I'm having issues owing to unused JavaScript/CSS and render-blocking resources. I have no idea what this means. Can you please help?
Hi Martins,
I see. To have a better understanding of the issue, may you kindly provide the link to the site in question?
You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hope to hear from you soon. :)
The link is skincareoss.com
Thank you for sharing the link to your site.
Upon checking, there are 3 rooms for improvement we can first look at.
1. Reduce unused Javascript
It seems that most Javascript are coming from Google. Whether, you’re using this for analytics, ads or something else, Google usually causes issues like this.
One thing we can try is to use a Caching/optimization like WP rocket for instance to delay/defer javascript resources: https://wp-rocket.me/google-core-web-vitals-wordpress/remove-unused-javascript/#:~:text=for%20unused%20JS.-,Removing%20or%20Reducing%20Unused%20JS%20Resources%20with%20Plugins,-You%20have%20different
This would also be a helpful article: https://onlinemediamasters.com/remove-unused-javascript-wordpress/#:~:text=8.%20Defer%20Or%20Delay%20Non%2Dessential%20JavaScript
Another optimization plugin which you may want to look at is: https://wordpress.org/plugins/flying-scripts/
2. Serve images in next-gen formats
Image formats like WebP perform better than other image formats when it comes to websites.
There are also image optimization plugins that can do this for you, or you can convert them manually on your own.
3. Use HTTP/2
You can reach out to your hosting provider with regards to this.
Hope this helps!
CAN U SUGGEST ANY IMAGE OPTIMIZATION PLUGIN I CAN USE PLEASE? I"LL REACH OUT TO MY HOST AND SEE IF THEY CAN HELP DEFER SOME OF THE UNUSED JAVASCRIPTS AS SUGGESTED.
THANK YOU SO MUCH
Are you able to assist with using WP rocket plugin to optimize my site? Thanks
CAN U SUGGEST ANY IMAGE OPTIMIZATION PLUGIN I CAN USE PLEASE?
I use this website before uploading the image:
https://imagecompressor.com/
Are you able to assist with using WP rocket plugin to optimize my site? Thanks
Unfortunately not - this is something you will need to check with WP Rocket's support team.
We use Autoptimize for our sites with the suggested settings here:
https://docs.generatepress.com/article/configuring-autoptimize/
I'm really confused at this point. If you look at the email trail and how it started, you'll notice that I was told to use WP rocket plugin to optimize optimize my website as I am looking at deferring some unused javascripts. Now you are saying to use autoptimize. Do they do the same thing by deferring/delaying javascript resources???
Secondly, will imagecompressor.com give me a plugin that will automatically serve WebP images or convert all images on my website into WebP images for optimization purposes?
Thanks
Sorry - I missed the part where Fernando suggested WP Rocket. If that's the case then you can give his solution a shot.
The https://imagecompressor.com/ simply compresses the image file and that's it. You would need to find a plugin that convert all image to WebP if that's a requirement. We don't have a specific recommendation for this so just test a few and see which one works for you the best :)
What's the difference between wp rocket and autoptimize? which is better at optimizing, in your opinion?
What do you know about "Converter for Media – Convert WebP and AVIF & Optimize Images | Ease image optimization" plugin. I saw it on wordpress. Will it convert pre-existing and new images automatically to webp images by installing it?
What’s the difference between wp rocket and autoptimize? which is better at optimizing, in your opinion?
I can't comment on this as they are not our products so we don't do a detailed analysis for them. All I can say is that we use Autopimize in our sites.
You can always try both (one by one) and do a site speed tests before and after.
What do you know about “Converter for Media – Convert WebP and AVIF & Optimize Images | Ease image optimization” plugin. I saw it on wordpress. Will it convert pre-existing and new images automatically to webp images by installing it?
I don't know anything about it unfortunately - please check with the support team of that plugin.
I personally use Imagify in conjunction with WP Rocket.
With Imagify you can add additional domains and set them to go over quota if you purchase the $99 yearly subscription. So unlimited domains for one account.
But if your needs are modest their “starter” plan is free but only allows a certain amount of use monthly I think.
I was advised by my website host that my domain has inbuilt stuff that does similar thing as WP Rocket and installing it may be conflicting.
My host uses Varnish which typically caches like WP Rocket does, I think another big host is similar. Anyway WP Rocket has a built in function of accommodate so one can get the benefit of the other features WP Rocket has.
Either way you know your host better than I do, so I would defer to them.