diff --git a/CLI.md b/CLI.md index e1809b5..67a6144 100644 --- a/CLI.md +++ b/CLI.md @@ -215,6 +215,12 @@ Grouped by concern for readability. All flags are optional; unset flags do not o |------|------|---------|--------------| | `--no-compress` | bool | `false` | `compression.enabled = false` | +#### Headers + +| Flag | Type | Default | Config field | +|------|------|---------|--------------| +| `--no-etag` | bool | `false` | `headers.enable_etags = false` | + #### Security | Flag | Type | Default | Config field | diff --git a/docs/index.html b/docs/index.html index d0ddce8..6cf485f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -92,7 +92,7 @@ "Startup preloading with path-safety cache pre-warming", "TTL-aware cache expiry with optional automatic stale-entry eviction", "Direct ctx.SetBody() fast path with pre-formatted headers for cache hits", - "HTTP/2 with automatic HTTPS", + "HTTP/2 with TLS 1.2+ and HTTP→HTTPS redirect", "TLS 1.2+ with AEAD cipher suites", "gzip and brotli compression", "6-step path traversal prevention", @@ -235,7 +235,7 @@

static-web

HTTP/2 - + auto HTTPS + + TLS + redirect
@@ -479,7 +479,7 @@

Getting Started

static_max_age = 3600 # 1 hour for static assets html_max_age = 0 # no-cache for HTML enable_etags = false # disable for max throughput -immutable_pattern = "*.js" # mark .js as immutable +immutable_pattern = "*.chunk.js" # fingerprinted assets only [security] block_dotfiles = true @@ -779,6 +779,11 @@

Configuration Reference

— Path to TLS private key (PEM) + + redirect_host + — + Canonical host for HTTP→HTTPS redirect + read_timeout 10s @@ -946,6 +951,11 @@

Configuration Reference

+ + enable_etags + true + Enable ETag generation and If-None-Match validation + immutable_pattern