[{"data":1,"prerenderedAt":2713},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro":3,"all-docs-nav":1562,"filed:\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro":2704},{"id":4,"title":5,"body":6,"breadcrumb":1538,"dateModified":1548,"datePublished":1548,"description":1549,"extension":1550,"faq":1551,"meta":1556,"navigation":118,"path":1557,"seo":1558,"slug":12,"stem":1559,"type":1560,"__hash__":1561},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro\u002Findex.md","i18n Routing in Astro",{"type":7,"value":8,"toc":1519},"minimark",[9,13,26,40,45,70,74,264,282,286,293,301,362,413,416,584,588,607,635,643,716,727,731,734,947,951,978,981,1093,1097,1100,1118,1136,1170,1180,1184,1187,1267,1379,1383,1437,1441,1444,1448,1453,1456,1460,1463,1467,1470,1474,1477,1481,1515],[10,11,5],"h1",{"id":12},"i18n-routing-in-astro",[14,15,16,17,21,22,25],"p",{},"Astro 4.0 turned internationalization from a folder convention into configuration. A short ",[18,19,20],"code",{},"i18n"," block in ",[18,23,24],{},"astro.config.mjs"," declares the locales, the default language, whether that default carries a URL prefix and what should happen when a page is missing in a locale. Astro then exposes the current locale to every component and provides helpers that build correct localized URLs. What it deliberately does not do is organise or translate your content — that stays your decision.",[14,27,28,29,34,35,39],{},"This guide sets up routing for an Astro documentation site in English, German, French and Japanese, with English unprefixed at the root, content collections split by locale, a language switcher driven by the same data as the hreflang alternates, and a fallback strategy for pages not yet translated. It belongs to ",[30,31,33],"a",{"href":32},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002F","Internationalization for Static Sites",", and the Starlight-specific version is in ",[30,36,38],{"href":37},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs\u002F","Internationalizing Starlight Docs",".",[41,42,44],"h2",{"id":43},"prerequisites","Prerequisites",[46,47,48,56,63],"ul",{},[49,50,51,52,55],"li",{},"Astro 4.16 or 5.x with a static output (",[18,53,54],{},"output: 'static'",", the default).",[49,57,58,59,62],{},"The ",[18,60,61],{},"site"," option set to the production origin, so absolute URLs and alternates are correct.",[49,64,65,66,69],{},"A content collection for pages (here ",[18,67,68],{},"docs",") using the Content Layer or legacy collections.",[41,71,73],{"id":72},"step-1-configure-locales","Step 1: Configure Locales",[75,76,81],"pre",{"className":77,"code":78,"language":79,"meta":80,"style":80},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F astro.config.mjs\nimport { defineConfig } from 'astro\u002Fconfig';\n\nexport default defineConfig({\n  site: 'https:\u002F\u002Fdocs.example.com',\n  trailingSlash: 'always',\n  i18n: {\n    locales: ['en', 'de', 'fr', 'ja'],\n    defaultLocale: 'en',\n    routing: {\n      prefixDefaultLocale: false,\n      redirectToDefaultLocale: false\n    },\n    fallback: { fr: 'en', ja: 'en' }\n  }\n});\n","js","",[18,82,83,92,113,120,136,148,159,165,193,203,209,221,230,236,252,258],{"__ignoreMap":80},[84,85,88],"span",{"class":86,"line":87},"line",1,[84,89,91],{"class":90},"sJ8bj","\u002F\u002F astro.config.mjs\n",[84,93,95,99,103,106,110],{"class":86,"line":94},2,[84,96,98],{"class":97},"szBVR","import",[84,100,102],{"class":101},"sVt8B"," { defineConfig } ",[84,104,105],{"class":97},"from",[84,107,109],{"class":108},"sZZnC"," 'astro\u002Fconfig'",[84,111,112],{"class":101},";\n",[84,114,116],{"class":86,"line":115},3,[84,117,119],{"emptyLinePlaceholder":118},true,"\n",[84,121,123,126,129,133],{"class":86,"line":122},4,[84,124,125],{"class":97},"export",[84,127,128],{"class":97}," default",[84,130,132],{"class":131},"sScJk"," defineConfig",[84,134,135],{"class":101},"({\n",[84,137,139,142,145],{"class":86,"line":138},5,[84,140,141],{"class":101},"  site: ",[84,143,144],{"class":108},"'https:\u002F\u002Fdocs.example.com'",[84,146,147],{"class":101},",\n",[84,149,151,154,157],{"class":86,"line":150},6,[84,152,153],{"class":101},"  trailingSlash: ",[84,155,156],{"class":108},"'always'",[84,158,147],{"class":101},[84,160,162],{"class":86,"line":161},7,[84,163,164],{"class":101},"  i18n: {\n",[84,166,168,171,174,177,180,182,185,187,190],{"class":86,"line":167},8,[84,169,170],{"class":101},"    locales: [",[84,172,173],{"class":108},"'en'",[84,175,176],{"class":101},", ",[84,178,179],{"class":108},"'de'",[84,181,176],{"class":101},[84,183,184],{"class":108},"'fr'",[84,186,176],{"class":101},[84,188,189],{"class":108},"'ja'",[84,191,192],{"class":101},"],\n",[84,194,196,199,201],{"class":86,"line":195},9,[84,197,198],{"class":101},"    defaultLocale: ",[84,200,173],{"class":108},[84,202,147],{"class":101},[84,204,206],{"class":86,"line":205},10,[84,207,208],{"class":101},"    routing: {\n",[84,210,212,215,219],{"class":86,"line":211},11,[84,213,214],{"class":101},"      prefixDefaultLocale: ",[84,216,218],{"class":217},"sj4cs","false",[84,220,147],{"class":101},[84,222,224,227],{"class":86,"line":223},12,[84,225,226],{"class":101},"      redirectToDefaultLocale: ",[84,228,229],{"class":217},"false\n",[84,231,233],{"class":86,"line":232},13,[84,234,235],{"class":101},"    },\n",[84,237,239,242,244,247,249],{"class":86,"line":238},14,[84,240,241],{"class":101},"    fallback: { fr: ",[84,243,173],{"class":108},[84,245,246],{"class":101},", ja: ",[84,248,173],{"class":108},[84,250,251],{"class":101}," }\n",[84,253,255],{"class":86,"line":254},15,[84,256,257],{"class":101},"  }\n",[84,259,261],{"class":86,"line":260},16,[84,262,263],{"class":101},"});\n",[14,265,266,269,270,273,274,277,278,281],{},[18,267,268],{},"prefixDefaultLocale: false"," keeps English at ",[18,271,272],{},"\u002Fguide\u002Finstall\u002F",", so an existing English site keeps every URL it already has. German lives at ",[18,275,276],{},"\u002Fde\u002Fguide\u002Finstall\u002F",". The ",[18,279,280],{},"fallback"," map says that French and Japanese pages missing from the build should be generated from English; German has no fallback because the German translation was complete at launch, and a missing German page should be a build-visible gap rather than a silent copy.",[41,283,285],{"id":284},"step-2-organise-content-by-locale","Step 2: Organise Content by Locale",[14,287,288,289,292],{},"Astro's router maps URLs to files in ",[18,290,291],{},"src\u002Fpages",", but most documentation lives in a collection. Put a locale folder at the top of the collection and generate routes from it:",[75,294,299],{"className":295,"code":297,"language":298,"meta":80},[296],"language-text","src\u002Fcontent\u002Fdocs\u002F\n  en\u002Fguide\u002Finstall.md\n  de\u002Fguide\u002Finstall.md\n  fr\u002Fguide\u002Finstall.md\n  ja\u002Fguide\u002Finstall.md\n","text",[18,300,297],{"__ignoreMap":80},[75,302,306],{"className":303,"code":304,"language":305,"meta":80,"style":80},"language-astro shiki shiki-themes github-light github-dark","---\n\u002F\u002F src\u002Fpages\u002F[...slug].astro  (English, unprefixed)\nimport { getCollection } from 'astro:content';\nexport async function getStaticPaths() {\n  const docs = await getCollection('docs', (e) => e.id.startsWith('en\u002F'));\n  return docs.map((entry) => ({\n    params: { slug: entry.id.replace(\u002F^en\\\u002F\u002F, '').replace(\u002F\\.md$\u002F, '') },\n    props: { entry }\n  }));\n}\n---\n","astro",[18,307,308,313,318,323,328,333,338,343,348,353,358],{"__ignoreMap":80},[84,309,310],{"class":86,"line":87},[84,311,312],{},"---\n",[84,314,315],{"class":86,"line":94},[84,316,317],{},"\u002F\u002F src\u002Fpages\u002F[...slug].astro  (English, unprefixed)\n",[84,319,320],{"class":86,"line":115},[84,321,322],{},"import { getCollection } from 'astro:content';\n",[84,324,325],{"class":86,"line":122},[84,326,327],{},"export async function getStaticPaths() {\n",[84,329,330],{"class":86,"line":138},[84,331,332],{},"  const docs = await getCollection('docs', (e) => e.id.startsWith('en\u002F'));\n",[84,334,335],{"class":86,"line":150},[84,336,337],{},"  return docs.map((entry) => ({\n",[84,339,340],{"class":86,"line":161},[84,341,342],{},"    params: { slug: entry.id.replace(\u002F^en\\\u002F\u002F, '').replace(\u002F\\.md$\u002F, '') },\n",[84,344,345],{"class":86,"line":167},[84,346,347],{},"    props: { entry }\n",[84,349,350],{"class":86,"line":195},[84,351,352],{},"  }));\n",[84,354,355],{"class":86,"line":205},[84,356,357],{},"}\n",[84,359,360],{"class":86,"line":211},[84,361,312],{},[75,363,365],{"className":303,"code":364,"language":305,"meta":80,"style":80},"---\n\u002F\u002F src\u002Fpages\u002F[locale]\u002F[...slug].astro  (prefixed locales)\nexport async function getStaticPaths() {\n  const docs = await getCollection('docs', (e) => !e.id.startsWith('en\u002F'));\n  return docs.map((entry) => {\n    const [locale, ...rest] = entry.id.replace(\u002F\\.md$\u002F, '').split('\u002F');\n    return { params: { locale, slug: rest.join('\u002F') }, props: { entry } };\n  });\n}\n---\n",[18,366,367,371,376,380,385,390,395,400,405,409],{"__ignoreMap":80},[84,368,369],{"class":86,"line":87},[84,370,312],{},[84,372,373],{"class":86,"line":94},[84,374,375],{},"\u002F\u002F src\u002Fpages\u002F[locale]\u002F[...slug].astro  (prefixed locales)\n",[84,377,378],{"class":86,"line":115},[84,379,327],{},[84,381,382],{"class":86,"line":122},[84,383,384],{},"  const docs = await getCollection('docs', (e) => !e.id.startsWith('en\u002F'));\n",[84,386,387],{"class":86,"line":138},[84,388,389],{},"  return docs.map((entry) => {\n",[84,391,392],{"class":86,"line":150},[84,393,394],{},"    const [locale, ...rest] = entry.id.replace(\u002F\\.md$\u002F, '').split('\u002F');\n",[84,396,397],{"class":86,"line":161},[84,398,399],{},"    return { params: { locale, slug: rest.join('\u002F') }, props: { entry } };\n",[84,401,402],{"class":86,"line":167},[84,403,404],{},"  });\n",[84,406,407],{"class":86,"line":195},[84,408,357],{},[84,410,411],{"class":86,"line":205},[84,412,312],{},[14,414,415],{},"Two route files are clearer than one route with an optional locale segment, because the unprefixed default and the prefixed locales have different parameter shapes.",[417,418,419,580],"figure",{},[420,421,428,429,428,433,428,437,428,444,428,565],"svg",{"viewBox":422,"role":423,"ariaLabelledBy":424,"xmlns":427},"0 0 760 153","img",[425,426],"ast-route-title","ast-route-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[430,431,432],"title",{"id":425},"Request path through Astro i18n routing",[434,435,436],"desc",{"id":426},"A URL such as \u002Fde\u002Fguide\u002Finstall\u002F is matched by the prefixed dynamic route. getStaticPaths has produced the locale de and slug guide\u002Finstall from the collection entry de\u002Fguide\u002Finstall.md. Astro.currentLocale is set to de. The layout reads strings from the German string table and renders links with getRelativeLocaleUrl.",[438,439],"rect",{"x":440,"y":440,"width":441,"height":442,"fill":443},"0","760","153","#ffffff",[445,446,448,449,448,459,448,464,448,471,448,475,448,478,448,484,448,487,448,490,448,493,448,500,448,505,448,510,448,516,448,520,448,524,448,529,448,533,448,538,448,544,448,548,448,552,448,557,448,561,428],"g",{"style":447},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[438,450],{"x":451,"y":452,"width":453,"height":454,"rx":455,"fill":456,"stroke":457,"style":458},"20.0","64.0","116.8","72.8","8","#f8fafc","#d9e2ef","stroke-width:1.5px",[438,460],{"x":461,"y":452,"width":453,"height":454,"rx":455,"fill":462,"opacity":463,"stroke":462,"style":458},"170.8","#1982c4","0.14",[465,466],"path",{"d":467,"fill":468,"stroke":469,"style":470},"M138.8 100.4 L166.8 100.4","none","#556071","stroke-width:2px;marker-end:url(#ast-route-arrow)",[438,472],{"x":473,"y":452,"width":453,"height":454,"rx":455,"fill":474,"opacity":463,"stroke":474,"style":458},"321.6","#6a4c93",[465,476],{"d":477,"fill":468,"stroke":469,"style":470},"M289.6 100.4 L317.6 100.4",[438,479],{"x":480,"y":452,"width":453,"height":454,"rx":455,"fill":481,"opacity":482,"stroke":483,"style":458},"472.4","#8ac926","0.2","#5a8a16",[465,485],{"d":486,"fill":468,"stroke":469,"style":470},"M440.4 100.4 L468.4 100.4",[438,488],{"x":489,"y":452,"width":453,"height":454,"rx":455,"fill":481,"opacity":482,"stroke":483,"style":458},"623.2",[465,491],{"d":492,"fill":468,"stroke":469,"style":470},"M591.2 100.4 L619.2 100.4",[298,494,499],{"x":495,"y":496,"fill":497,"style":498},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","How a localized URL reaches its content",[298,501,276],{"x":502,"y":503,"fill":497,"style":504},"78.4","97.3","font-size:9.5px;text-anchor:middle;font-weight:700",[298,506,509],{"x":502,"y":507,"fill":469,"style":508},"109.6","font-size:11px;text-anchor:middle","request path",[298,511,515],{"x":512,"y":513,"fill":497,"style":514},"229.2","90.4","font-size:10.5px;text-anchor:middle;font-weight:700","[locale]\u002F[...slug]",[298,517,519],{"x":512,"y":518,"fill":469,"style":508},"104.0","prefixed route",[298,521,523],{"x":512,"y":522,"fill":469,"style":508},"118.3","file",[298,525,528],{"x":495,"y":526,"fill":497,"style":527},"90.2","font-size:13px;text-anchor:middle;font-weight:700","Collection",[298,530,532],{"x":495,"y":531,"fill":497,"style":527},"107.1","entry",[298,534,537],{"x":495,"y":535,"fill":469,"style":536},"124.0","font-size:10px;text-anchor:middle","de\u002Fguide\u002Finstall.md",[298,539,543],{"x":540,"y":541,"fill":497,"style":542},"530.8","89.9","font-size:12.5px;text-anchor:middle;font-weight:700","currentLocale",[298,545,547],{"x":540,"y":546,"fill":497,"style":542},"106.2","= de",[298,549,551],{"x":540,"y":550,"fill":469,"style":508},"122.4","set by the router",[298,553,556],{"x":554,"y":555,"fill":497,"style":527},"681.6","91.0","Layout",[298,558,560],{"x":554,"y":559,"fill":469,"style":508},"107.9","German strings",[298,562,564],{"x":554,"y":563,"fill":469,"style":508},"122.2","and links",[566,567,448,568,428],"defs",{},[569,570,576,577,448],"marker",{"id":571,"viewBox":572,"refX":455,"refY":573,"markerWidth":574,"markerHeight":574,"orient":575},"ast-route-arrow","0 0 10 10","5","7","auto-start-reverse","\n      ",[465,578],{"d":579,"fill":469},"M0 0 L10 5 L0 10 z",[581,582,583],"figcaption",{},"The locale comes from the URL once and flows everywhere through Astro.currentLocale; components never receive it as a prop.",[41,585,587],{"id":586},"step-3-locale-aware-links-and-the-switcher","Step 3: Locale-Aware Links and the Switcher",[14,589,590,591,594,595,598,599,602,603,606],{},"Hard-coded links (",[18,592,593],{},"href=\"\u002Fde\u002Fguide\u002F\"",") are the main source of i18n bugs. Use the helpers from ",[18,596,597],{},"astro:i18n",", which respect ",[18,600,601],{},"prefixDefaultLocale"," and ",[18,604,605],{},"trailingSlash",":",[75,608,610],{"className":303,"code":609,"language":305,"meta":80,"style":80},"---\nimport { getRelativeLocaleUrl } from 'astro:i18n';\nconst locale = Astro.currentLocale ?? 'en';\n---\n\u003Ca href={getRelativeLocaleUrl(locale, 'guide\u002Finstall')}>Install\u003C\u002Fa>\n",[18,611,612,616,621,626,630],{"__ignoreMap":80},[84,613,614],{"class":86,"line":87},[84,615,312],{},[84,617,618],{"class":86,"line":94},[84,619,620],{},"import { getRelativeLocaleUrl } from 'astro:i18n';\n",[84,622,623],{"class":86,"line":115},[84,624,625],{},"const locale = Astro.currentLocale ?? 'en';\n",[84,627,628],{"class":86,"line":122},[84,629,312],{},[84,631,632],{"class":86,"line":138},[84,633,634],{},"\u003Ca href={getRelativeLocaleUrl(locale, 'guide\u002Finstall')}>Install\u003C\u002Fa>\n",[14,636,637,638,642],{},"For the language switcher, do not compute sibling URLs from the current path — translators may localize slugs. Use the same translation-key map that produces the hreflang alternates, as described in ",[30,639,641],{"href":640},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fhreflang-and-language-alternates-on-static-sites\u002F","hreflang and Language Alternates on Static Sites",". The switcher then offers only languages that really have the page and links to the right slug in each.",[75,644,646],{"className":303,"code":645,"language":305,"meta":80,"style":80},"---\nimport { alternatesFor } from '..\u002Flib\u002Falternates';\nconst { entry } = Astro.props;\nconst alts = alternatesFor(entry.data.translationKey);\nconst names = { en: 'English', de: 'Deutsch', fr: 'Français', ja: '日本語' };\n---\n\u003Cnav aria-label=\"Language\">\n  \u003Cul>\n    {alts.map((a) => (\n      \u003Cli>\u003Ca href={a.url} hreflang={a.lang} lang={a.lang}\n        aria-current={a.lang === Astro.currentLocale ? 'true' : undefined}>{names[a.lang]}\u003C\u002Fa>\u003C\u002Fli>\n    ))}\n  \u003C\u002Ful>\n\u003C\u002Fnav>\n",[18,647,648,652,657,662,667,672,676,681,686,691,696,701,706,711],{"__ignoreMap":80},[84,649,650],{"class":86,"line":87},[84,651,312],{},[84,653,654],{"class":86,"line":94},[84,655,656],{},"import { alternatesFor } from '..\u002Flib\u002Falternates';\n",[84,658,659],{"class":86,"line":115},[84,660,661],{},"const { entry } = Astro.props;\n",[84,663,664],{"class":86,"line":122},[84,665,666],{},"const alts = alternatesFor(entry.data.translationKey);\n",[84,668,669],{"class":86,"line":138},[84,670,671],{},"const names = { en: 'English', de: 'Deutsch', fr: 'Français', ja: '日本語' };\n",[84,673,674],{"class":86,"line":150},[84,675,312],{},[84,677,678],{"class":86,"line":161},[84,679,680],{},"\u003Cnav aria-label=\"Language\">\n",[84,682,683],{"class":86,"line":167},[84,684,685],{},"  \u003Cul>\n",[84,687,688],{"class":86,"line":195},[84,689,690],{},"    {alts.map((a) => (\n",[84,692,693],{"class":86,"line":205},[84,694,695],{},"      \u003Cli>\u003Ca href={a.url} hreflang={a.lang} lang={a.lang}\n",[84,697,698],{"class":86,"line":211},[84,699,700],{},"        aria-current={a.lang === Astro.currentLocale ? 'true' : undefined}>{names[a.lang]}\u003C\u002Fa>\u003C\u002Fli>\n",[84,702,703],{"class":86,"line":223},[84,704,705],{},"    ))}\n",[84,707,708],{"class":86,"line":232},[84,709,710],{},"  \u003C\u002Ful>\n",[84,712,713],{"class":86,"line":238},[84,714,715],{},"\u003C\u002Fnav>\n",[14,717,718,719,722,723,726],{},"Each option carries its own ",[18,720,721],{},"lang"," attribute so screen readers pronounce \"Deutsch\" in German, and ",[18,724,725],{},"aria-current"," marks the active language.",[41,728,730],{"id":729},"step-4-ui-strings","Step 4: UI Strings",[14,732,733],{},"Keep interface strings in one JSON file per locale and a tiny lookup function. Missing keys fall back to English at build time and are reported, so the build log lists every untranslated string:",[75,735,739],{"className":736,"code":737,"language":738,"meta":80,"style":80},"language-ts shiki shiki-themes github-light github-dark","\u002F\u002F src\u002Fi18n\u002Ft.ts\nimport en from '.\u002Fen.json';\nimport de from '.\u002Fde.json';\nimport fr from '.\u002Ffr.json';\nimport ja from '.\u002Fja.json';\nconst tables = { en, de, fr, ja } as const;\n\nexport function t(locale: string, key: keyof typeof en) {\n  const value = tables[locale]?.[key];\n  if (value === undefined && locale !== 'en') console.warn(`[i18n] ${locale} missing \"${key}\"`);\n  return value ?? en[key];\n}\n","ts",[18,740,741,746,760,774,788,802,824,828,866,879,929,943],{"__ignoreMap":80},[84,742,743],{"class":86,"line":87},[84,744,745],{"class":90},"\u002F\u002F src\u002Fi18n\u002Ft.ts\n",[84,747,748,750,753,755,758],{"class":86,"line":94},[84,749,98],{"class":97},[84,751,752],{"class":101}," en ",[84,754,105],{"class":97},[84,756,757],{"class":108}," '.\u002Fen.json'",[84,759,112],{"class":101},[84,761,762,764,767,769,772],{"class":86,"line":115},[84,763,98],{"class":97},[84,765,766],{"class":101}," de ",[84,768,105],{"class":97},[84,770,771],{"class":108}," '.\u002Fde.json'",[84,773,112],{"class":101},[84,775,776,778,781,783,786],{"class":86,"line":122},[84,777,98],{"class":97},[84,779,780],{"class":101}," fr ",[84,782,105],{"class":97},[84,784,785],{"class":108}," '.\u002Ffr.json'",[84,787,112],{"class":101},[84,789,790,792,795,797,800],{"class":86,"line":138},[84,791,98],{"class":97},[84,793,794],{"class":101}," ja ",[84,796,105],{"class":97},[84,798,799],{"class":108}," '.\u002Fja.json'",[84,801,112],{"class":101},[84,803,804,807,810,813,816,819,822],{"class":86,"line":150},[84,805,806],{"class":97},"const",[84,808,809],{"class":217}," tables",[84,811,812],{"class":97}," =",[84,814,815],{"class":101}," { en, de, fr, ja } ",[84,817,818],{"class":97},"as",[84,820,821],{"class":97}," const",[84,823,112],{"class":101},[84,825,826],{"class":86,"line":161},[84,827,119],{"emptyLinePlaceholder":118},[84,829,830,832,835,838,841,845,847,850,852,855,857,860,863],{"class":86,"line":167},[84,831,125],{"class":97},[84,833,834],{"class":97}," function",[84,836,837],{"class":131}," t",[84,839,840],{"class":101},"(",[84,842,844],{"class":843},"s4XuR","locale",[84,846,606],{"class":97},[84,848,849],{"class":217}," string",[84,851,176],{"class":101},[84,853,854],{"class":843},"key",[84,856,606],{"class":97},[84,858,859],{"class":97}," keyof",[84,861,862],{"class":97}," typeof",[84,864,865],{"class":101}," en) {\n",[84,867,868,871,874,876],{"class":86,"line":195},[84,869,870],{"class":97},"  const",[84,872,873],{"class":217}," value",[84,875,812],{"class":97},[84,877,878],{"class":101}," tables[locale]?.[key];\n",[84,880,881,884,887,890,893,896,899,902,905,908,911,913,916,918,921,923,926],{"class":86,"line":205},[84,882,883],{"class":97},"  if",[84,885,886],{"class":101}," (value ",[84,888,889],{"class":97},"===",[84,891,892],{"class":217}," undefined",[84,894,895],{"class":97}," &&",[84,897,898],{"class":101}," locale ",[84,900,901],{"class":97},"!==",[84,903,904],{"class":108}," 'en'",[84,906,907],{"class":101},") console.",[84,909,910],{"class":131},"warn",[84,912,840],{"class":101},[84,914,915],{"class":108},"`[i18n] ${",[84,917,844],{"class":101},[84,919,920],{"class":108},"} missing \"${",[84,922,854],{"class":101},[84,924,925],{"class":108},"}\"`",[84,927,928],{"class":101},");\n",[84,930,931,934,937,940],{"class":86,"line":211},[84,932,933],{"class":97},"  return",[84,935,936],{"class":101}," value ",[84,938,939],{"class":97},"??",[84,941,942],{"class":101}," en[key];\n",[84,944,945],{"class":86,"line":223},[84,946,357],{"class":101},[41,948,950],{"id":949},"step-5-decide-what-fallback-means","Step 5: Decide What Fallback Means",[14,952,953,954,957,958,961,962,965,966,969,970,973,974,977],{},"With ",[18,955,956],{},"fallback: { fr: 'en' }",", Astro generates something at ",[18,959,960],{},"\u002Ffr\u002Fguide\u002Ftroubleshooting\u002F"," even when only the English file exists. The default ",[18,963,964],{},"fallbackType: 'redirect'"," emits a redirect page to the English URL; ",[18,967,968],{},"'rewrite'"," renders the English content at the French URL. For search and accessibility the redirect is safer: a page at a French URL with English text and ",[18,971,972],{},"lang=\"en\""," confuses readers, and with ",[18,975,976],{},"lang=\"fr\""," misleads screen readers and crawlers.",[14,979,980],{},"The documentation project used redirects for Japanese (where machine-translated stubs had previously caused complaints) and no fallback for German. A build-time report counted French pages served by fallback — 64 of 640 at launch, down to 9 by the end of the quarter — and fed the translation team's backlog.",[417,982,983,1090],{},[420,984,428,989,428,992,428,995,428,998,428,1083],{"viewBox":985,"role":423,"ariaLabelledBy":986,"xmlns":427},"0 0 760 260",[987,988],"ast-fall-title","ast-fall-desc",[430,990,991],{"id":987},"Fallback strategy decision for missing translations",[434,993,994],{"id":988},"The root question asks what a reader should get when a page is not translated. No fallback leaves a gap and the page is simply absent in that language. Redirect sends readers to the default-language URL and keeps the locale URL out of search. Rewrite serves the English content at the localized URL, which needs a visible notice and lang set to English.",[438,996],{"x":440,"y":440,"width":441,"height":997,"fill":443},"260",[445,999,448,1000,448,1006,448,1010,448,1013,448,1017,448,1022,448,1025,448,1028,448,1031,448,1037,448,1040,448,1043,448,1050,448,1054,448,1058,448,1062,448,1065,448,1068,448,1072,448,1077,448,1080,428],{"style":447},[438,1001],{"x":1002,"y":1003,"width":1004,"height":1005,"rx":455,"fill":474,"opacity":463,"stroke":474,"style":458},"250.0","60.0","260.0","50.0",[465,1007],{"d":1008,"fill":468,"stroke":469,"style":1009},"M380.0 111.0 L380.0 132.0","stroke-width:2px",[465,1011],{"d":1012,"fill":468,"stroke":469,"style":1009},"M134.0 132.0 L626.0 132.0",[465,1014],{"d":1015,"fill":468,"stroke":469,"style":1016},"M134.0 132.0 L134.0 150.0","stroke-width:2px;marker-end:url(#ast-fall-arrow)",[438,1018],{"x":451,"y":1019,"width":1020,"height":1021,"rx":455,"fill":481,"opacity":482,"stroke":483,"style":458},"154.0","228.0","89.8",[465,1023],{"d":1024,"fill":468,"stroke":469,"style":1016},"M380.0 132.0 L380.0 150.0",[438,1026],{"x":1027,"y":1019,"width":1020,"height":1021,"rx":455,"fill":462,"opacity":463,"stroke":462,"style":458},"266.0",[465,1029],{"d":1030,"fill":468,"stroke":469,"style":1016},"M626.0 132.0 L626.0 150.0",[438,1032],{"x":1033,"y":1019,"width":1020,"height":1021,"rx":455,"fill":1034,"opacity":1035,"stroke":1036,"style":458},"512.0","#ffca3a","0.24","#a97b00",[298,1038,1039],{"x":495,"y":496,"fill":497,"style":498},"What should a missing translation produce?",[298,1041,1042],{"x":495,"y":526,"fill":497,"style":527},"Page missing in this locale?",[298,1044,1049],{"x":1045,"y":1046,"fill":1047,"style":1048},"134.0","170.0","#3f6410","font-size:11px;text-anchor:middle;font-weight:700","Translation complete",[298,1051,1053],{"x":1045,"y":1052,"fill":497,"style":527},"190.3","No fallback",[298,1055,1057],{"x":1045,"y":1056,"fill":469,"style":508},"207.2","gap is a build-visible bug (German)",[298,1059,1061],{"x":495,"y":1046,"fill":1060,"style":1048},"#166a9e","Catching up",[298,1063,1064],{"x":495,"y":1052,"fill":497,"style":527},"Redirect",[298,1066,1067],{"x":495,"y":1056,"fill":469,"style":508},"fallbackType redirect to \u002Fguide\u002F...",[298,1069,1071],{"x":495,"y":1070,"fill":469,"style":508},"221.5","(Japanese)",[298,1073,1076],{"x":1074,"y":1046,"fill":1075,"style":1048},"626.0","#8a6d0f","Must keep the URL",[298,1078,1079],{"x":1074,"y":1052,"fill":497,"style":527},"Rewrite",[298,1081,1082],{"x":1074,"y":1056,"fill":469,"style":508},"notice, lang en, canonical to English",[566,1084,448,1085,428],{},[569,1086,576,1088,448],{"id":1087,"viewBox":572,"refX":455,"refY":573,"markerWidth":574,"markerHeight":574,"orient":575},"ast-fall-arrow",[465,1089],{"d":579,"fill":469},[581,1091,1092],{},"Redirect is the safe default; rewrite only makes sense with an explicit notice and a canonical to the source page.",[41,1094,1096],{"id":1095},"step-6-sitemaps-feeds-and-404-pages-per-locale","Step 6: Sitemaps, Feeds and 404 Pages Per Locale",[14,1098,1099],{},"Three pieces of site furniture are easy to forget when routing goes multilingual.",[14,1101,58,1102,1106,1107,1110,1111,1113,1114,1117],{},[1103,1104,1105],"strong",{},"sitemap"," from ",[18,1108,1109],{},"@astrojs\u002Fsitemap"," accepts an ",[18,1112,20],{}," option with the default locale and a map of locale codes, and then emits ",[18,1115,1116],{},"xhtml:link"," alternates for URLs it can match by path. Because it matches by path, it misses pages whose slugs were localized; if translators localize slugs, generate the sitemap from the same translation-key map as the head alternates instead, or turn the integration's alternates off and keep them in the head only. Mixing a path-matched sitemap with key-matched head links produces contradictory signals, which search engines resolve unpredictably.",[14,1119,1120,1123,1124,1127,1128,1131,1132,1135],{},[1103,1121,1122],{},"Feeds"," should be one per locale — ",[18,1125,1126],{},"\u002Frss.xml"," for English and ",[18,1129,1130],{},"\u002Fde\u002Frss.xml"," for German — each with the right ",[18,1133,1134],{},"\u003Clanguage>"," element and only that locale's entries. A combined feed makes subscribers read four languages and makes feed readers guess the language of each item.",[14,1137,58,1138,1141,1142,1145,1146,1149,1150,1153,1154,1157,1158,1161,1162,1165,1166,1169],{},[1103,1139,1140],{},"404 page"," needs a localized variant. Astro generates ",[18,1143,1144],{},"404.astro"," once; add ",[18,1147,1148],{},"src\u002Fpages\u002Fde\u002F404.astro"," and friends, and configure the host to serve them for missing paths under each prefix. On Cloudflare Workers static assets, ",[18,1151,1152],{},"not_found_handling = \"404-page\""," picks the nearest ",[18,1155,1156],{},"404.html"," walking up the directory tree, so ",[18,1159,1160],{},"\u002Fde\u002Fmissing\u002F"," gets the German 404 automatically. On Netlify, add a ",[18,1163,1164],{},"\u002Fde\u002F* \u002Fde\u002F404.html 404"," rule to ",[18,1167,1168],{},"_redirects",". A German reader landing on an English \"Page not found\" after following a stale link is small, but it is the kind of seam readers notice.",[14,1171,1172,1173,1176,1177,1179],{},"Finally, remember that everything above runs at build time. Nothing in the i18n configuration requires server rendering unless you use ",[18,1174,1175],{},"redirectToDefaultLocale"," or middleware; keeping ",[18,1178,54],{}," means every localized page is a file on the CDN with the same cache behaviour as the English ones.",[41,1181,1183],{"id":1182},"measured-impact","Measured Impact",[14,1185,1186],{},"The Astro prototype of the documentation site, four locales and 2,560 pages, built on an 8-vCPU GitHub Actions larger runner:",[1188,1189,1190,1206],"table",{},[1191,1192,1193],"thead",{},[1194,1195,1196,1200,1203],"tr",{},[1197,1198,1199],"th",{},"Measure",[1197,1201,1202],{},"Hand-built folders (Astro 3)",[1197,1204,1205],{},"Built-in i18n (Astro 4.16)",[1207,1208,1209,1221,1231,1241,1256],"tbody",{},[1194,1210,1211,1215,1218],{},[1212,1213,1214],"td",{},"Lines of routing and link code",[1212,1216,1217],{},"410",[1212,1219,1220],{},"145",[1194,1222,1223,1226,1229],{},[1212,1224,1225],{},"Hard-coded locale links found by grep",[1212,1227,1228],{},"83",[1212,1230,440],{},[1194,1232,1233,1236,1239],{},[1212,1234,1235],{},"Broken switcher links (Playwright crawl)",[1212,1237,1238],{},"17",[1212,1240,440],{},[1194,1242,1243,1250,1253],{},[1212,1244,1245,1246,1249],{},"Build time, median of five ",[18,1247,1248],{},"hyperfine"," runs",[1212,1251,1252],{},"268 s",[1212,1254,1255],{},"262 s",[1194,1257,1258,1261,1264],{},[1212,1259,1260],{},"Pages served by fallback at launch",[1212,1262,1263],{},"untracked",[1212,1265,1266],{},"64 (French), 121 (Japanese)",[417,1268,1269,1376],{},[420,1270,428,1275,428,1278,428,1281,428,1284],{"viewBox":1271,"role":423,"ariaLabelledBy":1272,"xmlns":427},"0 0 760 248",[1273,1274],"ast-code-title","ast-code-desc",[430,1276,1277],{"id":1273},"Code size and link errors with hand-built versus built-in routing",[434,1279,1280],{"id":1274},"Paired bars. Routing and link code went from 410 lines to 145. Hard-coded locale links went from 83 to 0. Broken language switcher links found by a Playwright crawl went from 17 to 0.",[438,1282],{"x":440,"y":440,"width":441,"height":1283,"fill":443},"248",[445,1285,448,1286,448,1296,448,1300,448,1307,448,1311,448,1314,448,1317,448,1321,448,1324,448,1327,448,1330,448,1335,448,1339,448,1343,448,1349,448,1353,448,1357,448,1361,448,1365,448,1369,448,1373,428],{"style":447},[438,1287],{"x":1288,"y":1005,"width":1289,"height":1290,"rx":1291,"fill":1292,"opacity":1293,"stroke":1294,"style":1295},"252.5","14.0","12.0","2","#ff595e","0.3","#d83b41","stroke-width:1px",[438,1297],{"x":1298,"y":1005,"width":1289,"height":1290,"rx":1291,"fill":481,"opacity":1299,"stroke":483,"style":1295},"412.2","0.4",[438,1301],{"x":1302,"y":1303,"width":1304,"height":1305,"rx":1306,"fill":1292,"opacity":1293,"stroke":1294,"style":1295},"230.0","82.0","471.9","16.0","3",[438,1308],{"x":1302,"y":1309,"width":1310,"height":1305,"rx":1306,"fill":481,"opacity":1299,"stroke":483,"style":1295},"102.0","166.9",[438,1312],{"x":1302,"y":1045,"width":1313,"height":1305,"rx":1306,"fill":1292,"opacity":1293,"stroke":1294,"style":1295},"95.5",[438,1315],{"x":1302,"y":1019,"width":1316,"height":1305,"rx":1306,"fill":481,"opacity":1299,"stroke":483,"style":1295},"3.0",[438,1318],{"x":1302,"y":1319,"width":1320,"height":1305,"rx":1306,"fill":1292,"opacity":1293,"stroke":1294,"style":1295},"186.0","19.6",[438,1322],{"x":1302,"y":1323,"width":1316,"height":1305,"rx":1306,"fill":481,"opacity":1299,"stroke":483,"style":1295},"206.0",[465,1325],{"d":1326,"fill":468,"stroke":469,"style":458},"M230.0 78.0 L230.0 228.0",[298,1328,1329],{"x":495,"y":496,"fill":497,"style":498},"Routing code and link errors before and after",[298,1331,1334],{"x":1332,"y":1003,"fill":469,"style":1333},"272.5","font-size:12px;text-anchor:start","Hand-built folders",[298,1336,1338],{"x":1337,"y":1003,"fill":469,"style":1333},"432.2","Built-in i18n",[298,1340,1342],{"x":451,"y":1341,"fill":497,"style":1333},"105.2","Routing and link code (lines)",[298,1344,1217],{"x":1345,"y":1346,"fill":1347,"style":1348},"708.9","94.5","#b32b30","font-size:11.5px;text-anchor:start;font-weight:700",[298,1350,1220],{"x":1351,"y":1352,"fill":1047,"style":1348},"403.9","114.5",[298,1354,1356],{"x":451,"y":1355,"fill":497,"style":1333},"157.2","Hard-coded locale links",[298,1358,1228],{"x":1359,"y":1360,"fill":1347,"style":1348},"332.5","146.5",[298,1362,440],{"x":1363,"y":1364,"fill":1047,"style":1348},"240.0","166.5",[298,1366,1368],{"x":451,"y":1367,"fill":497,"style":1333},"209.2","Broken switcher links",[298,1370,1238],{"x":1371,"y":1372,"fill":1347,"style":1348},"256.6","198.5",[298,1374,440],{"x":1363,"y":1375,"fill":1047,"style":1348},"218.5",[581,1377,1378],{},"Build time barely moved; the gain is almost entirely in code that no longer has to exist.",[41,1380,1382],{"id":1381},"pitfalls-rollback","Pitfalls & Rollback",[46,1384,1385,1402,1410,1420,1431],{},[49,1386,1387,1390,1391,1393,1394,1397,1398,39],{},[1103,1388,1389],{},"Middleware redirects in static output."," ",[18,1392,1175],{}," and browser-language detection need server rendering or an edge function; a static build cannot read ",[18,1395,1396],{},"Accept-Language",". Use a root-only edge redirect as in ",[30,1399,1401],{"href":1400},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Flanguage-detection-and-redirects-at-the-edge\u002F","Language Detection and Redirects at the Edge",[49,1403,1404,1409],{},[1103,1405,1406,1408],{},[18,1407,605],{}," mismatches."," Helpers follow the config; hand-written links that disagree create redirect hops.",[49,1411,1412,1415,1416,1419],{},[1103,1413,1414],{},"Locale codes in content IDs."," If a collection entry ID starts with a locale that is not in ",[18,1417,1418],{},"locales",", its page is silently generated under an unknown prefix. Validate IDs in the collection schema.",[49,1421,1422,1427,1428,1430],{},[1103,1423,1424,1425,39],{},"Rewrite fallbacks with the wrong ",[18,1426,721],{}," Set ",[18,1429,721],{}," from the content's real language, not from the URL.",[49,1432,1433,1436],{},[1103,1434,1435],{},"Rollback:"," the i18n block and helpers are additive. Removing the block while keeping the route files restores the previous URLs; nothing in the built output depends on runtime code.",[41,1438,1440],{"id":1439},"conclusion","Conclusion",[14,1442,1443],{},"Astro's i18n routing handles the mechanical part well — locale detection from the URL, prefix rules, fallbacks and link helpers — and leaves content organisation to you. Put a locale folder at the top of each collection, drive both the switcher and the alternates from a translation-key map, and choose redirect fallbacks unless you have a reason to keep the localized URL. On the prototype, that removed two thirds of the routing code and every broken switcher link, at no build-time cost.",[41,1445,1447],{"id":1446},"faq","FAQ",[1449,1450,1452],"h3",{"id":1451},"which-astro-version-added-built-in-i18n-routing","Which Astro version added built-in i18n routing?",[14,1454,1455],{},"Astro 4.0 introduced the i18n configuration block with locales, defaultLocale and routing options, and later 4.x releases added fallback and domain options. Earlier versions needed a hand-built folder structure and helper functions.",[1449,1457,1459],{"id":1458},"does-astro-translate-content-for-me","Does Astro translate content for me?",[14,1461,1462],{},"No. The i18n configuration handles URLs, the current locale, fallbacks and link helpers. Organising translated content, usually as a locale folder inside each content collection, and translating UI strings are up to you or to an integration such as Starlight.",[1449,1464,1466],{"id":1465},"what-does-the-fallback-option-do-on-a-static-build","What does the fallback option do on a static build?",[14,1468,1469],{},"For a locale listed in fallback, pages that do not exist in that locale are generated from the fallback locale, either as a redirect or, with fallbackType set to rewrite, as a copy of the fallback page served at the localized URL. Choose rewrite only if the fallback page clearly signals its language.",[1449,1471,1473],{"id":1472},"how-do-i-get-the-current-locale-in-a-component","How do I get the current locale in a component?",[14,1475,1476],{},"Read Astro.currentLocale. It is derived from the URL according to the i18n configuration, so components do not need the locale passed down as a prop.",[41,1478,1480],{"id":1479},"related","Related",[46,1482,1483,1491,1498,1503,1508],{},[49,1484,1485,1390,1488,1490],{},[1103,1486,1487],{},"Parent:",[30,1489,33],{"href":32}," — URL structure, alternates and workflows.",[49,1492,1493,1497],{},[30,1494,1496],{"href":1495},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo\u002F","Multilingual Sites with Hugo"," — the same site in Hugo's language model.",[49,1499,1500,1502],{},[30,1501,641],{"href":640}," — the key map the switcher reuses.",[49,1504,1505,1507],{},[30,1506,38],{"href":37}," — Starlight's layer on top of Astro i18n.",[49,1509,1510,1514],{},[30,1511,1513],{"href":1512},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fcontent-collections-vs-eleventy-data-cascade\u002F","Content Collections vs Eleventy Data Cascade"," — how collections shape content organisation.",[1516,1517,1518],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":80,"searchDepth":94,"depth":94,"links":1520},[1521,1522,1523,1524,1525,1526,1527,1528,1529,1530,1531,1537],{"id":43,"depth":94,"text":44},{"id":72,"depth":94,"text":73},{"id":284,"depth":94,"text":285},{"id":586,"depth":94,"text":587},{"id":729,"depth":94,"text":730},{"id":949,"depth":94,"text":950},{"id":1095,"depth":94,"text":1096},{"id":1182,"depth":94,"text":1183},{"id":1381,"depth":94,"text":1382},{"id":1439,"depth":94,"text":1440},{"id":1446,"depth":94,"text":1447,"children":1532},[1533,1534,1535,1536],{"id":1451,"depth":115,"text":1452},{"id":1458,"depth":115,"text":1459},{"id":1465,"depth":115,"text":1466},{"id":1472,"depth":115,"text":1473},{"id":1479,"depth":94,"text":1480},[1539,1542,1545,1546],{"name":1540,"item":1541},"Home","\u002F",{"name":1543,"item":1544},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":33,"item":32},{"name":5,"item":1547},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro\u002F","2026-09-25","Configure Astro i18n routing: locales, an unprefixed default language, fallbacks, locale-aware links and content collections organised per language.","md",[1552,1553,1554,1555],{"q":1452,"a":1455},{"q":1459,"a":1462},{"q":1466,"a":1469},{"q":1473,"a":1476},{},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro",{"title":5,"description":1549},"choosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro\u002Findex","article","gxz6K0J4Ybwiz5fQv-000xN3UNnD_ocz95fsrFDXYso",[1563,1566,1569,1572,1575,1578,1581,1584,1587,1590,1593,1596,1599,1602,1605,1608,1611,1614,1617,1620,1623,1626,1629,1632,1635,1638,1641,1644,1647,1650,1653,1656,1658,1661,1664,1667,1670,1673,1676,1679,1682,1685,1688,1691,1694,1697,1700,1703,1706,1709,1712,1715,1718,1721,1723,1726,1728,1729,1731,1733,1736,1738,1741,1744,1747,1750,1753,1756,1759,1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792,1795,1798,1801,1804,1807,1810,1813,1816,1819,1822,1825,1828,1831,1834,1837,1840,1843,1846,1849,1852,1855,1858,1861,1864,1867,1870,1873,1876,1879,1882,1885,1888,1891,1894,1897,1900,1903,1906,1909,1912,1915,1918,1921,1924,1927,1930,1933,1936,1939,1942,1945,1948,1951,1954,1957,1960,1963,1966,1969,1972,1975,1978,1981,1984,1987,1990,1993,1996,1999,2002,2005,2008,2011,2014,2017,2020,2023,2026,2029,2032,2035,2038,2041,2044,2047,2050,2053,2056,2059,2062,2065,2068,2071,2074,2077,2080,2083,2086,2089,2092,2095,2098,2101,2104,2107,2110,2113,2116,2119,2122,2125,2128,2131,2134,2137,2140,2143,2146,2149,2152,2155,2158,2161,2164,2167,2170,2173,2176,2179,2182,2185,2188,2191,2194,2197,2200,2203,2206,2209,2212,2215,2218,2221,2224,2227,2230,2233,2236,2239,2242,2245,2248,2251,2254,2257,2260,2263,2266,2269,2272,2275,2278,2281,2284,2287,2290,2293,2296,2299,2302,2305,2308,2311,2314,2317,2320,2323,2326,2329,2332,2335,2338,2341,2344,2347,2350,2353,2356,2359,2362,2365,2368,2371,2374,2377,2380,2383,2386,2389,2392,2395,2398,2401,2404,2407,2410,2413,2416,2419,2422,2425,2428,2431,2434,2437,2440,2443,2446,2449,2452,2455,2458,2461,2464,2467,2470,2473,2476,2479,2482,2485,2488,2491,2494,2497,2500,2503,2506,2509,2512,2515,2518,2521,2524,2527,2530,2533,2536,2539,2542,2545,2548,2551,2554,2557,2560,2563,2566,2569,2572,2575,2578,2581,2584,2587,2590,2593,2596,2599,2602,2605,2608,2611,2614,2617,2620,2623,2626,2629,2632,2635,2638,2641,2644,2647,2650,2653,2656,2659,2662,2665,2668,2671,2674,2677,2680,2683,2686,2689,2692,2695,2698,2701],{"path":1564,"title":1565},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites","Accessible Code Blocks in Documentation Sites",{"path":1567,"title":1568},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-dark-mode-toggles-for-static-sites","Accessible Dark Mode Toggles for Static Sites",{"path":1570,"title":1571},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-svg-diagrams-on-static-sites","Accessible SVG Diagrams on Static Sites",{"path":1573,"title":1574},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fenforcing-alt-text-for-markdown-images-at-build-time","Enforcing Alt Text for Markdown Images at Build Time",{"path":1576,"title":1577},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-heading-order-problems-in-markdown-content","Fixing Heading Order Problems in Markdown Content",{"path":1579,"title":1580},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-low-color-contrast-flagged-by-lighthouse","Fixing Low Color Contrast Flagged by Lighthouse",{"path":1582,"title":1583},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1585,"title":1586},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fkeyboard-navigation-and-focus-order-on-static-sites","Keyboard Navigation and Focus Order on Static Sites",{"path":1588,"title":1589},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fskip-links-and-landmarks-in-ssg-layouts","Skip Links and Landmarks in SSG Layouts",{"path":1591,"title":1592},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fastro-vs-eleventy-build-times-at-10000-pages","Astro vs Eleventy Build Times at 10,000 Pages",{"path":1594,"title":1595},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fchoosing-between-astro-and-eleventy-for-large-docs","Astro vs Eleventy for Large Docs (1000+ Pages)",{"path":1597,"title":1598},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fcontent-collections-vs-eleventy-data-cascade","Content Collections vs the Eleventy Data Cascade",{"path":1600,"title":1601},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fdev-server-performance-astro-vs-eleventy","Dev Server Performance: Astro vs Eleventy",{"path":1603,"title":1604},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-astro-build-errors-after-upgrading-to-astro-5","Fixing Astro Build Errors After Upgrading to Astro 5",{"path":1606,"title":1607},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-duplicate-permalink-errors-in-eleventy","Fixing Duplicate Permalink Errors in Eleventy",{"path":1609,"title":1610},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-eleventy-out-of-memory-errors-on-large-collections","Fixing Eleventy Out-of-Memory Errors on Large Collections",{"path":1612,"title":1613},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-slow-astro-builds-caused-by-large-mdx-collections","Fixing Slow Astro Builds Caused by Large MDX Collections",{"path":1615,"title":1616},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1618,"title":1619},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders","Loading Remote Content With Astro Content Layer Loaders",{"path":1621,"title":1622},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fmarkdown-pipelines-remark-vs-markdown-it","Markdown Pipelines: remark vs markdown-it",{"path":1624,"title":1625},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fshortcodes-vs-components-for-docs-authors","Shortcodes vs Components for Docs Authors",{"path":1627,"title":1628},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsidebar-navigation-in-astro-and-eleventy","Sidebar Navigation in Astro and Eleventy",{"path":1630,"title":1631},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy","Syntax Highlighting with Shiki in Astro and Eleventy",{"path":1633,"title":1634},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fupgrading-eleventy-2-to-3-with-esm-configuration","Upgrading Eleventy 2 to 3 With ESM Configuration",{"path":1636,"title":1637},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fadding-local-search-to-a-vitepress-site","Adding Local Search to a VitePress Site",{"path":1639,"title":1640},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1642,"title":1643},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcustomizing-starlight-without-forking-the-theme","Customizing Starlight Without Forking the Theme",{"path":1645,"title":1646},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fdocusaurus-vs-starlight-for-product-documentation","Docusaurus vs Starlight for Product Documentation",{"path":1648,"title":1649},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Ffixing-broken-links-reported-by-docusaurus-builds","Fixing Broken Links Reported by Docusaurus Builds",{"path":1651,"title":1652},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fgenerating-api-reference-pages-in-starlight-from-openapi","Generating API Reference Pages in Starlight From OpenAPI",{"path":1654,"title":1655},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1657,"title":38},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs",{"path":1659,"title":1660},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmdx-vs-markdoc-for-docs-content","MDX vs Markdoc for Docs Content",{"path":1662,"title":1663},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1665,"title":1666},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1668,"title":1669},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fspeeding-up-docusaurus-builds-with-rspack","Speeding Up Docusaurus Builds With Rspack",{"path":1671,"title":1672},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1674,"title":1675},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioning-vitepress-documentation-without-a-plugin","Versioning VitePress Documentation Without a Plugin",{"path":1677,"title":1678},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1680,"title":1681},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-vs-starlight-for-vue-and-astro-teams","VitePress vs Starlight for Vue and Astro Teams",{"path":1683,"title":1684},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-fail-after-a-version-upgrade","Fixing Hugo Builds That Fail After a Version Upgrade",{"path":1686,"title":1687},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-slow-down-after-adding-taxonomies","Fixing Hugo Builds That Slow Down After Adding Taxonomies",{"path":1689,"title":1690},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhow-to-benchmark-hugo-vs-astro-build-speeds","How to Benchmark Hugo vs Astro Build Speeds",{"path":1692,"title":1693},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-image-processing-cache-in-ci","Hugo Image Processing Cache in CI",{"path":1695,"title":1696},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-modules-and-dependency-caching","Hugo Modules and Dependency Caching",{"path":1698,"title":1699},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-partialcached-for-faster-builds","Hugo partialCached for Faster Builds",{"path":1701,"title":1702},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1704,"title":1705},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fparallel-hugo-builds-across-ci-jobs","Parallel Hugo Builds Across CI Jobs",{"path":1707,"title":1708},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fprofiling-hugo-templates-with-template-metrics","Profiling Hugo Templates With Template Metrics",{"path":1710,"title":1711},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Freducing-hugo-memory-usage-on-ci-runners","Reducing Hugo Memory Usage on CI Runners",{"path":1713,"title":1714},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsharing-a-theme-across-hugo-sites-with-modules","Sharing a Theme Across Hugo Sites With Modules",{"path":1716,"title":1717},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fspeeding-up-hugo-builds-with-render-hooks-and-caching","Speeding Up Hugo Builds with Render Hooks & Caching",{"path":1719,"title":1720},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsplitting-large-hugo-sites-with-segments","Splitting Large Hugo Sites with Segments",{"path":1722,"title":1543},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":1724,"title":1725},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ffixing-hreflang-errors-reported-in-search-console","Fixing Hreflang Errors Reported in Search Console",{"path":1727,"title":641},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fhreflang-and-language-alternates-on-static-sites",{"path":1557,"title":5},{"path":1730,"title":33},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites",{"path":1732,"title":1401},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Flanguage-detection-and-redirects-at-the-edge",{"path":1734,"title":1735},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-eleventy-sites-with-the-i18n-plugin","Multilingual Eleventy Sites With the i18n Plugin",{"path":1737,"title":1496},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo",{"path":1739,"title":1740},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fright-to-left-layouts-on-static-sites","Right-to-Left Layouts on Static Sites",{"path":1742,"title":1743},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fsubdirectories-vs-subdomains-for-translated-static-sites","Subdirectories vs Subdomains for Translated Static Sites",{"path":1745,"title":1746},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ftranslation-workflows-with-git-and-crowdin","Translation Workflows with Git and Crowdin",{"path":1748,"title":1749},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fcustom-domains-and-https-for-jekyll-on-github-pages","Custom Domains and HTTPS for Jekyll on GitHub Pages",{"path":1751,"title":1752},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1754,"title":1755},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Feleventy-vs-jekyll-for-markdown-heavy-blogs","Eleventy vs Jekyll for Markdown-Heavy Blogs",{"path":1757,"title":1758},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Ffixing-jekyll-builds-that-break-after-a-ruby-upgrade","Fixing Jekyll Builds That Break After a Ruby Upgrade",{"path":1760,"title":1761},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1763,"title":1764},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Freplacing-jekyll-plugins-when-migrating-to-eleventy","Replacing Jekyll Plugins When Migrating to Eleventy",{"path":1766,"title":1767},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Frunning-jekyll-in-docker-for-reproducible-builds","Running Jekyll in Docker for Reproducible Builds",{"path":1769,"title":1770},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Frunning-jekyll-on-github-pages-without-plugins","Running Jekyll on GitHub Pages Without Plugins",{"path":1772,"title":1773},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1775,"title":1776},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1778,"title":1779},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fauditing-content-parity-after-a-migration","Auditing Content Parity After a Migration",{"path":1781,"title":1782},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fconverting-front-matter-at-scale-during-migration","Converting Front Matter at Scale During Migration",{"path":1784,"title":1785},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1787,"title":1788},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fkeeping-redirects-working-after-an-ssg-migration","Keeping Redirects Working After an SSG Migration",{"path":1790,"title":1791},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-a-docs-site-from-jekyll-to-hugo","Migrating a Docs Site From Jekyll to Hugo",{"path":1793,"title":1794},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-a-wordpress-export-to-eleventy","Migrating a WordPress Export to Eleventy",{"path":1796,"title":1797},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":1799,"title":1800},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1802,"title":1803},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-hugo-to-astro-without-breaking-urls","Migrating From Hugo to Astro Without Breaking URLs",{"path":1805,"title":1806},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-nextjs-pages-router-to-astro","Migrating from Next.js Pages Router to Astro",{"path":1808,"title":1809},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-wordpress-to-a-static-site-generator","Migrating WordPress to a Static Site Generator",{"path":1811,"title":1812},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fporting-shortcodes-and-includes-between-generators","Porting Shortcodes and Includes Between Generators",{"path":1814,"title":1815},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Frecovering-search-traffic-lost-after-a-generator-migration","Recovering Search Traffic Lost After a Generator Migration",{"path":1817,"title":1818},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Freplacing-gatsby-graphql-queries-during-a-migration","Replacing Gatsby GraphQL Queries During a Migration",{"path":1820,"title":1821},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ffixing-404s-on-refresh-in-nextjs-static-export","Fixing 404s on Refresh in Next.js Static Export",{"path":1823,"title":1824},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fgenerating-sitemaps-and-rss-in-nextjs-static-export","Generating Sitemaps and RSS in Next.js Static Export",{"path":1826,"title":1827},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fhandling-dynamic-routes-in-nextjs-static-export","Handling Dynamic Routes in Next.js Static Export",{"path":1829,"title":1830},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1832,"title":1833},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fmigrating-from-gatsby-to-nextjs-static-export","Migrating from Gatsby to Next.js Static Export",{"path":1835,"title":1836},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-app-router-static-export-limitations","Next.js App Router Static Export Limitations",{"path":1838,"title":1839},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-static-export-vs-astro-for-marketing-sites","Next.js Static Export vs Astro for Marketing",{"path":1841,"title":1842},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-static-export-vs-gatsby-for-existing-react-sites","Next.js Static Export vs Gatsby for Existing React Sites",{"path":1844,"title":1845},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Foptimizing-images-in-nextjs-static-export","Optimizing Images in Next.js Static Export",{"path":1847,"title":1848},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ftrailing-slash-and-basepath-in-nextjs-static-export","Trailing Slash and basePath in Next.js Static Export",{"path":1850,"title":1851},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fusing-mdx-in-nextjs-static-export","Using MDX in Next.js Static Export",{"path":1853,"title":1854},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Faccessible-search-ui-for-static-sites","Accessible Search UI for Static Sites",{"path":1856,"title":1857},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site","Adding Pagefind to an Astro Site",{"path":1859,"title":1860},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy","Building a Lunr Index at Build Time in Eleventy",{"path":1862,"title":1863},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":1865,"title":1866},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ffixing-missing-results-in-pagefind-indexes","Fixing Missing Results in Pagefind Indexes",{"path":1868,"title":1869},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1871,"title":1872},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1874,"title":1875},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1877,"title":1878},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1880,"title":1881},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-lunr-for-small-documentation-sites","Pagefind vs Lunr for Small Documentation Sites",{"path":1883,"title":1884},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs","Search Index Size Budgets for Large Docs",{"path":1886,"title":1887},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fself-hosting-typesense-for-a-static-site","Self-Hosting Typesense for a Static Site",{"path":1889,"title":1890},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":1892,"title":1893},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fbest-ssg-for-technical-writers-without-coding-experience","Best SSG for Non-Developer Technical Writers",{"path":1895,"title":1896},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fchoosing-an-ssg-for-a-marketing-site-with-non-technical-editors","Choosing an SSG for a Marketing Site with Non-Technical Editors",{"path":1898,"title":1899},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fchoosing-an-ssg-for-api-reference-documentation","Choosing an SSG for API Reference Documentation",{"path":1901,"title":1902},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1904,"title":1905},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fgatsby-vs-astro-for-content-sites-in-2026","Gatsby vs Astro for Content Sites in 2026",{"path":1907,"title":1908},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1910,"title":1911},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fpicking-an-ssg-for-a-multi-language-documentation-site","Picking an SSG for a Multi-Language Docs Site",{"path":1913,"title":1914},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fscoring-ssg-long-term-maintenance-risk","Scoring SSG Long-Term Maintenance Risk",{"path":1916,"title":1917},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fssg-selection-checklist-for-engineering-teams","SSG Selection Checklist for Engineering Teams",{"path":1919,"title":1920},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Ftotal-cost-of-ownership-for-static-site-generators","Total Cost of Ownership for Static Site Generators",{"path":1922,"title":1923},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fwhen-a-static-site-generator-is-the-wrong-choice","When a Static Site Generator Is the Wrong Choice",{"path":1925,"title":1926},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fadding-json-ld-structured-data-at-build-time","Adding JSON-LD Structured Data at Build Time",{"path":1928,"title":1929},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fcanonical-urls-and-duplicate-content-on-static-sites","Canonical URLs and Duplicate Content on Static Sites",{"path":1931,"title":1932},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-pages-crawled-but-not-indexed-on-static-sites","Fixing Pages Crawled but Not Indexed on Static Sites",{"path":1934,"title":1935},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-soft-404s-on-static-hosts","Fixing Soft 404s on Static Hosts",{"path":1937,"title":1938},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-breadcrumb-structured-data-in-astro","Generating Breadcrumb Structured Data in Astro",{"path":1940,"title":1941},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-sitemaps-for-large-static-sites","Generating Sitemaps for Large Static Sites",{"path":1943,"title":1944},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":1946,"title":1947},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frobots-txt-and-noindex-for-preview-and-staging","robots.txt and noindex for Preview and Staging",{"path":1949,"title":1950},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frss-and-atom-feeds-for-static-blogs","RSS and Atom Feeds for Static Blogs",{"path":1952,"title":1953},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fseo-safe-pagination-and-tag-pages","SEO-Safe Pagination and Tag Pages",{"path":1955,"title":1956},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames","Cache Busting with Content-Hashed Filenames",{"path":1958,"title":1959},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-for-static-sites-in-nginx","Cache-Control Headers for Static Sites in Nginx",{"path":1961,"title":1962},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-s3-and-cloudfront","Cache-Control Headers on S3 and CloudFront",{"path":1964,"title":1965},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-vercel-for-static-sites","Cache-Control Headers on Vercel for Static Sites",{"path":1967,"title":1968},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-keys-and-query-strings-on-cdns","Cache Keys and Query Strings on CDNs",{"path":1970,"title":1971},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcaching-404s-and-redirects-at-the-edge","Caching 404s and Redirects at the Edge",{"path":1973,"title":1974},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcloudflare-vs-cloudfront-cache-hit-ratios-for-static-sites","Cloudflare vs CloudFront Cache Hit Ratios for Static Sites",{"path":1976,"title":1977},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ffixing-stale-html-after-deploys-on-cloudflare","Fixing Stale HTML After Deploys on Cloudflare",{"path":1979,"title":1980},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1982,"title":1983},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fpurging-the-cdn-cache-after-a-static-deploy","Purging the CDN Cache After a Static Deploy",{"path":1985,"title":1986},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fsetting-cache-control-headers-on-cloudflare-pages","Cache-Control Headers on Cloudflare Pages",{"path":1988,"title":1989},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fsetting-up-proper-cache-headers-on-netlify","Proper Cache Headers on Netlify for SSGs",{"path":1991,"title":1992},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fstale-while-revalidate-for-static-html","Stale-While-Revalidate for Static HTML",{"path":1994,"title":1995},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":1997,"title":1998},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fcode-splitting-and-module-preload-in-vite-based-ssgs","Code Splitting and Module Preload in Vite-Based SSGs",{"path":2000,"title":2001},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-missing-tailwind-classes-in-production-builds","Fixing Missing Tailwind Classes in Production Builds",{"path":2003,"title":2004},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-unused-javascript-warnings-on-static-pages","Fixing Unused JavaScript Warnings on Static Pages",{"path":2006,"title":2007},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2009,"title":2010},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites","Inlining Critical CSS on Static Sites",{"path":2012,"title":2013},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fkeeping-tailwind-css-output-small-on-static-sites","Keeping Tailwind CSS Output Small on Static Sites",{"path":2015,"title":2016},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fminifying-html-css-and-js-in-eleventy","Minifying HTML, CSS and JS in Eleventy",{"path":2018,"title":2019},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fprecompressing-assets-with-brotli-and-zstd","Precompressing Assets with Brotli and Zstd",{"path":2021,"title":2022},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fpurging-unused-css-with-tailwind-and-lightningcss","Purging Unused CSS with Tailwind and Lightning CSS",{"path":2024,"title":2025},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons","SVG Icon Sprites vs Inline Icons",{"path":2027,"title":2028},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ftailwind-v4-in-astro-without-postcss-plugins","Tailwind v4 in Astro Without PostCSS Plugins",{"path":2030,"title":2031},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fcls-from-client-side-rendered-components","CLS from Client-Side Rendered Components",{"path":2033,"title":2034},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fdebugging-cls-with-the-layout-instability-api","Debugging CLS with the Layout Instability API",{"path":2036,"title":2037},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Feliminating-layout-shift-from-web-fonts","Eliminating Layout Shift From Web Fonts",{"path":2039,"title":2040},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-cookie-banners","Fixing CLS from Cookie Banners",{"path":2042,"title":2043},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-dynamic-table-of-contents-widgets","Fixing CLS From Dynamic Table of Contents Widgets",{"path":2045,"title":2046},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-images-without-dimensions-in-markdown","Fixing CLS From Images Without Dimensions in Markdown",{"path":2048,"title":2049},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-late-loading-embeds","Fixing CLS From Late-Loading Embeds",{"path":2051,"title":2052},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-sticky-headers-and-anchor-links","Fixing CLS from Sticky Headers and Anchor Links",{"path":2054,"title":2055},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2057,"title":2058},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fmeasuring-cls-in-the-field-with-web-vitals-js","Measuring CLS in the Field With web-vitals.js",{"path":2060,"title":2061},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Freserving-space-for-ad-and-promo-slots","Reserving Space for Ad and Promo Slots",{"path":2063,"title":2064},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Freserving-space-for-images-and-embeds-to-stop-layout-shift","Reserving Space for Images and Embeds",{"path":2066,"title":2067},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2069,"title":2070},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffixing-invisible-text-while-web-fonts-load","Fixing Invisible Text While Web Fonts Load",{"path":2072,"title":2073},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2075,"title":2076},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2078,"title":2079},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fmetric-matched-fallback-fonts-with-size-adjust","Metric-Matched Fallback Fonts with size-adjust",{"path":2081,"title":2082},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2084,"title":2085},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fself-hosted-fonts-vs-google-fonts-for-static-sites","Self-Hosted Fonts vs Google Fonts for Static Sites",{"path":2087,"title":2088},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fself-hosting-google-fonts-to-eliminate-layout-shift","Self-Host Google Fonts to Eliminate Layout Shift",{"path":2090,"title":2091},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fsubsetting-variable-fonts-for-faster-first-render","Subsetting Variable Fonts for Faster First Render",{"path":2093,"title":2094},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fusing-system-font-stacks-to-skip-webfonts","Using System Font Stacks to Skip Web Fonts",{"path":2096,"title":2097},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2099,"title":2100},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fart-direction-with-the-picture-element","Art Direction with the Picture Element",{"path":2102,"title":2103},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2105,"title":2106},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fbuilding-an-image-cdn-pipeline-for-static-sites","Building an Image CDN Pipeline for Static Sites",{"path":2108,"title":2109},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2111,"title":2112},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Ffixing-blurry-images-from-astro-assets-resizing","Fixing Blurry Images From astro:assets Resizing",{"path":2114,"title":2115},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time","Generating Open Graph Images at Build Time",{"path":2117,"title":2118},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2120,"title":2121},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Flazy-loading-images-without-hurting-lcp","Lazy-Loading Images Without Hurting LCP",{"path":2123,"title":2124},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Foptimizing-webp-images-in-hugo-without-plugins","Optimizing WebP Images in Hugo Without Plugins",{"path":2126,"title":2127},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy","Responsive Images with srcset in Eleventy",{"path":2129,"title":2130},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-astro-images-through-cloudflare-image-resizing","Serving Astro Images Through Cloudflare Image Resizing",{"path":2132,"title":2133},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-avif-with-fallbacks-on-static-sites","Serving AVIF With Fallbacks on Static Sites",{"path":2135,"title":2136},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2138,"title":2139},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2141,"title":2142},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fbreaking-up-long-tasks-on-static-sites","Breaking Up Long Tasks on Static Sites",{"path":2144,"title":2145},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fdeferring-hydration-with-client-visible-in-astro","Deferring Hydration with client:visible in Astro",{"path":2147,"title":2148},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-hydration-mismatch-errors-in-astro-islands","Fixing Hydration Mismatch Errors in Astro Islands",{"path":2150,"title":2151},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-poor-inp-on-static-pages-with-heavy-widgets","Fixing Poor INP on Static Pages With Heavy Widgets",{"path":2153,"title":2154},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds","How to Reduce Bundle Size in Eleventy Builds",{"path":2156,"title":2157},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2159,"title":2160},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fmeasuring-inp-on-static-sites-with-real-user-monitoring","Measuring INP on Static Sites with RUM",{"path":2162,"title":2163},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2165,"title":2166},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2168,"title":2169},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2171,"title":2172},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Feliminating-render-blocking-css-on-static-sites","Eliminating Render-Blocking CSS on Static Sites",{"path":2174,"title":2175},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-on-text-heavy-documentation-pages","Fixing LCP on Text-Heavy Documentation Pages",{"path":2177,"title":2178},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-regressions-caused-by-cookie-consent-tools","Fixing LCP Regressions Caused by Cookie Consent Tools",{"path":2180,"title":2181},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-when-the-hero-is-a-background-image","Fixing LCP When the Hero Is a Background Image",{"path":2183,"title":2184},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-slow-lcp-on-pages-with-embedded-video","Fixing Slow LCP on Pages With Embedded Video",{"path":2186,"title":2187},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Fimproving-ttfb-for-static-html","Improving TTFB for Static HTML",{"path":2189,"title":2190},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2192,"title":2193},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Fmeasuring-lcp-subparts-with-devtools","Measuring LCP Subparts with DevTools",{"path":2195,"title":2196},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Foptimizing-lcp-on-astro-with-priority-hints","Optimizing LCP on Astro with Priority Hints",{"path":2198,"title":2199},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Freducing-lcp-from-hero-images-on-static-sites","Reducing LCP from Hero Images on Static Sites",{"path":2201,"title":2202},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fcomparing-lab-and-field-data-with-crux","Comparing Lab and Field Data with CrUX",{"path":2204,"title":2205},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2207,"title":2208},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Flighthouse-ci-vs-webpagetest-for-regression-gates","Lighthouse CI vs WebPageTest for Regression Gates",{"path":2210,"title":2211},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fmeasuring-web-vitals-in-playwright-tests","Measuring Web Vitals in Playwright Tests",{"path":2213,"title":2214},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2216,"title":2217},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fperformance-testing-on-throttled-mobile-profiles","Performance Testing on Throttled Mobile Profiles",{"path":2219,"title":2220},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Freducing-lighthouse-score-variance-in-ci","Reducing Lighthouse Score Variance in CI",{"path":2222,"title":2223},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Frunning-webpagetest-scripts-against-preview-deploys","Running WebPageTest Scripts Against Preview Deploys",{"path":2225,"title":2226},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fsetting-up-lighthouse-ci-for-a-static-site","Setting Up Lighthouse CI for a Static Site",{"path":2228,"title":2229},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-bundle-size-per-pull-request","Tracking Bundle Size per Pull Request",{"path":2231,"title":2232},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2234,"title":2235},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fwriting-a-performance-budget-that-fails-builds","Writing a Performance Budget That Fails Builds",{"path":2237,"title":2238},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2240,"title":2241},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2243,"title":2244},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2246,"title":2247},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffixing-wasted-preloads-flagged-by-chrome","Fixing Wasted Preloads Flagged by Chrome",{"path":2249,"title":2250},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2252,"title":2253},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2255,"title":2256},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fpreconnect-vs-dns-prefetch-on-static-sites","Preconnect vs DNS-Prefetch on Static Sites",{"path":2258,"title":2259},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2261,"title":2262},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-in-astro-without-hurting-vitals","View Transitions in Astro Without Hurting Vitals",{"path":2264,"title":2265},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites","View Transitions on Multi-Page Static Sites",{"path":2267,"title":2268},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fauditing-third-party-scripts-with-lighthouse","Auditing Third-Party Scripts With Lighthouse",{"path":2270,"title":2271},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffacades-for-chat-widgets-and-maps","Facades for Chat Widgets and Maps",{"path":2273,"title":2274},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffixing-main-thread-blocking-from-chat-widgets","Fixing Main-Thread Blocking From Chat Widgets",{"path":2276,"title":2277},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2279,"title":2280},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Flazy-loading-youtube-embeds-on-static-sites","Lazy-Loading YouTube Embeds on Static Sites",{"path":2282,"title":2283},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Floading-google-tag-manager-without-hurting-inp","Loading Google Tag Manager Without Hurting INP",{"path":2285,"title":2286},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking","Measuring Third-Party Cost with Request Blocking",{"path":2288,"title":2289},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fprivacy-friendly-analytics-compared-by-page-weight","Privacy-Friendly Analytics Compared by Page Weight",{"path":2291,"title":2292},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Frunning-third-party-scripts-in-a-web-worker-with-partytown","Running Third-Party Scripts in a Web Worker with Partytown",{"path":2294,"title":2295},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fself-hosting-analytics-to-cut-third-party-requests","Self-Hosting Analytics to Cut Third-Party Requests",{"path":2297,"title":2298},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2300,"title":2301},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2303,"title":2304},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2306,"title":2307},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2309,"title":2310},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcustom-domains-and-tls-on-cloudflare-pages","Custom Domains and TLS on Cloudflare Pages",{"path":2312,"title":2313},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-astro-to-cloudflare-workers-static-assets","Deploying Astro to Cloudflare Workers Static Assets",{"path":2315,"title":2316},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-hugo-to-cloudflare-pages-and-workers","Deploying Hugo to Cloudflare Pages and Workers",{"path":2318,"title":2319},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-to-cloudflare-from-github-actions-with-wrangler","Deploying to Cloudflare From GitHub Actions With Wrangler",{"path":2321,"title":2322},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2324,"title":2325},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2327,"title":2328},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets","Migrating from Cloudflare Pages to Workers Static Assets",{"path":2330,"title":2331},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2333,"title":2334},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2336,"title":2337},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fdocs-as-code-review-workflow-for-writers","Docs-as-Code Review Workflow for Writers",{"path":2339,"title":2340},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2342,"title":2343},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fgit-based-cms-options-for-static-sites-compared","Git-Based CMS Options for Static Sites Compared",{"path":2345,"title":2346},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2348,"title":2349},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fmanaging-images-in-docs-as-code-repos","Managing Images in Docs-as-Code Repos",{"path":2351,"title":2352},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2354,"title":2355},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2357,"title":2358},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduling-content-publication-with-cron-triggered-builds","Scheduling Content Publication With Cron-Triggered Builds",{"path":2360,"title":2361},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build","Wiring a Headless CMS to a Static Build",{"path":2363,"title":2364},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2366,"title":2367},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fcaching-node-modules-in-github-actions-for-faster-ssg-builds","Caching node_modules in GitHub Actions",{"path":2369,"title":2370},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2372,"title":2373},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2375,"title":2376},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-multiple-environments-from-one-workflow","Deploying to Multiple Environments From One Workflow",{"path":2378,"title":2379},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Ffixing-flaky-static-site-builds-in-github-actions","Fixing Flaky Static Site Builds in GitHub Actions",{"path":2381,"title":2382},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fhow-to-set-up-github-actions-for-hugo-deployments","GitHub Actions for Hugo Deployments",{"path":2384,"title":2385},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2387,"title":2388},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2390,"title":2391},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2393,"title":2394},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpublishing-any-generator-to-github-pages-with-actions","Publishing Any Generator to GitHub Pages With Actions",{"path":2396,"title":2397},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2399,"title":2400},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fbuild-caching-on-netlify-and-vercel","Build Caching on Netlify and Vercel",{"path":2402,"title":2403},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fcaching-hugo-builds-in-github-actions","Caching Hugo Builds in GitHub Actions",{"path":2405,"title":2406},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2408,"title":2409},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2411,"title":2412},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Ffixing-stale-pages-from-incremental-builds","Fixing Stale Pages From Incremental Builds",{"path":2414,"title":2415},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer","Incremental Builds in Astro with the Content Layer",{"path":2417,"title":2418},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-rebuild-times-across-astro-eleventy-and-hugo","Incremental Rebuild Times Across Astro, Eleventy and Hugo",{"path":2420,"title":2421},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2423,"title":2424},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fmeasuring-build-time-regressions-in-ci","Measuring Build-Time Regressions in CI",{"path":2426,"title":2427},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fremote-caching-with-turborepo-for-ssg-monorepos","Remote Caching with Turborepo for SSG Monorepos",{"path":2429,"title":2430},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fsharing-build-cache-across-ci-runners","Sharing Build Cache Across CI Runners",{"path":2432,"title":2433},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2435,"title":2436},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2438,"title":2439},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data","Building a Core Web Vitals Dashboard from RUM Data",{"path":2441,"title":2442},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fcrawling-for-broken-links-on-a-schedule","Crawling for Broken Links on a Schedule",{"path":2444,"title":2445},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ffinding-the-cause-of-a-sudden-field-lcp-drop","Finding the Cause of a Sudden Field LCP Drop",{"path":2447,"title":2448},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2450,"title":2451},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2453,"title":2454},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2456,"title":2457},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Freal-user-error-tracking-on-static-sites","Real-User Error Tracking on Static Sites",{"path":2459,"title":2460},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2462,"title":2463},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2465,"title":2466},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites","Uptime and Synthetic Checks for Static Sites",{"path":2468,"title":2469},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fbandwidth-pricing-for-static-sites-across-netlify-vercel-and-cloudflare","Static Site Bandwidth Pricing: Netlify, Vercel, Cloudflare",{"path":2471,"title":2472},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-redirects-on-vercel-for-static-sites","Configuring Redirects on Vercel for Static Sites",{"path":2474,"title":2475},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2477,"title":2478},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fdeploying-astro-to-vercel-as-a-fully-static-site","Deploying Astro to Vercel as a Fully Static Site",{"path":2480,"title":2481},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-netlify-builds-that-exceed-the-time-limit","Fixing Netlify Builds That Exceed the Time Limit",{"path":2483,"title":2484},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-vercel-builds-that-run-out-of-memory","Fixing Vercel Builds That Run Out of Memory",{"path":2486,"title":2487},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2489,"title":2490},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2492,"title":2493},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2495,"title":2496},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites","Netlify Redirects and Rewrites for Static Sites",{"path":2498,"title":2499},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fsetting-up-deploy-previews-on-netlify-for-every-pull-request","Netlify Deploy Previews for Every Pull Request",{"path":2501,"title":2502},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs","Vercel Build Output API for Custom SSGs",{"path":2504,"title":2505},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-isr-vs-static-generation-for-ssgs","Vercel ISR vs Static Generation for SSGs",{"path":2507,"title":2508},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fautomating-preview-deploy-pipelines-with-github-actions","Automating Preview Deploy Pipelines with GitHub Actions",{"path":2510,"title":2511},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2513,"title":2514},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2516,"title":2517},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Ffixing-preview-deploys-leaking-into-search-results","Fixing Preview Deploys Leaking Into Search Results",{"path":2519,"title":2520},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2522,"title":2523},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2525,"title":2526},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2528,"title":2529},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2531,"title":2532},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpull-request-previews-for-github-pages-sites","Pull Request Previews for GitHub Pages Sites",{"path":2534,"title":2535},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2537,"title":2538},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2540,"title":2541},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites","Blue-Green Deploys for Static Sites",{"path":2543,"title":2544},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2546,"title":2547},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2549,"title":2550},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2552,"title":2553},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fkeeping-old-assets-alive-after-deploy","Keeping Old Assets Alive After Deploy",{"path":2555,"title":2556},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2558,"title":2559},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets","Recovering From a Deploy That Deleted Live Assets",{"path":2561,"title":2562},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-a-bad-static-deploy-in-under-a-minute","Rolling Back a Bad Static Deploy in Under a Minute",{"path":2564,"title":2565},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-netlify-deploys-from-the-cli-and-api","Rolling Back Netlify Deploys From the CLI and API",{"path":2567,"title":2568},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes","Rolling Back S3 and CloudFront Deploys With Versioned Prefixes",{"path":2570,"title":2571},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url","Running Smoke Tests Against a Preview URL",{"path":2573,"title":2574},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2576,"title":2577},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2579,"title":2580},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts","Fixing Content Security Policy Violations From Inline Scripts",{"path":2582,"title":2583},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-mixed-content-warnings-after-moving-to-https","Fixing Mixed Content Warnings After Moving to HTTPS",{"path":2585,"title":2586},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fhash-based-csp-for-inline-scripts-in-astro","Hash-Based CSP for Inline Scripts in Astro",{"path":2588,"title":2589},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2591,"title":2592},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2594,"title":2595},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2597,"title":2598},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-for-static-sites-served-by-caddy","Security Headers for Static Sites Served by Caddy",{"path":2600,"title":2601},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-on-vercel-for-static-sites","Security Headers on Vercel for Static Sites",{"path":2603,"title":2604},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-txt-and-disclosure-for-static-sites","security.txt and Disclosure for Static Sites",{"path":2606,"title":2607},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2609,"title":2610},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fwriting-a-content-security-policy-for-a-static-site","Writing a Content Security Policy for a Static Site",{"path":2612,"title":2613},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2615,"title":2616},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2618,"title":2619},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2621,"title":2622},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront","Deploying a Static Site to S3 and CloudFront",{"path":2624,"title":2625},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2627,"title":2628},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2630,"title":2631},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2633,"title":2634},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-from-a-docker-container-with-nginx","Serving a Static Site From a Docker Container With Nginx",{"path":2636,"title":2637},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy-and-automatic-https","Serving a Static Site With Caddy and Automatic HTTPS",{"path":2639,"title":2640},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2642,"title":2643},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2645,"title":2646},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2648,"title":2649},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2651,"title":2652},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers","Adding a Contact Form with Cloudflare Workers",{"path":2654,"title":2655},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Ffixing-cold-starts-in-netlify-functions-for-forms","Fixing Cold Starts in Netlify Functions for Forms",{"path":2657,"title":2658},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site","Handling Form Submissions on a Static Site",{"path":2660,"title":2661},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2663,"title":2664},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2666,"title":2667},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2669,"title":2670},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2672,"title":2673},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fproxying-third-party-apis-from-an-edge-function","Proxying Third-Party APIs from an Edge Function",{"path":2675,"title":2676},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2678,"title":2679},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci","Accessibility Testing with axe and pa11y in CI",{"path":2681,"title":2682},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright","End-to-End Tests for Static Sites with Playwright",{"path":2684,"title":2685},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ffixing-flaky-playwright-tests-against-preview-deploys","Fixing Flaky Playwright Tests Against Preview Deploys",{"path":2687,"title":2688},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2690,"title":2691},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2693,"title":2694},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2696,"title":2697},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-search-and-navigation-flows-with-playwright","Testing Search and Navigation Flows With Playwright",{"path":2699,"title":2700},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2702,"title":2703},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2705,"tools":2709},{"label":2706,"plural":2707,"u":2708},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[2710],{"label":2711,"u":2712},"Astro","\u002Ftools\u002Fastro\u002F",1790943194186]