Third-party Google Assets don't follow their own audit rules, causing report errors
See original GitHub issueWhen I run lighthouse reports, my only errors and warnings come from assets delivered by the creator of lighthouse: Google.
Specifically, this warning/error shows up.
Uses inefficient cache policy on static assets
All the items in this report come from
securepubads.g.doubleclick.net
(google property).googletagmanager.com
(google property)pagead2.googlesyndication.com
(google property)www.google-analytics.com
(google property)tpc.googlesyndication.com
(google property)
Why does Google serve assets that fail to follow their own recommendations as based on lighthouse? If they recommend static assets be sent with proper caching headers, why doesn’t google follow through with that? Some of their assets have a ttl of 0 or 15m!
If they aren’t going to follow their own recommendations, then it seems that lighthouse should exclude their own domains from this analysis, since it creates a bunch of false positives which I can do nothing about.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
OAuth API verification FAQs - Google Cloud Platform Console ...
All apps that access Google APIs must verify that they accurately represent their identity and intent as specified by Google's API Services User ......
Read more >Compliance Audits: What You Need to Know to Avoid a Penalty
A compliance audit is a formal review of an organization's procedures and operations to make sure they're following all applicable rules, ...
Read more >Accounting's Big Lie — and How to Fix It - POGO.org
If the road to audit reform is otherwise blocked, there's one simple step the government could take: Stop lying. Part 1 of our...
Read more >Errors and Fraud in the Supplemental Nutrition Assistance ...
SNAP fraud is relatively rare, according to available data and reports. • There is no single ... still must follow SNAP rules and...
Read more >Final Rule: Revision of the Commission's Auditor ... - SEC.gov
A separate 1994 report of the Advisory Panel on Auditor Independence noted the ... First, the audit client must use its own actuaries...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, allowing us to filter them out would be helpful. I’m wondering, though, if there is a way to open an issue with Google regarding how they cache their JS. I’ve never understood why some of their libraries are set to ttl 0 or 15 minutes, etc… I doubt they are releasing code updates every fifteen minutes 😃. It just seems since lighthouse was affiliated with Google development, that maybe they could nudge Google to observe its own rules and recommendations.
Thank you for your response @patrickhulce . I suppose filtering will not affect the score, which will remain affected by Google’s caching errors, but at least we could then reduce noise during our weekly testing.
Let’s add
private
to our list. And land the 3P filter.