Edge TTL only helps TTFB when the response is eligible to stay in the shared cache and the cache key is stable across visitors. Raising TTL on HTML that still carries Set-Cookie, Authorization, or a broad Vary simply stores more personalised variants — or forces BYPASS/DYNAMIC — so origin load barely moves. Split policy by content class: short s-maxage (or tagged purge) for document shells that change every release, and long immutable lifetimes for content-hashed JS/CSS/fonts so a longer edge TTL cannot strand clients on a stale entry document that references missing chunks.
Before celebrating a TTL bump, hit the same URL twice and confirm the provider’s cache-status header actually flips to HIT with the Cache-Control you expected. Then compare origin request rate and TTFB for that host across a deploy window, not only synthetic single-URL latency. If HIT never appears, fix keying and origin headers first; lengthening TTL on a permanently uncacheable path will not move Web Vitals in production.
CDN Edge Ops
Edge TTL only helps TTFB when the response is eligible to stay in the shared cache and the cache key is stable across visitors. Raising TTL on HTML that still carries Set-Cookie, Authorization, or a broad Vary simply stores more personalised variants — or forces BYPASS/DYNAMIC — so origin load barely moves. Split policy by content class: short s-maxage (or tagged purge) for document shells that change every release, and long immutable lifetimes for content-hashed JS/CSS/fonts so a longer edge TTL cannot strand clients on a stale entry document that references missing chunks.
Before celebrating a TTL bump, hit the same URL twice and confirm the provider’s cache-status header actually flips to HIT with the Cache-Control you expected. Then compare origin request rate and TTFB for that host across a deploy window, not only synthetic single-URL latency. If HIT never appears, fix keying and origin headers first; lengthening TTL on a permanently uncacheable path will not move Web Vitals in production.