Skip to content

[php] Generic vs Platform-specific guidance Β #9

@machour

Description

@machour

Reading through wordpress/audits.json, I stumbled upon this item:

{
"id": "uses-text-compression",
"title": "Enable text compression",
"description": "Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/text-compression).",
"secondaryDescription": "You can enable this in your web server configuration."
},

This is applicable not only for WordPress, but for any PHP framework being used (or server-side language for what it's worth).

Would it make sense to create some sort of hierarchy for audits messages, and output the merged advices? (i.e php/audits.json would contain that item, and wordpress/audits.json would include it)

That could also make Lighthouse give some accurate recommendations even when the framework is not detected, or only partially matched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions