You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: show that a KDS caching mirror works, with a reference implementation
Section 9.4 already said a mirror would drop in behind `amd_kds`. Someone
reading that still has to discover the three things that decide whether the
proxy is correct, and each was found the hard way: AMD 403s an unexpected
Host header, a cached 429 converts a rate limit into an outage, and every
KDS response carries `Cache-Control: no-cache` so a plain reverse proxy
caches nothing at all. Thirty lines of Worker are cheaper to read than that
list in prose.
Measured rather than asserted: four cold-process verifications of one real
attestation pass through the mirror where the second fails going direct, and
a KMS pointed at it released keys to an AMD guest end to end.
Also notes why the TTL should be bounded even though a VCEK is valid for
seven years -- dstack checks no CRL and no validity dates, so an unbounded
cache would freeze that gap rather than merely inherit it.
0 commit comments