<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cached XHR requests are not shown in the web inspector"
href="https://bugs.webkit.org/show_bug.cgi?id=147022#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cached XHR requests are not shown in the web inspector"
href="https://bugs.webkit.org/show_bug.cgi?id=147022">bug 147022</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>The Web Inspector frontend is only told about one requestWillBeSent from the backend (followed up by its responseReceived/dataReceived/loadingFinished updates):
backend: {
"method": "Network.requestWillBeSent",
"params": {
"requestId": "0.15",
"frameId": "0.1",
"loaderId": "0.5",
"documentURL": "file:///Volumes/Data/Users/pecoraro/Desktop/cache-bug.html",
"request": {
"url": "<a href="http://api.randomuser.me/">http://api.randomuser.me/</a>",
"method": "GET",
"headers": {
"Accept": "application/json, text/javascript, */*; q=0.01",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/602.1.1 (KHTML, like Gecko) Version/9.0 Safari/601.1.41",
"Cache-Control": "max-age=0"
}
},
"timestamp": 0.045744980983727146,
"initiator": { ... }
"type": "XHR"
}
}
So from the appearance of the frontend only 1 request was sent. That may in fact be what the engine is doing. The frontend should at least show that >1 XHR was initiated for the same URL, even if only 1 request was actually sent and they are sharing it. It would likely share a lot of timing information.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>