-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Reduce size of JSON results: remove duplication #1999
Comments
meta question: which direction are we more comfortable going, having just |
my vote is reference identifiers. It does make it more work to put together a report, but it's easier if you only care about the audits and not the categories, so you don't have to go walking down through the categories to find the audit you care about. It also solves the issue of if you're not using categories at all, or have some audits that aren't in any category, etc |
Yea agreed with @brendankenny. It's more work for the renderer-side, but having a flat list of audits where to reference info is easy. |
👍 glad we're all in agreement :) |
Going to take this. |
/sub |
🎉 🎉 🎉 |
We currently duplicate a lot of content in
audits
andreportCategories[x].audits.result
.extendedInfo
is going away, butdetails
, meta data, and other audit info is duplicated in both. sections. For a complex site, this can make our JSON results huge (e.g. many event listeners, urls, etc.). If the audit is used in multiple categories, the problem only gets worse :(Example:
The text was updated successfully, but these errors were encountered: