Archived topic
My site speed on mobile is very slow.
9 replies · Started by Camilla on November 2, 2021
I checked my site speed and found that the speed on mobile is very slow. According to Google PageSpeed Insights, the score on mobile end is 30-40. Here's the report from PageSpeed Insights about my site: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fmostechtips.com%2F&tab=mobile
I only used four plugins and the images are impressed before uploaded to images. So those two should not be the reason causing the slow site speed issue. I have no clues what else I can do to troubleshoot the site speed issues and improve the site speed. Would you please help? Thanks.
Hi there,
the major performance issue looks to be the adverts loading on the site.
You should use a plugin to defer the loading of the advert scripts.
Optimization plugis like PerfMatters and WP Rocket provide the option to defer loading 3rd party JS. Theres also dedicated plugins like Flying Scripts that do this.
I would focus on eliminating this as the issue before looking at other opportunities the page speed insights report provides.
Hi David,
I installed WP Rocket and enabled the "Load JavaScript Defferred" feature. But the site speed on both mobile and desktop got worse. Any further suggestions would be appreciated. Thanks.
Looks like some improvement has been made when i re ran your Page Speed Insight Test. Importantly the FCP and LCP are now great results!!
The Time to Interactive is now the only issue, and this is related to the Javascript files on the page - identified under Diagnostics:
Reduce the impact of third-party code
Reduce JavaScript execution time
How are you adding Adverts to your site ?
Hi David,
Thanks for your reply. I used the "Advanced Ads" plugin to connect to Google Adsense, and then enable Google Auto Ads in the Google Adsense dashboard. This is what I did to add the ads.
OK WP Rockets defer scripts requires you to TELL it what Scripts NOT to defer which can be a headache.
If you use the Flying Scripts plugin in its settings you can add keywords for deferring. The main one you want to add is:
adsbygoogle.js
and you can also try this one:
show_ads_impl_with_ama_fy2019.js
Hi David,
I used WP Rocket but not Flying Scripts. Can I add that code using WP Rocket?
I am not sure but i believe WP Rockets system works the other way ie. you have to specify the scripts you don't want it defer - which means going through each script on your site which is a bit of a pain.
Check with WP Rocket support as i am not familiar with it, and they may be able to help isolate just the ad scripts.
Ok. I'll check with WP Rocket support. Thank you David. You helped me a lot.
You're welcome!