1. Separate browser and edge freshness budgets
Web performance engineerBackground
A team serves public content with a short browser freshness period, a longer CDN edge period, and a limited stale-while-revalidate window.
Problem
They need to confirm that the Cache-Control values stay within their browser, edge, and stale budgets.
How to use
Enter the header and select Cloudflare, then provide the three optional budgets.
Cache-Control: `public, max-age=60, s-maxage=600, stale-while-revalidate=30`; CDN: Cloudflare; browser TTL budget: 120 seconds; edge TTL budget: 900 seconds; stale budget: 60 seconds.Outcome
The analysis separates the browser and shared-cache TTLs, checks the stale window, and reports any conflicts or budget issues.