Hi i just want to ask if there's seperated API in pagespeed insight in performance score? Because i only seeing this path to consume in performance score and i don't know if it's for desktop or mobile
lighthouseResult.categories.performance.score
Hi i just want to ask if there's seperated API in pagespeed insight in performance score? Because i only seeing this path to consume in performance score and i don't know if it's for desktop or mobile
lighthouseResult.categories.performance.score
Copyright © 2021 Jogjafile Inc.
To determine the strategy from result, we can refer to
lighthouseResult.emulatedFormFactor
By default it runs for DESKTOP. To make it run for MOBILE, there exists a query param
strategy
Here's sample request for strategy=MOBILE
Reference: here