Skip to main content

Flags

A flag is a fact about the request. This one is what the browser asks for first in Accept-Language, lumped into a handful of names by a pattern each: fr.* is any header that starts with French.

Your browser asks for English, or a language this site does not list, so the flag is not set. Change the browser's preferred language to French, German, Spanish, Japanese or Chinese and reload to see the other case.

Rendered on demand

The flag is declared with prerender: false, so the build holds no copy of any page for it. The first visitor with a French browser has this page rendered for lang~fr and cached; the second gets a static page. The variant is the same canonical segment as a prerendered one, so nothing else differs.

Inspector

Address bar
/en-GB/-/-/demos/flags
Rendered as
/en-GB/-/-/-/-/demos/flags
Locale
en-GB
Preferences
{}
Flags
{}