The page that initiates the prefetch or prrender should know about any attempted and (even more importantly) failed attempts.
Ideally the information available in devtools under Application -> Speculative loads -> Speculations should be available to the page to report back, like:
URL: example.org
Action: Prefetch
Status: Speculative load failed.
Failure reason: The prefetch was discarded because ...
Could be Reporting API and/or JavaScript API
The page that initiates the prefetch or prrender should know about any attempted and (even more importantly) failed attempts.
Ideally the information available in devtools under Application -> Speculative loads -> Speculations should be available to the page to report back, like:
Could be Reporting API and/or JavaScript API