[{"data":1,"prerenderedAt":1764},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites":3,"all-docs-nav":1222},{"id":4,"title":5,"body":6,"breadcrumb":1200,"dateModified":1209,"datePublished":1209,"description":1210,"extension":1211,"faq":1212,"meta":1217,"navigation":469,"path":1218,"seo":1219,"slug":12,"stem":1220,"type":305,"__hash__":1221},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites\u002Findex.md","Multilingual Search on Static Sites",{"type":7,"value":8,"toc":1182},"minimark",[9,13,17,31,36,65,69,72,79,85,91,97,221,225,231,240,258,261,330,341,345,357,642,649,653,656,761,941,948,952,955,1014,1018,1032,1036,1092,1096,1105,1109,1114,1117,1121,1124,1128,1131,1135,1138,1142,1178],[10,11,5],"h1",{"id":12},"multilingual-search-on-static-sites",[14,15,16],"p",{},"Search on a single-language site is a solved problem. Add a second language and three things break at once: English stemming mangles German, stop-word lists remove the wrong words, and readers of the French docs get English results they did not ask for. Add Japanese and a fourth thing breaks — there are no spaces between words, so a naive indexer treats whole sentences as single tokens and finds nothing.",[14,18,19,20,25,26,30],{},"This guide builds per-language search for a documentation site in six languages (English, German, French, Spanish, Japanese and Simplified Chinese), compares Pagefind's automatic handling with a hand-built Lunr setup, and measures relevance per language. It extends ",[21,22,24],"a",{"href":23},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002F","Search for Static Sites"," and pairs with the site-structure decisions in ",[21,27,29],{"href":28},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fpicking-an-ssg-for-a-multi-language-documentation-site\u002F","Picking an SSG for a Multi-Language Documentation Site",".",[32,33,35],"h2",{"id":34},"prerequisites","Prerequisites",[37,38,39,59,62],"ul",{},[40,41,42,43,47,48,51,52,55,56,30],"li",{},"A static site with one URL prefix per locale (",[44,45,46],"code",{},"\u002Fde\u002F",", ",[44,49,50],{},"\u002Fja\u002F","), each page carrying a correct ",[44,53,54],{},"lang"," attribute on ",[44,57,58],{},"\u003Chtml>",[40,60,61],{},"A way to know which pages are translations and which are fallbacks.",[40,63,64],{},"Twenty or more real queries per language with the expected page, from native speakers or support logs, to measure relevance.",[32,66,68],{"id":67},"why-one-index-fails","Why One Index Fails",[14,70,71],{},"A shared index built with English processing does four kinds of damage:",[14,73,74,78],{},[75,76,77],"strong",{},"Wrong stemming."," The English Porter stemmer reduces \"deployment\" and \"deploying\" to \"deploy\". Applied to German it turns \"Bereitstellungen\" into nonsense and fails to relate it to \"Bereitstellung\". Applied to French it strips endings that are not suffixes.",[14,80,81,84],{},[75,82,83],{},"Wrong stop words."," English removes \"die\" as a stop word. In German, \"die\" is the feminine article — also a stop word, luckily — but English also drops \"is\", \"on\" and \"was\", which are content words in other languages (\"was\" is German for \"what\").",[14,86,87,90],{},[75,88,89],{},"Compound words."," German glues nouns together: \"Zwischenspeicherkonfiguration\" (cache configuration) is one token. A query for \"Zwischenspeicher\" does not match it unless the indexer decomposes compounds or supports substring matching.",[14,92,93,96],{},[75,94,95],{},"No word boundaries."," Japanese \"キャッシュの設定\" (cache settings) has no spaces. Without segmentation, the whole phrase is one token, and a query for \"キャッシュ\" finds nothing.",[98,99,100,217],"figure",{},[101,102,109,110,109,114,109,118,109,125],"svg",{"viewBox":103,"role":104,"ariaLabelledBy":105,"xmlns":108},"0 0 760 300","img",[106,107],"mls-fail-title","mls-fail-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[111,112,113],"title",{"id":106},"Four ways a single English-processed index fails other languages",[115,116,117],"desc",{"id":107},"Four panels. Stemming: German Bereitstellungen is stemmed incorrectly and does not match Bereitstellung. Stop words: German was, meaning what, is removed as an English stop word. Compounds: Zwischenspeicherkonfiguration does not match a query for Zwischenspeicher. Segmentation: the Japanese phrase for cache settings stays one token and a query for cache finds nothing.",[119,120],"rect",{"x":121,"y":121,"width":122,"height":123,"fill":124},"0","760","300","#ffffff",[126,127,129,130,129,138,129,149,129,154,129,158,129,162,129,168,129,171,129,175,129,178,129,181,129,184,129,187,129,191,129,195,129,199,129,203,129,205,129,208,129,211,129,214,109],"g",{"style":128},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[131,132,137],"text",{"x":133,"y":134,"fill":135,"style":136},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","One index, English rules, four failure modes",[119,139],{"x":140,"y":141,"width":142,"height":143,"rx":144,"fill":145,"opacity":146,"stroke":147,"style":148},"30","50","340","110","10","#ff595e","0.08","#d83b41","stroke-width:1.5px",[131,150,153],{"x":141,"y":151,"fill":135,"style":152},"76","font-weight:700","Stemming",[131,155,157],{"x":141,"y":156,"fill":135},"102","Bereitstellungen → \"bereitstellungen\"",[131,159,161],{"x":141,"y":160,"fill":135},"124","query \"Bereitstellung\" → no match",[131,163,167],{"x":141,"y":164,"fill":165,"style":166},"146","#b32b30","font-size:11px","English suffix rules do not apply to German",[119,169],{"x":170,"y":141,"width":142,"height":143,"rx":144,"fill":145,"opacity":146,"stroke":147,"style":148},"390",[131,172,174],{"x":173,"y":151,"fill":135,"style":152},"410","Stop words",[131,176,177],{"x":173,"y":156,"fill":135},"\"Was ist ein Build-Hook?\"",[131,179,180],{"x":173,"y":160,"fill":135},"English list drops \"was\" (= what)",[131,182,183],{"x":173,"y":164,"fill":165,"style":166},"content words removed, noise words kept",[119,185],{"x":140,"y":186,"width":142,"height":143,"rx":144,"fill":145,"opacity":146,"stroke":147,"style":148},"172",[131,188,190],{"x":141,"y":189,"fill":135,"style":152},"198","Compounds",[131,192,194],{"x":141,"y":193,"fill":135},"224","Zwischenspeicherkonfiguration",[131,196,198],{"x":141,"y":197,"fill":135},"246","query \"Zwischenspeicher\" → no match",[131,200,202],{"x":141,"y":201,"fill":165,"style":166},"268","one token, never decomposed",[119,204],{"x":170,"y":186,"width":142,"height":143,"rx":144,"fill":145,"opacity":146,"stroke":147,"style":148},[131,206,207],{"x":173,"y":189,"fill":135,"style":152},"Segmentation",[131,209,210],{"x":173,"y":193,"fill":135},"キャッシュの設定 → one token",[131,212,213],{"x":173,"y":197,"fill":135},"query キャッシュ → no match",[131,215,216],{"x":173,"y":201,"fill":165,"style":166},"no spaces means no word boundaries",[218,219,220],"figcaption",{},"Each failure is invisible to an English-speaking team testing search in English, which is why multilingual search regressions often ship unnoticed.",[32,222,224],{"id":223},"option-1-pagefinds-per-language-indexes","Option 1: Pagefind's Per-Language Indexes",[14,226,227,228,230],{},"Pagefind handles this with no configuration beyond correct markup. During indexing it reads each page's ",[44,229,54],{}," attribute, groups pages by language, applies that language's stemmer (it bundles Snowball stemmers for about twenty-five languages) and segments CJK text. The output contains one index per language:",[232,233,238],"pre",{"className":234,"code":236,"language":131,"meta":237},[235],"language-text","dist\u002Fpagefind\u002F\n├── pagefind-entry.json          # lists languages and their index hashes\n├── index\u002F                       # per-language index chunks\n│   ├── en_7a1f...pf_index\n│   ├── de_c912...pf_index\n│   └── ja_04bd...pf_index\n└── fragment\u002F\n","",[44,239,236],{"__ignoreMap":237},[14,241,242,243,246,247,250,251,253,254,257],{},"At query time, ",[44,244,245],{},"pagefind.js"," reads ",[44,248,249],{},"document.documentElement.lang"," and loads only the matching language's index. A reader on ",[44,252,46],{}," never downloads English fragments. To search across languages deliberately, initialise with ",[44,255,256],{},"pagefind.options({ language: 'en' })",", but that is rarely what readers want.",[14,259,260],{},"The things you still have to get right are all markup:",[232,262,266],{"className":263,"code":264,"language":265,"meta":237,"style":237},"language-html shiki shiki-themes github-light github-dark","\u003Chtml lang=\"de\">                 \u003C!-- not \"de-DE\" on some pages and \"de\" on others -->\n\u003Carticle data-pagefind-body>\n  \u003Cp data-pagefind-ignore>Diese Seite ist noch nicht übersetzt.\u003C\u002Fp>\n","html",[44,267,268,298,312],{"__ignoreMap":237},[269,270,273,277,280,284,287,291,294],"span",{"class":271,"line":272},"line",1,[269,274,276],{"class":275},"sVt8B","\u003C",[269,278,265],{"class":279},"s9eBZ",[269,281,283],{"class":282},"sScJk"," lang",[269,285,286],{"class":275},"=",[269,288,290],{"class":289},"sZZnC","\"de\"",[269,292,293],{"class":275},">                 ",[269,295,297],{"class":296},"sJ8bj","\u003C!-- not \"de-DE\" on some pages and \"de\" on others -->\n",[269,299,301,303,306,309],{"class":271,"line":300},2,[269,302,276],{"class":275},[269,304,305],{"class":279},"article",[269,307,308],{"class":282}," data-pagefind-body",[269,310,311],{"class":275},">\n",[269,313,315,318,320,323,326,328],{"class":271,"line":314},3,[269,316,317],{"class":275},"  \u003C",[269,319,14],{"class":279},[269,321,322],{"class":282}," data-pagefind-ignore",[269,324,325],{"class":275},">Diese Seite ist noch nicht übersetzt.\u003C\u002F",[269,327,14],{"class":279},[269,329,311],{"class":275},[14,331,332,333,336,337,340],{},"Inconsistent language codes split one language into two indexes; Pagefind treats ",[44,334,335],{},"de"," and ",[44,338,339],{},"de-DE"," as different languages unless normalised. Pick one form in your layout and assert it in a build check.",[32,342,344],{"id":343},"option-2-lunr-with-lunr-languages","Option 2: Lunr With lunr-languages",[14,346,347,348,351,352,356],{},"For a site already on Lunr, ",[44,349,350],{},"lunr-languages"," adds stemmers and stop words per language. Build one index per locale in the build hook, as in ",[21,353,355],{"href":354},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy\u002F","Building a Lunr Index at Build Time in Eleventy",":",[232,358,362],{"className":359,"code":360,"language":361,"meta":237,"style":237},"language-js shiki shiki-themes github-light github-dark","import lunr from 'lunr';\nimport stemmerSupport from 'lunr-languages\u002Flunr.stemmer.support.js';\nimport de from 'lunr-languages\u002Flunr.de.js';\nimport ja from 'lunr-languages\u002Flunr.ja.js';\nimport tinyseg from 'lunr-languages\u002Ftinyseg.js';\nstemmerSupport(lunr); de(lunr); tinyseg(lunr); ja(lunr);\n\nfunction buildIndex(locale, docs) {\n  return lunr(function () {\n    if (locale !== 'en') this.use(lunr[locale]);\n    this.ref('id');\n    this.field('title', { boost: 10 });\n    this.field('body');\n    docs.forEach((d) => this.add(d));\n  });\n}\n","js",[44,363,364,382,396,410,425,440,464,471,495,511,541,560,583,599,630,636],{"__ignoreMap":237},[269,365,366,370,373,376,379],{"class":271,"line":272},[269,367,369],{"class":368},"szBVR","import",[269,371,372],{"class":275}," lunr ",[269,374,375],{"class":368},"from",[269,377,378],{"class":289}," 'lunr'",[269,380,381],{"class":275},";\n",[269,383,384,386,389,391,394],{"class":271,"line":300},[269,385,369],{"class":368},[269,387,388],{"class":275}," stemmerSupport ",[269,390,375],{"class":368},[269,392,393],{"class":289}," 'lunr-languages\u002Flunr.stemmer.support.js'",[269,395,381],{"class":275},[269,397,398,400,403,405,408],{"class":271,"line":314},[269,399,369],{"class":368},[269,401,402],{"class":275}," de ",[269,404,375],{"class":368},[269,406,407],{"class":289}," 'lunr-languages\u002Flunr.de.js'",[269,409,381],{"class":275},[269,411,413,415,418,420,423],{"class":271,"line":412},4,[269,414,369],{"class":368},[269,416,417],{"class":275}," ja ",[269,419,375],{"class":368},[269,421,422],{"class":289}," 'lunr-languages\u002Flunr.ja.js'",[269,424,381],{"class":275},[269,426,428,430,433,435,438],{"class":271,"line":427},5,[269,429,369],{"class":368},[269,431,432],{"class":275}," tinyseg ",[269,434,375],{"class":368},[269,436,437],{"class":289}," 'lunr-languages\u002Ftinyseg.js'",[269,439,381],{"class":275},[269,441,443,446,449,451,453,456,458,461],{"class":271,"line":442},6,[269,444,445],{"class":282},"stemmerSupport",[269,447,448],{"class":275},"(lunr); ",[269,450,335],{"class":282},[269,452,448],{"class":275},[269,454,455],{"class":282},"tinyseg",[269,457,448],{"class":275},[269,459,460],{"class":282},"ja",[269,462,463],{"class":275},"(lunr);\n",[269,465,467],{"class":271,"line":466},7,[269,468,470],{"emptyLinePlaceholder":469},true,"\n",[269,472,474,477,480,483,487,489,492],{"class":271,"line":473},8,[269,475,476],{"class":368},"function",[269,478,479],{"class":282}," buildIndex",[269,481,482],{"class":275},"(",[269,484,486],{"class":485},"s4XuR","locale",[269,488,47],{"class":275},[269,490,491],{"class":485},"docs",[269,493,494],{"class":275},") {\n",[269,496,498,501,504,506,508],{"class":271,"line":497},9,[269,499,500],{"class":368},"  return",[269,502,503],{"class":282}," lunr",[269,505,482],{"class":275},[269,507,476],{"class":368},[269,509,510],{"class":275}," () {\n",[269,512,514,517,520,523,526,529,533,535,538],{"class":271,"line":513},10,[269,515,516],{"class":368},"    if",[269,518,519],{"class":275}," (locale ",[269,521,522],{"class":368},"!==",[269,524,525],{"class":289}," 'en'",[269,527,528],{"class":275},") ",[269,530,532],{"class":531},"sj4cs","this",[269,534,30],{"class":275},[269,536,537],{"class":282},"use",[269,539,540],{"class":275},"(lunr[locale]);\n",[269,542,544,547,549,552,554,557],{"class":271,"line":543},11,[269,545,546],{"class":531},"    this",[269,548,30],{"class":275},[269,550,551],{"class":282},"ref",[269,553,482],{"class":275},[269,555,556],{"class":289},"'id'",[269,558,559],{"class":275},");\n",[269,561,563,565,567,570,572,575,578,580],{"class":271,"line":562},12,[269,564,546],{"class":531},[269,566,30],{"class":275},[269,568,569],{"class":282},"field",[269,571,482],{"class":275},[269,573,574],{"class":289},"'title'",[269,576,577],{"class":275},", { boost: ",[269,579,144],{"class":531},[269,581,582],{"class":275}," });\n",[269,584,586,588,590,592,594,597],{"class":271,"line":585},13,[269,587,546],{"class":531},[269,589,30],{"class":275},[269,591,569],{"class":282},[269,593,482],{"class":275},[269,595,596],{"class":289},"'body'",[269,598,559],{"class":275},[269,600,602,605,608,611,614,616,619,622,624,627],{"class":271,"line":601},14,[269,603,604],{"class":275},"    docs.",[269,606,607],{"class":282},"forEach",[269,609,610],{"class":275},"((",[269,612,613],{"class":485},"d",[269,615,528],{"class":275},[269,617,618],{"class":368},"=>",[269,620,621],{"class":531}," this",[269,623,30],{"class":275},[269,625,626],{"class":282},"add",[269,628,629],{"class":275},"(d));\n",[269,631,633],{"class":271,"line":632},15,[269,634,635],{"class":275},"  });\n",[269,637,639],{"class":271,"line":638},16,[269,640,641],{"class":275},"}\n",[14,643,644,645,648],{},"The browser must load the same language plugin before ",[44,646,647],{},"lunr.Index.load()",", or queries are processed with English rules against a German index and silently return worse results. That coupling is the main maintenance cost of this option, and the Japanese segmenter (TinySegmenter) adds about 25 KB gzipped to the Japanese search bundle.",[32,650,652],{"id":651},"measured-relevance-per-language","Measured Relevance per Language",[14,654,655],{},"Each language had 25 queries from native-speaking support staff, scored on whether the expected page ranked first. The same 480 pages per language were indexed three ways.",[657,658,659,678],"table",{},[660,661,662],"thead",{},[663,664,665,669,672,675],"tr",{},[666,667,668],"th",{},"Language",[666,670,671],{},"Single English-processed index",[666,673,674],{},"Lunr + lunr-languages",[666,676,677],{},"Pagefind per-language",[679,680,681,695,709,722,734,747],"tbody",{},[663,682,683,687,690,692],{},[684,685,686],"td",{},"English",[684,688,689],{},"20 \u002F 25",[684,691,689],{},[684,693,694],{},"21 \u002F 25",[663,696,697,700,703,706],{},[684,698,699],{},"German",[684,701,702],{},"9 \u002F 25",[684,704,705],{},"17 \u002F 25",[684,707,708],{},"19 \u002F 25",[663,710,711,714,717,720],{},[684,712,713],{},"French",[684,715,716],{},"13 \u002F 25",[684,718,719],{},"18 \u002F 25",[684,721,708],{},[663,723,724,727,730,732],{},[684,725,726],{},"Spanish",[684,728,729],{},"14 \u002F 25",[684,731,708],{},[684,733,708],{},[663,735,736,739,742,745],{},[684,737,738],{},"Japanese",[684,740,741],{},"2 \u002F 25",[684,743,744],{},"15 \u002F 25",[684,746,705],{},[663,748,749,752,755,758],{},[684,750,751],{},"Chinese",[684,753,754],{},"1 \u002F 25",[684,756,757],{},"not supported",[684,759,760],{},"16 \u002F 25",[98,762,763,938],{},[101,764,109,768,109,771,109,774,109,776],{"viewBox":103,"role":104,"ariaLabelledBy":765,"xmlns":108},[766,767],"mls-rel-title","mls-rel-desc",[111,769,770],{"id":766},"Correct first results per language, three indexing approaches",[115,772,773],{"id":767},"Grouped bars per language. With a single English index, German scores 9, Japanese 2 and Chinese 1 out of 25. With Lunr and lunr-languages, German reaches 17 and Japanese 15, with Chinese unsupported. With Pagefind per-language indexes, German reaches 19, Japanese 17 and Chinese 16. English stays around 20 to 21 in all three.",[119,775],{"x":121,"y":121,"width":122,"height":123,"fill":124},[126,777,129,778,129,781,129,787,129,792,129,797,129,801,129,805,129,917,129,921,129,926,129,929,129,932,129,935,109],{"style":128},[131,779,780],{"x":133,"y":134,"fill":135,"style":136},"Right page first, out of 25 queries per language",[271,782],{"x1":783,"y1":784,"x2":785,"y2":784,"stroke":786,"style":148},"60","240","730","#556071",[271,788],{"x1":783,"y1":789,"x2":785,"y2":789,"stroke":790,"style":791},"140","#d9e2ef","stroke-width:1px",[131,793,121],{"x":794,"y":795,"fill":786,"style":796},"52","244","font-size:11px;text-anchor:end",[131,798,800],{"x":794,"y":799,"fill":786,"style":796},"144","12",[131,802,804],{"x":794,"y":803,"fill":786,"style":796},"44","25",[126,806,807,808,807,815,807,821,807,828,807,834,807,839,807,844,807,849,807,853,807,856,807,861,807,864,807,868,807,871,807,874,807,877,807,881,807,886,807,891,807,894,807,898,807,903,807,909,807,914,129],{},"\n      ",[119,809],{"x":810,"y":811,"width":812,"height":813,"fill":145,"opacity":814,"stroke":147,"style":791},"80","74","24","166","0.3",[119,816],{"x":817,"y":811,"width":812,"height":813,"fill":818,"opacity":819,"stroke":820,"style":791},"106","#ffca3a","0.4","#a97b00",[119,822],{"x":823,"y":824,"width":812,"height":825,"fill":826,"opacity":827,"stroke":826,"style":791},"132","66","174","#6a4c93","0.35",[131,829,833],{"x":830,"y":831,"fill":135,"style":832},"118","258","text-anchor:middle","EN",[119,835],{"x":836,"y":837,"width":812,"height":838,"fill":145,"opacity":814,"stroke":147,"style":791},"190","165","75",[119,840],{"x":841,"y":842,"width":812,"height":843,"fill":818,"opacity":819,"stroke":820,"style":791},"216","99","141",[119,845],{"x":846,"y":847,"width":812,"height":848,"fill":826,"opacity":827,"stroke":826,"style":791},"242","82","158",[131,850,852],{"x":851,"y":831,"fill":135,"style":832},"228","DE",[119,854],{"x":123,"y":823,"width":812,"height":855,"fill":145,"opacity":814,"stroke":147,"style":791},"108",[119,857],{"x":858,"y":859,"width":812,"height":860,"fill":818,"opacity":819,"stroke":820,"style":791},"326","90","150",[119,862],{"x":863,"y":847,"width":812,"height":848,"fill":826,"opacity":827,"stroke":826,"style":791},"352",[131,865,867],{"x":866,"y":831,"fill":135,"style":832},"338","FR",[119,869],{"x":173,"y":160,"width":812,"height":870,"fill":145,"opacity":814,"stroke":147,"style":791},"116",[119,872],{"x":873,"y":847,"width":812,"height":848,"fill":818,"opacity":819,"stroke":820,"style":791},"436",[119,875],{"x":876,"y":847,"width":812,"height":848,"fill":826,"opacity":827,"stroke":826,"style":791},"462",[131,878,880],{"x":879,"y":831,"fill":135,"style":832},"448","ES",[119,882],{"x":883,"y":884,"width":812,"height":885,"fill":145,"opacity":814,"stroke":147,"style":791},"520","223","17",[119,887],{"x":888,"y":889,"width":812,"height":890,"fill":818,"opacity":819,"stroke":820,"style":791},"546","115","125",[119,892],{"x":893,"y":842,"width":812,"height":843,"fill":826,"opacity":827,"stroke":826,"style":791},"572",[131,895,897],{"x":896,"y":831,"fill":135,"style":832},"558","JA",[119,899],{"x":900,"y":901,"width":812,"height":902,"fill":145,"opacity":814,"stroke":147,"style":791},"630","232","8",[131,904,908],{"x":905,"y":906,"fill":786,"style":907},"668","234","font-size:10px;text-anchor:middle","n\u002Fa",[119,910],{"x":911,"y":912,"width":812,"height":913,"fill":826,"opacity":827,"stroke":826,"style":791},"682","107","133",[131,915,916],{"x":905,"y":831,"fill":135,"style":832},"ZH",[119,918],{"x":919,"y":920,"width":800,"height":800,"fill":145,"opacity":814,"stroke":147,"style":791},"160","274",[131,922,925],{"x":923,"y":924,"fill":786,"style":166},"178","284","single English index",[119,927],{"x":928,"y":920,"width":800,"height":800,"fill":818,"opacity":819,"stroke":820,"style":791},"330",[131,930,674],{"x":931,"y":924,"fill":786,"style":166},"348",[119,933],{"x":934,"y":920,"width":800,"height":800,"fill":826,"opacity":827,"stroke":826,"style":791},"510",[131,936,677],{"x":937,"y":924,"fill":786,"style":166},"528",[218,939,940],{},"English barely moves; every other language roughly doubles, and the CJK languages go from unusable to workable.",[14,942,943,944,947],{},"The remaining German misses were compound words that neither tool decomposes. For the four worst offenders, adding the decomposed terms as hidden keywords on the target page (",[44,945,946],{},"data-pagefind-meta"," or a hidden indexed span) recovered three. CJK misses were mostly technical loanwords written in katakana in queries and in English in the docs, or the reverse — a content consistency problem more than a search problem.",[32,949,951],{"id":950},"index-size-per-locale","Index Size per Locale",[14,953,954],{},"Per-language indexes also keep downloads proportional to one language rather than all six. With Pagefind the first-query payload for a German reader was 94 KB; a shared all-language index built for comparison needed 310 KB for the same query, because fragments contained words from every language. Japanese and Chinese indexes were the largest per page (about 1.4× the English size) because segmentation produces many short tokens.",[98,956,957,1011],{},[101,958,109,963,109,966,109,969,109,971],{"viewBox":959,"role":104,"ariaLabelledBy":960,"xmlns":108},"0 0 760 240",[961,962],"mls-size-title","mls-size-desc",[111,964,965],{"id":961},"First-query payload for a German reader",[115,967,968],{"id":962},"Two bars. A shared all-language index made a German reader download 310 kilobytes before the first result. Per-language indexes reduced that to 94 kilobytes because only German fragments are fetched.",[119,970],{"x":121,"y":121,"width":122,"height":784,"fill":124},[126,972,129,973,129,976,129,980,129,987,129,992,129,996,129,1001,129,1006,109],{"style":128},[131,974,975],{"x":133,"y":134,"fill":135,"style":136},"A German reader's first query, same content",[131,977,979],{"x":140,"y":978,"fill":135,"style":152},"86","Shared index",[119,981],{"x":982,"y":824,"width":983,"height":984,"rx":985,"fill":145,"opacity":986,"stroke":147,"style":791},"180","496","32","4","0.25",[131,988,991],{"x":989,"y":990,"fill":135,"style":832},"428","87","fragments carry all six languages · 310 KB",[131,993,995],{"x":140,"y":994,"fill":135,"style":152},"156","Per-language",[119,997],{"x":982,"y":998,"width":860,"height":984,"rx":985,"fill":999,"opacity":814,"stroke":1000,"style":791},"136","#8ac926","#5a8a16",[131,1002,1005],{"x":142,"y":1003,"fill":1004,"style":152},"157","#3f6410","94 KB, German only",[131,1007,1010],{"x":133,"y":1008,"fill":786,"style":1009},"222","font-size:11px;text-anchor:middle","Pagefind 1.3, 480 pages per language, query \"Zwischenspeicher\", gzip, median of 5",[218,1012,1013],{},"Per-language indexes are a relevance fix first, but they also cut the download by more than two thirds.",[32,1015,1017],{"id":1016},"localise-the-search-interface-too","Localise the Search Interface Too",[14,1019,1020,1021,1023,1024,1027,1028,1031],{},"An index in the right language inside an English search box still feels broken. The placeholder text, the \"no results\" message, the result count announced to screen readers and the filter labels all need translating. Pagefind UI ships translations for its own strings and picks them from the page's ",[44,1022,54],{},"; custom interfaces should read their strings from the same locale files as the rest of the site. Keyboard shortcuts deserve a check as well: ",[44,1025,1026],{},"\u002F"," is awkward on several European keyboard layouts, so offer ",[44,1029,1030],{},"Ctrl+K"," alongside it. Finally, log queries per locale separately. Zero-result queries in Japanese or German are often the first sign that a translation is missing or uses different terminology from the product UI.",[32,1033,1035],{"id":1034},"pitfalls-rollback","Pitfalls & Rollback",[37,1037,1038,1052,1061,1074,1080,1086],{},[40,1039,1040,1046,1047,336,1049,1051],{},[75,1041,1042,1043,1045],{},"Inconsistent ",[44,1044,54],{}," values."," ",[44,1048,335],{},[44,1050,339],{}," become separate indexes. Normalise in the layout and assert with a build check.",[40,1053,1054,1060],{},[75,1055,1056,1057,1059],{},"Missing ",[44,1058,54],{}," on generated pages."," Tag pages and API pages produced by plugins often inherit the default locale. Check them.",[40,1062,1063,1066,1067,1069,1070,1073],{},[75,1064,1065],{},"Indexing fallback pages in every locale."," An untranslated English page served under ",[44,1068,50],{}," lands in the Japanese index with English text. Either mark it ",[44,1071,1072],{},"lang=\"en\""," inside the article or exclude it, and label fallback results.",[40,1075,1076,1079],{},[75,1077,1078],{},"Testing only in English."," Relevance regressions in other languages are invisible to English testers. Keep per-language query sets and run them in CI.",[40,1081,1082,1085],{},[75,1083,1084],{},"Mixed-script content."," Japanese pages full of English product names need both scripts to be searchable; test queries in each script, not only the native one.",[40,1087,1088,1091],{},[75,1089,1090],{},"Rollback:"," per-language indexing is driven by markup and configuration. Reverting the language attributes or the Lunr plugin setup restores the previous single index on the next build.",[32,1093,1095],{"id":1094},"conclusion","Conclusion",[14,1097,1098,1099,1101,1102,1104],{},"Multilingual search on a static site is mostly a markup problem: correct, consistent ",[44,1100,54],{}," attributes, per-language indexes and a query that loads the reader's language only. Pagefind does the language processing automatically and handled all six languages in the test, including Chinese; Lunr with ",[44,1103,350],{}," works for European languages and Japanese but needs its plugins kept in step between build and browser. Either way, per-language indexing roughly doubled correct first results outside English, and a per-language query set in CI is what keeps it that way.",[32,1106,1108],{"id":1107},"faq","FAQ",[1110,1111,1113],"h3",{"id":1112},"should-all-languages-share-one-search-index","Should all languages share one search index?",[14,1115,1116],{},"No. Stemming and stop words are language-specific, and a shared index mixes results readers cannot use. Build one index per language and query the index matching the page the reader is on.",[1110,1118,1120],{"id":1119},"how-does-pagefind-know-which-language-a-page-is-in","How does Pagefind know which language a page is in?",[14,1122,1123],{},"It reads the lang attribute on the html element. Pages with lang=\"de\" go into the German index, pages with lang=\"ja\" into the Japanese one, and the browser library loads the index matching the current page automatically.",[1110,1125,1127],{"id":1126},"does-static-search-work-for-chinese-and-japanese","Does static search work for Chinese and Japanese?",[14,1129,1130],{},"Yes, with limits. These languages do not separate words with spaces, so the tool needs a segmenter. Pagefind segments CJK text during indexing; recall is good for common terms but weaker than a hosted service with a tuned dictionary.",[1110,1132,1134],{"id":1133},"what-should-happen-when-a-translation-is-missing","What should happen when a translation is missing?",[14,1136,1137],{},"Index untranslated fallback pages in the reader's language index only if the page itself is served under that locale. Otherwise readers see results they cannot read. Mark fallback pages clearly in the result snippet.",[32,1139,1141],{"id":1140},"related","Related",[37,1143,1144,1152,1157,1164,1171],{},[40,1145,1146,1046,1149,1151],{},[75,1147,1148],{},"Parent:",[21,1150,24],{"href":23}," — choosing the search tool.",[40,1153,1154,1156],{},[21,1155,29],{"href":28}," — locale routing and fallbacks per generator.",[40,1158,1159,1163],{},[21,1160,1162],{"href":1161},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch\u002F","Pagefind vs Algolia DocSearch"," — where hosted search's language tuning helps.",[40,1165,1166,1170],{},[21,1167,1169],{"href":1168},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs\u002F","Search Index Size Budgets for Large Docs"," — keeping each locale's index small.",[40,1172,1173,1177],{},[21,1174,1176],{"href":1175},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind\u002F","Indexing Hugo Sites with Pagefind"," — Hugo's multilingual output indexed per language.",[1179,1180,1181],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}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 .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":237,"searchDepth":300,"depth":300,"links":1183},[1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1199],{"id":34,"depth":300,"text":35},{"id":67,"depth":300,"text":68},{"id":223,"depth":300,"text":224},{"id":343,"depth":300,"text":344},{"id":651,"depth":300,"text":652},{"id":950,"depth":300,"text":951},{"id":1016,"depth":300,"text":1017},{"id":1034,"depth":300,"text":1035},{"id":1094,"depth":300,"text":1095},{"id":1107,"depth":300,"text":1108,"children":1194},[1195,1196,1197,1198],{"id":1112,"depth":314,"text":1113},{"id":1119,"depth":314,"text":1120},{"id":1126,"depth":314,"text":1127},{"id":1133,"depth":314,"text":1134},{"id":1140,"depth":300,"text":1141},[1201,1203,1206,1207],{"name":1202,"item":1026},"Home",{"name":1204,"item":1205},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":24,"item":23},{"name":5,"item":1208},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites\u002F","2026-09-18","Build per-language search for a static site: language detection, stemming, compound words, CJK segmentation and keeping each locale's index small.","md",[1213,1214,1215,1216],{"q":1113,"a":1116},{"q":1120,"a":1123},{"q":1127,"a":1130},{"q":1134,"a":1137},{},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites",{"title":5,"description":1210},"choosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites\u002Findex","MICvU4Va-CjhUrTNmkiclUwWTpUQpMdzDeywy25-BLE",[1223,1226,1229,1232,1235,1238,1241,1244,1247,1250,1253,1256,1259,1262,1265,1268,1271,1274,1277,1280,1282,1285,1288,1291,1294,1297,1300,1303,1306,1309,1312,1315,1318,1321,1324,1327,1330,1333,1336,1339,1342,1345,1347,1349,1351,1352,1354,1356,1359,1362,1365,1368,1371,1374,1377,1380,1383,1386,1389,1392,1395,1398,1401,1404,1407,1410,1413,1416,1419,1422,1425,1428,1431,1434,1437,1440,1443,1446,1449,1452,1455,1458,1461,1464,1467,1470,1473,1476,1479,1482,1485,1488,1491,1494,1497,1500,1503,1506,1509,1512,1515,1518,1521,1524,1527,1530,1533,1536,1539,1542,1545,1548,1551,1554,1557,1560,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,1659,1662,1665,1668,1671,1674,1677,1680,1683,1686,1689,1692,1695,1698,1701,1704,1707,1710,1713,1716,1719,1722,1725,1728,1731,1734,1737,1740,1743,1746,1749,1752,1755,1758,1761],{"path":1224,"title":1225},"\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":1227,"title":1228},"\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":1230,"title":1231},"\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":1233,"title":1234},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1236,"title":1237},"\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":1239,"title":1240},"\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":1242,"title":1243},"\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":1245,"title":1246},"\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":1248,"title":1249},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1251,"title":1252},"\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":1254,"title":1255},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1257,"title":1258},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1260,"title":1261},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1263,"title":1264},"\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":1266,"title":1267},"\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":1269,"title":1270},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1272,"title":1273},"\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":1275,"title":1276},"\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":1278,"title":1279},"\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":1281,"title":1204},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":1283,"title":1284},"\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":1286,"title":1287},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1289,"title":1290},"\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":1292,"title":1293},"\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":1295,"title":1296},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1298,"title":1299},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1301,"title":1302},"\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":1304,"title":1305},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1307,"title":1308},"\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":1310,"title":1311},"\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":1313,"title":1314},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1316,"title":1317},"\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":1319,"title":1320},"\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":1322,"title":1323},"\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":1325,"title":1326},"\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":1328,"title":1329},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1331,"title":1332},"\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":1334,"title":1335},"\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":1337,"title":1338},"\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":1340,"title":1341},"\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":1343,"title":1344},"\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":1346,"title":355},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy",{"path":1348,"title":24},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites",{"path":1350,"title":1176},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind",{"path":1218,"title":5},{"path":1353,"title":1162},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch",{"path":1355,"title":1169},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs",{"path":1357,"title":1358},"\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":1360,"title":1361},"\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":1363,"title":1364},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1366,"title":1367},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1369,"title":1370},"\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":1372,"title":1373},"\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":1375,"title":1376},"\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":1378,"title":1379},"\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":1381,"title":1382},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1384,"title":1385},"\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":1387,"title":1388},"\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":1390,"title":1391},"\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":1393,"title":1394},"\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":1396,"title":1397},"\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":1399,"title":1400},"\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":1402,"title":1403},"\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":1405,"title":1406},"\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":1408,"title":1409},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1411,"title":1412},"\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":1414,"title":1415},"\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":1417,"title":1418},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1420,"title":1421},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1423,"title":1424},"\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":1426,"title":1427},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1429,"title":1430},"\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":1432,"title":1433},"\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":1435,"title":1436},"\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":1438,"title":1439},"\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":1441,"title":1442},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1444,"title":1445},"\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":1447,"title":1448},"\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":1450,"title":1451},"\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":1453,"title":1454},"\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":1456,"title":1457},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1459,"title":1460},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1462,"title":1463},"\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":1465,"title":1466},"\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":1468,"title":1469},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1471,"title":1472},"\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":1474,"title":1475},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1477,"title":1478},"\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":1480,"title":1481},"\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":1483,"title":1484},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1486,"title":1487},"\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":1489,"title":1490},"\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":1492,"title":1493},"\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":1495,"title":1496},"\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":1498,"title":1499},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1501,"title":1502},"\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":1504,"title":1505},"\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":1507,"title":1508},"\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":1510,"title":1511},"\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":1513,"title":1514},"\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":1516,"title":1517},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1519,"title":1520},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1522,"title":1523},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1525,"title":1526},"\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":1528,"title":1529},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1531,"title":1532},"\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":1534,"title":1535},"\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":1537,"title":1538},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1540,"title":1541},"\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":1543,"title":1544},"\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":1546,"title":1547},"\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":1549,"title":1550},"\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":1552,"title":1553},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1555,"title":1556},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1558,"title":1559},"\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":1561,"title":1562},"\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":1564,"title":1565},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1567,"title":1568},"\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":1570,"title":1571},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1573,"title":1574},"\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":1576,"title":1577},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1579,"title":1580},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1582,"title":1583},"\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":1585,"title":1586},"\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":1588,"title":1589},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1591,"title":1592},"\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":1594,"title":1595},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1597,"title":1598},"\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":1600,"title":1601},"\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":1603,"title":1604},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1606,"title":1607},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1609,"title":1610},"\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":1612,"title":1613},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1615,"title":1616},"\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":1618,"title":1619},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":1621,"title":1622},"\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":1624,"title":1625},"\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":1627,"title":1628},"\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":1630,"title":1631},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1633,"title":1634},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1636,"title":1637},"\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":1639,"title":1640},"\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":1642,"title":1643},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1645,"title":1646},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1648,"title":1649},"\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":1651,"title":1652},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1654,"title":1655},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1657,"title":1658},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1660,"title":1661},"\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":1663,"title":1664},"\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":1666,"title":1667},"\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":1669,"title":1670},"\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":1672,"title":1673},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1675,"title":1676},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1678,"title":1679},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1681,"title":1682},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1684,"title":1685},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1687,"title":1688},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1690,"title":1691},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1693,"title":1694},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1696,"title":1697},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1699,"title":1700},"\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":1702,"title":1703},"\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":1705,"title":1706},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1708,"title":1709},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1711,"title":1712},"\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":1714,"title":1715},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1717,"title":1718},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1720,"title":1721},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1723,"title":1724},"\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":1726,"title":1727},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1729,"title":1730},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1732,"title":1733},"\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":1735,"title":1736},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1738,"title":1739},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1741,"title":1742},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1744,"title":1745},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1747,"title":1748},"\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":1750,"title":1751},"\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":1753,"title":1754},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1756,"title":1757},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1759,"title":1760},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1762,"title":1763},"\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",1789722847314]