From 1934d79dba53a6219457c009da65c17661d0e2fb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 03:10:03 +0000 Subject: [PATCH] Document static ETag and conditional cache behavior Co-authored-by: Theo Browne --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f80a02155..c88e25a7b3 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,9 @@ Runtime command semantics: - Runtime validates request payloads with shared Zod contracts. - Codex execution sandbox policy (`read-only`, `workspace-write`, `danger-full-access`) is still selected per session startup options. - Static HTML responses are served with `Cache-Control: no-store`; built `/assets/*` files are served with long-lived immutable cache headers. -- Static file success responses include `Accept-Ranges: bytes`, `Vary: Range`, plus hardened browser headers (`X-Content-Type-Options`, `X-Frame-Options`, `Referrer-Policy`, `Cross-Origin-Resource-Policy`, `Cross-Origin-Opener-Policy`). +- Static file success responses include `Accept-Ranges: bytes`, `Vary: Range`, deterministic `ETag` values, plus hardened browser headers (`X-Content-Type-Options`, `X-Frame-Options`, `Referrer-Policy`, `Cross-Origin-Resource-Policy`, `Cross-Origin-Opener-Policy`). - Static files support single-range byte requests (`Range: bytes=...`) with standards-compliant `206` / `416` behavior. +- Static non-range requests support `If-None-Match` conditional caching via `304 Not Modified`. ## Runtime modes