Sudun supports modern HTTP protocols for faster content delivery. HTTP/2 multiplexing and HTTP/3 with QUIC provide significant performance improvements.
| Feature | HTTP/1.1 | HTTP/2 | HTTP/3 |
|---|---|---|---|
| Multiplexing | No | Yes | Yes |
| Header Compression | No | HPACK | QPACK |
| Server Push | No | Yes | Yes |
| Transport | TCP | TCP | QUIC (UDP) |
| 0-RTT | No | No | Yes |
Multiple requests over single connection:
Connection 1:
├── Request 1 (HTML)
├── Request 2 (CSS)
├── Request 3 (JS)
└── Request 4 (Images)
HPACK reduces header overhead:
| Request | Without HPACK | With HPACK |
|---|---|---|
| First | 800 bytes | 800 bytes |
| Subsequent | 800 bytes | 50 bytes |
{
"http2": {
"server_push": {
"enabled": true,
"rules": [
{
"match": "/*.html",
"push": ["/styles.css", "/app.js"]
}
]
}
}
}
Benefits of QUIC:
| Feature | Benefit |
|---|---|
| 0-RTT | Faster connection setup |
| No head-of-line blocking | Better multiplexing |
| Connection migration | Seamless network switch |
{
"http3": {
"enabled": true,
"fallback": "http2"
}
}
{
"protocols": {
"http2": true,
"http3": true,
"http1_fallback": true
}
}
Check protocol in browser DevTools or:
curl -I --http2 https://example.com
curl -I --http3 https://example.com
curl -X GET https://api.Sudun.com/v1/domains/{domain}/protocols \
-H "Authorization: Bearer YOUR_API_KEY"
Need help? Contact support@Sudun.com