Evaluating a flag at request time would normally make the page dynamic. Instead, the proxy precomputes the flag values into a short code and rewrites to a prerendered variant.

Precompute and rewrite

generateStaticParams builds one page per combination, so every visitor still gets static HTML from the CDN.

It's a neat pattern for a handful of boolean flags; with many flags the number of variants grows quickly.