https://github.com/gruns/browser-network-request-coalescing
test browser network request coalescing
https://github.com/gruns/browser-network-request-coalescing
Last synced: over 1 year ago
JSON representation
test browser network request coalescing
- Host: GitHub
- URL: https://github.com/gruns/browser-network-request-coalescing
- Owner: gruns
- Created: 2022-01-12T17:24:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T17:52:53.000Z (over 4 years ago)
- Last Synced: 2025-01-25T10:09:20.530Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# test browser network request coalescing
- add two DNS records that point to `127.0.0.1` in your `/etc/hosts`
file:
```
127.0.0.1 lh1
127.0.0.1 lh2
```
- host this directory. eg with
[http-server](https://www.npmjs.com/package/http-server)
```
http-server -p 9090
```
- start the tcp-aware HTTP server
```
./server.py
```
- open http://127.0.0.1:9090/two-images.html in your browser
- monitor the TCP connections in `server.py`'s output