GoogleChrome / GoogleChrome/lighthouse
PSI intermittently attributes unrelated URL request to first-party script in Network Dependency Tree
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 19
Description
### FAQ
- [x] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md).
- [x] Yes, my issue is not about a specific accessibility audit (file with [axe-core](https://github.com/dequelabs/axe-core) instead).
- [x] Yes, my issue is not answered by [other FAQs](https://github.com/GoogleChrome/lighthouse#faq).
### URL
https://webmate.me
### What happened?
Network Dependancy Tree intermitently shows random unrealted URLS like:
https://bzr.openai.com/v1/sdk/events? (attributed beneath https://webmate.me/wp-content/cache/asset-cleanup/one/js/head-....js)
https://widget.me-talk.ru/comet/longPolling?orgId=2ed4dd2590ddc18ccc480451ff564d2b&siteId=0al9ryskm9dnwvawvzwjr00p0a5mxro2&clientId=lE6s2tkDPbWgZf2n3bTqJdT8BiQeP1kw&time=1788993111078&r=1788993537651&json=1
https://bam.nr-data.net/jserrors/1/fbf682035d?a=1052038940&v=1.321.0&to=MVNUMhFYDENTBURcVwgZdwUXUA1eHSdARWQlWVgSEVYOXFcUbGJdBGphDwdeB0RxCV5BSglaWgMRA1hDWglHdEoDVw%3D%3D&rst=182351&s=89963832a4bac73e&ref=https://www.ecotradegroup.com/pt/carbrand/volkswagen&ptid=56184c4a4d4ab882
Seems to have different URLS in there every 10-25 runs. It's not any malware or plugins on my site or in my hosting environment that I can see, and other users are reporting the same issue on reddit (https://www.reddit.com/r/webdev/comments/1w9ahxv/pagespeed_phantom_domain/?sort=new)
They all seem to consume exactly 4500ms (and hence add 4.5seconds to LCP)
### What did you expect?
there not to be a random URL in the network dependancy tree.
### What have you tried?
Full wordfence malware scan, pattern searches in text and database on my site, same runs via Catchpoint's speed and lighthouse tests with no anomalies over 30 or so runs, uploaded all site files to ChatGPT Astra High for analysis and all came back clear.
### How were you running Lighthouse?
PageSpeed Insights
### Lighthouse Version
151.0.7922.71
### Chrome Version
_No response_
### Node Version
_No response_
### OS
Mac
### Relevant log output
```sh
```
Contributor guide
Research direction
Start by reproducing https://webmate.me in PageSpeed Insights with Lighthouse 151.0.7922.71 and compare repeated Network Dependency Tree runs, focusing on the unrelated URLs and their first-party attribution. Done means the tree no longer intermittently attributes unrelated requests or adds the reported 4.5-second delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100