-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For every resource (navigation, XHR, JS, CSS, image), it would send a new HTTP request to parse headers. The resource URI was not taken into account in the synthetic request, so it could not infer original HTTP headers. Especially since the new request can have different response headers than the original requests. And even if they had the same, then it means we assume sticky session. So we might read node id once just as well. Supposedly, the synthetic request was being read from a cache, but apparently it's still too much overhead. We'll have to read the node id from `Server-Timing` header, which is automatically captured by the browser and it's the same way we obtain the response thread id.
- Loading branch information
Showing
3 changed files
with
15 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters