|
96 | 96 | "In-memory LRU cache with ~28 ns/op lookup", |
97 | 97 | "Startup preloading with path-safety cache pre-warming", |
98 | 98 | "TTL-aware cache expiry with optional automatic stale-entry eviction", |
99 | | - "Direct ctx.SetBody() zero-alloc fast path for cache hits", |
| 99 | + "Direct ctx.SetBody() fast path with pre-formatted headers for cache hits", |
100 | 100 | "HTTP/2 with automatic HTTPS", |
101 | 101 | "TLS 1.2+ with AEAD cipher suites", |
102 | 102 | "gzip and brotli compression", |
@@ -234,7 +234,7 @@ <h1 class="hero-title">static-web</h1> |
234 | 234 | </div> |
235 | 235 | <div class="stat-divider" aria-hidden="true"></div> |
236 | 236 | <div class="stat"> |
237 | | - <span class="stat-value">0 alloc</span> |
| 237 | + <span class="stat-value">~0 alloc</span> |
238 | 238 | <span class="stat-label">hot-path serving</span> |
239 | 239 | </div> |
240 | 240 | <div class="stat-divider" aria-hidden="true"></div> |
@@ -299,8 +299,8 @@ <h2 class="section-title" id="features-heading">Everything You Need</h2> |
299 | 299 | <div class="features-grid"> |
300 | 300 | <div class="feature-card"> |
301 | 301 | <div class="feature-icon">⚡</div> |
302 | | - <h3>Zero-Alloc Hot Path</h3> |
303 | | - <p><strong>~141k req/sec</strong> — 55% faster than Bun. Built on fasthttp with direct <code>ctx.SetBody()</code> and pre-formatted headers — zero allocations on the hot path.</p> |
| 302 | + <h3>Near-Zero Alloc Hot Path</h3> |
| 303 | + <p><strong>~141k req/sec</strong> — 55% faster than Bun. Built on fasthttp with direct <code>ctx.SetBody()</code> and pre-formatted headers — no formatting allocations on cache hits.</p> |
304 | 304 | </div> |
305 | 305 | <div class="feature-card"> |
306 | 306 | <div class="feature-icon">🗜️</div> |
|
0 commit comments