Skip to content

PageSpeed: add mobile/desktop strategy option #3453

@dmythro

Description

@dmythro

The PageSpeed monitor currently calls the Google PageSpeed API without a strategy parameter, which defaults to desktop. There is no way to monitor mobile performance scores.

Mobile PageSpeed scores are typically lower and more representative of real-world user experience, since most web traffic is mobile. The ability to choose between mobile and desktop (or an option to monitor both) would make PageSpeed monitoring significantly more useful.

Suggested implementation

The Google PageSpeed API accepts a strategy parameter with values mobile or desktop:

https://pagespeedonline.googleapis.com/pagespeedonline/v5/runPagespeed?url=...&strategy=mobile

Options:

  1. Add a strategy field to the PageSpeed monitor configuration (default: desktop for backward compatibility)
  2. Or allow creating separate monitors for mobile and desktop

Reference

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions