Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[php] Generic vs Platform-specific guidance #9

Open
machour opened this issue Feb 5, 2019 · 0 comments
Open

[php] Generic vs Platform-specific guidance #9

machour opened this issue Feb 5, 2019 · 0 comments

Comments

@machour
Copy link

machour commented Feb 5, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant