I am building a personal blog using Hugo and deploying it to Netlify, and I ran it, out of curiosity, through the Chrome Lighthouse. To my surprise, the results for desktop and mobile differ dramatically.
The blog is not optimized (yet) for mobiles, but it uses mostly relative sizes so the aspect on the mobile is what you would see by choosing "see desktop version" on a mobile Chrome.
There are three results that are particularly impacting: First Contentful Paint (FCP), Largest Contentful Paint (LCP) and Time to Interactive (TI). The results are beow (in seconds), the number behind Desktop or Mobile is the performance index. In summary:
- the results from
localhost
and the deployed site are negligeable (so this si snot a matter of latency, serving performance, ...) - LCP and TI are both bad for mobiles, at the same level of "badness" (which reinforces the point above).
http://localhost:1313
Desktop → 99
- First Contentful Paint (FCP): 0.2 → OK
- Largest Contentful Paint (LCP): 1.0 → OK
- Time to Interactive (TI): 0.9 → OK
Mobile → 77
- First Contentful Paint (FCP): 1.7 → OK
- Largest Contentful Paint (LCP): 5.5 → NOT OK
- Time to Interactive (TI): 5.0 → NOT OK
https://mysite.example.com
Desktop → 99
- First Contentful Paint (FCP): 0.4 → OK
- Largest Contentful Paint (LCP): 1.0 → OK
- Time to Interactive (TI): 0.9 → OK
Mobile → 77
- First Contentful Paint (FCP): 2.0 → ~OK
- Largest Contentful Paint (LCP): 5.3 → NOT OK
- Time to Interactive (TI): 5.0 → NOT OK
What can be the reason for such behaviour?