GoogleChrome / GoogleChrome/lighthouse-stack-packs

[php] Generic vs Platform-specific guidance

Open
#9 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
218
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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

https://github.com/GoogleChrome/lighthouse-stack-packs/blob/7821d37f50d9030df42e216704aea131066d9aa8/wordpress/audits.json#L68-L73

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.