Archived topic
How to optimize site better for mobile
5 replies · Started by Usman on December 29, 2021
Hello there,
I moved from genesis framework to GeneratePress. The main concern was PageSpeed Insights for mobile. I was not happy from the performance of genesis for mobiles.
Now, I made every change I need to in my site and moved towards speed optimization. The GeneratePress give me better results for mobile, but these are still improveable. You can check here: https://pagespeed.web.dev/report?url=https%3A%2F%2Fsmartkitchens.review%2Fbest-charcoal-grill-under-500%2F
I am using litespeed cache plugin for lazy loading, and for:
- CCSS Per URL: ON
- Generate UCSS: ON
- Inline CSS Async Lib: ON
- JS Combine External and Inline: ON
- Load JS Deferred: Delayed
For cache, I am using cloudflare plugin. Further, I enabled CSS, HTML, Javascript minification ON in CloudFlare settings.
I am looking forward, if anyone can assist me getting better results for mobile.
Thanks in advanced.
Usman
Hi there,
couple of main contributors that jump out at me:
1. Fonts - google font API can slow things down significantly.
You can look to host them locally:
https://docs.generatepress.com/article/adding-local-fonts/
Or the extreme case is to just use System fonts.
2. 3rd Party Scripts - in your PSI report you will see several under:
Reduce the impact of third-party code
So you may need to review your Load JS Deferred: Delayed settings.
Hello David, thanks for replying.
How can I disable Google Fonts and use system fonts? I tried different plugins and that didn't work.
Further, I changed JS settings; I encourage you to check once again.
Looking for further recommendations.
Usman
Regarding fonts.
In the Customizer > Typography if you DO NOT select or set any Google font in the settings the GP will not load them, and instead the browser will use its system fonts.
JS changes look good - i can see a significant PSI improvement and Scripts are no longer top of the list of improvements :)
Hello David,
Thank you for your reply.
I am feeling happy to share the final results. I encourage you to check once the PSI once again.
Now, I am completely happy with GeneratePress. :)
Thanks Again.
Usman
Looks great to me - Glad to be of help!!