Rolling out a Content-Security-Policy without breakage
Start in report-only mode, read the reports for a while, then enforce. The order matters more than the policy you write first.
Browser behaviour, HTTP details and front-end performance for teams that already run production sites.
Start in report-only mode, read the reports for a while, then enforce. The order matters more than the policy you write first.
A new service worker installs, then waits. Until you understand why, deployments seem to have no effect on some users for days.
Every OPTIONS request in your logs is a preflight the browser decided it needed. Knowing the rules lets you remove half of them.
A single Vary: Cookie header turns every visitor into their own cache entry. Here is how it sneaks in, and how to keep cacheable pages cacheable.
no-cache still stores the response. The directive that forbids storing is no-store, and the difference matters for CDNs, browsers and privacy reviews.
Preloading a font without crossorigin makes the browser download it twice. The choice of font-display decides what users see while it loads.
Technologies