Commit Detail
Commit 4ddab81
tun/server: cache WAF policies with default fallback Fetching hostname policies through Chord on every protected request adds remote reads and turns temporary lookup failures into HTTP 503 responses. Cache validated policies and confirmed absence for a fixed 30 seconds, coalesce concurrent reads, and invalidate locally after writes or releases. Keep live ownership checks for overrides and management reads uncached. Unavailable lookups inherit the current operator default. Do not cache failures or extend expired overrides; invalid policy data remains an error.
Files changed
7 files changed+1 added~6 modified