[{"data":1,"prerenderedAt":3535},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy":3,"all-docs-nav":2384,"filed:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy":3526},{"id":4,"title":5,"body":6,"breadcrumb":2361,"dateModified":2370,"datePublished":2370,"description":2371,"extension":2372,"faq":2373,"meta":2378,"navigation":124,"path":2379,"seo":2380,"slug":12,"stem":2381,"type":2382,"__hash__":2383},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy\u002Findex.md","Building a Lunr Index at Build Time in Eleventy",{"type":7,"value":8,"toc":2344},"minimark",[9,13,17,26,31,58,62,65,892,899,1040,1044,1047,1642,1661,1665,1668,1818,1825,1922,1926,1929,2006,2085,2088,2091,2095,2098,2202,2213,2217,2259,2263,2266,2270,2275,2278,2282,2285,2289,2292,2296,2299,2303,2340],[10,11,5],"h1",{"id":12},"building-a-lunr-index-at-build-time-in-eleventy",[14,15,16],"p",{},"For a small or medium Eleventy site — a blog, a handbook, a few hundred docs pages — a single prebuilt Lunr index is still a perfectly good search engine. It needs no post-build step and no WebAssembly, it runs in any browser, and its whole behaviour fits in fifty lines of code you own. The mistakes people make with it are about size: indexing text that should not be indexed, shipping text that should not be shipped, and loading the index on every page. Avoid those and Lunr stays fast until a site outgrows it.",[14,18,19,20,25],{},"This guide builds the index from Eleventy's collections API during the build, keeps it lean, loads it on demand and sets a size budget that tells you when to move to Pagefind. The broader tool comparison is in ",[21,22,24],"a",{"href":23},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002F","Search for Static Sites",".",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,43,52,55],"ul",{},[35,36,37,38,42],"li",{},"Eleventy 3.x with your content in a collection (for example ",[39,40,41],"code",{},"collections.posts",").",[35,44,45,48,49,25],{},[39,46,47],{},"lunr"," installed as a dependency: ",[39,50,51],{},"npm i lunr",[35,53,54],{},"A search page or search dialog in your layout.",[35,56,57],{},"A rough page count; this approach is appropriate up to about 500–800 pages of prose.",[27,59,61],{"id":60},"step-1-separate-the-index-from-the-documents","Step 1: Separate the Index From the Documents",[14,63,64],{},"Lunr's serialised index contains tokens and their positions, not your text. To render a result you need the title, URL and a summary — so store those in a separate, much smaller lookup, and never ship full bodies to the browser.",[66,67,72],"pre",{"className":68,"code":69,"language":70,"meta":71,"style":71},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F eleventy.config.js\nimport lunr from 'lunr';\nimport { writeFile, mkdir } from 'node:fs\u002Fpromises';\n\nconst strip = (html) => html.replace(\u002F\u003Cpre[\\s\\S]*?\u003C\\\u002Fpre>\u002Fg, ' ')\n  .replace(\u002F\u003C[^>]+>\u002Fg, ' ').replace(\u002F\\s+\u002Fg, ' ').trim();\n\nexport default function (eleventyConfig) {\n  eleventyConfig.on('eleventy.after', async ({ results }) => {\n    const pages = results.filter((r) => r.url?.startsWith('\u002Fposts\u002F'));\n    const docs = pages.map((p) => ({\n      id: p.url,\n      title: (p.content.match(\u002F\u003Ch1[^>]*>(.*?)\u003C\\\u002Fh1>\u002F) || [])[1] ?? '',\n      headings: [...p.content.matchAll(\u002F\u003Ch2[^>]*>(.*?)\u003C\\\u002Fh2>\u002Fg)].map((m) => m[1]).join(' '),\n      body: strip(p.content.match(\u002F\u003Carticle[\\s\\S]*?\u003C\\\u002Farticle>\u002F)?.[0] ?? ''),\n    }));\n\n    const idx = lunr(function () {\n      this.ref('id');\n      this.field('title', { boost: 10 });\n      this.field('headings', { boost: 4 });\n      this.field('body');\n      this.metadataWhitelist = [];          \u002F\u002F no positions: smaller index\n      docs.forEach((d) => this.add(d));\n    });\n\n    const lookup = Object.fromEntries(docs.map((d) =>\n      [d.id, { t: d.title, s: d.body.slice(0, 140) }]));\n    await mkdir('_site\u002Fsearch', { recursive: true });\n    await writeFile('_site\u002Fsearch\u002Findex.json', JSON.stringify(idx));\n    await writeFile('_site\u002Fsearch\u002Fdocs.json', JSON.stringify(lookup));\n  });\n}\n","js","",[39,73,74,83,104,119,126,199,265,270,290,323,364,391,397,462,541,589,595,600,621,640,664,685,701,718,747,753,758,788,809,831,857,880,886],{"__ignoreMap":71},[75,76,79],"span",{"class":77,"line":78},"line",1,[75,80,82],{"class":81},"sJ8bj","\u002F\u002F eleventy.config.js\n",[75,84,86,90,94,97,101],{"class":77,"line":85},2,[75,87,89],{"class":88},"szBVR","import",[75,91,93],{"class":92},"sVt8B"," lunr ",[75,95,96],{"class":88},"from",[75,98,100],{"class":99},"sZZnC"," 'lunr'",[75,102,103],{"class":92},";\n",[75,105,107,109,112,114,117],{"class":77,"line":106},3,[75,108,89],{"class":88},[75,110,111],{"class":92}," { writeFile, mkdir } ",[75,113,96],{"class":88},[75,115,116],{"class":99}," 'node:fs\u002Fpromises'",[75,118,103],{"class":92},[75,120,122],{"class":77,"line":121},4,[75,123,125],{"emptyLinePlaceholder":124},true,"\n",[75,127,129,132,136,139,142,146,149,152,155,158,161,164,168,172,175,178,182,185,187,190,193,196],{"class":77,"line":128},5,[75,130,131],{"class":88},"const",[75,133,135],{"class":134},"sScJk"," strip",[75,137,138],{"class":88}," =",[75,140,141],{"class":92}," (",[75,143,145],{"class":144},"s4XuR","html",[75,147,148],{"class":92},") ",[75,150,151],{"class":88},"=>",[75,153,154],{"class":92}," html.",[75,156,157],{"class":134},"replace",[75,159,160],{"class":92},"(",[75,162,163],{"class":99},"\u002F",[75,165,167],{"class":166},"sA_wV","\u003Cpre",[75,169,171],{"class":170},"sj4cs","[\\s\\S]",[75,173,174],{"class":88},"*?",[75,176,177],{"class":166},"\u003C",[75,179,181],{"class":180},"snhLl","\\\u002F",[75,183,184],{"class":166},"pre>",[75,186,163],{"class":99},[75,188,189],{"class":88},"g",[75,191,192],{"class":92},", ",[75,194,195],{"class":99},"' '",[75,197,198],{"class":92},")\n",[75,200,202,205,207,209,211,213,216,219,222,225,228,230,232,234,236,238,240,242,244,247,249,251,253,255,257,259,262],{"class":77,"line":201},6,[75,203,204],{"class":92},"  .",[75,206,157],{"class":134},[75,208,160],{"class":92},[75,210,163],{"class":99},[75,212,177],{"class":166},[75,214,215],{"class":170},"[",[75,217,218],{"class":88},"^",[75,220,221],{"class":170},">]",[75,223,224],{"class":88},"+",[75,226,227],{"class":166},">",[75,229,163],{"class":99},[75,231,189],{"class":88},[75,233,192],{"class":92},[75,235,195],{"class":99},[75,237,42],{"class":92},[75,239,157],{"class":134},[75,241,160],{"class":92},[75,243,163],{"class":99},[75,245,246],{"class":170},"\\s",[75,248,224],{"class":88},[75,250,163],{"class":99},[75,252,189],{"class":88},[75,254,192],{"class":92},[75,256,195],{"class":99},[75,258,42],{"class":92},[75,260,261],{"class":134},"trim",[75,263,264],{"class":92},"();\n",[75,266,268],{"class":77,"line":267},7,[75,269,125],{"emptyLinePlaceholder":124},[75,271,273,276,279,282,284,287],{"class":77,"line":272},8,[75,274,275],{"class":88},"export",[75,277,278],{"class":88}," default",[75,280,281],{"class":88}," function",[75,283,141],{"class":92},[75,285,286],{"class":144},"eleventyConfig",[75,288,289],{"class":92},") {\n",[75,291,293,296,299,301,304,306,309,312,315,318,320],{"class":77,"line":292},9,[75,294,295],{"class":92},"  eleventyConfig.",[75,297,298],{"class":134},"on",[75,300,160],{"class":92},[75,302,303],{"class":99},"'eleventy.after'",[75,305,192],{"class":92},[75,307,308],{"class":88},"async",[75,310,311],{"class":92}," ({ ",[75,313,314],{"class":144},"results",[75,316,317],{"class":92}," }) ",[75,319,151],{"class":88},[75,321,322],{"class":92}," {\n",[75,324,326,329,332,334,337,340,343,346,348,350,353,356,358,361],{"class":77,"line":325},10,[75,327,328],{"class":88},"    const",[75,330,331],{"class":170}," pages",[75,333,138],{"class":88},[75,335,336],{"class":92}," results.",[75,338,339],{"class":134},"filter",[75,341,342],{"class":92},"((",[75,344,345],{"class":144},"r",[75,347,148],{"class":92},[75,349,151],{"class":88},[75,351,352],{"class":92}," r.url?.",[75,354,355],{"class":134},"startsWith",[75,357,160],{"class":92},[75,359,360],{"class":99},"'\u002Fposts\u002F'",[75,362,363],{"class":92},"));\n",[75,365,367,369,372,374,377,380,382,384,386,388],{"class":77,"line":366},11,[75,368,328],{"class":88},[75,370,371],{"class":170}," docs",[75,373,138],{"class":88},[75,375,376],{"class":92}," pages.",[75,378,379],{"class":134},"map",[75,381,342],{"class":92},[75,383,14],{"class":144},[75,385,148],{"class":92},[75,387,151],{"class":88},[75,389,390],{"class":92}," ({\n",[75,392,394],{"class":77,"line":393},12,[75,395,396],{"class":92},"      id: p.url,\n",[75,398,400,403,406,408,410,413,415,417,419,422,425,427,429,432,434,437,439,441,444,447,450,453,456,459],{"class":77,"line":399},13,[75,401,402],{"class":92},"      title: (p.content.",[75,404,405],{"class":134},"match",[75,407,160],{"class":92},[75,409,163],{"class":99},[75,411,412],{"class":166},"\u003Ch1",[75,414,215],{"class":170},[75,416,218],{"class":88},[75,418,221],{"class":170},[75,420,421],{"class":88},"*",[75,423,424],{"class":166},">(",[75,426,25],{"class":170},[75,428,174],{"class":88},[75,430,431],{"class":166},")\u003C",[75,433,181],{"class":180},[75,435,436],{"class":166},"h1>",[75,438,163],{"class":99},[75,440,148],{"class":92},[75,442,443],{"class":88},"||",[75,445,446],{"class":92}," [])[",[75,448,449],{"class":170},"1",[75,451,452],{"class":92},"] ",[75,454,455],{"class":88},"??",[75,457,458],{"class":99}," ''",[75,460,461],{"class":92},",\n",[75,463,465,468,471,474,477,479,481,484,486,488,490,492,494,496,498,500,502,505,507,509,512,514,516,519,521,523,526,528,531,534,536,538],{"class":77,"line":464},14,[75,466,467],{"class":92},"      headings: [",[75,469,470],{"class":88},"...",[75,472,473],{"class":92},"p.content.",[75,475,476],{"class":134},"matchAll",[75,478,160],{"class":92},[75,480,163],{"class":99},[75,482,483],{"class":166},"\u003Ch2",[75,485,215],{"class":170},[75,487,218],{"class":88},[75,489,221],{"class":170},[75,491,421],{"class":88},[75,493,424],{"class":166},[75,495,25],{"class":170},[75,497,174],{"class":88},[75,499,431],{"class":166},[75,501,181],{"class":180},[75,503,504],{"class":166},"h2>",[75,506,163],{"class":99},[75,508,189],{"class":88},[75,510,511],{"class":92},")].",[75,513,379],{"class":134},[75,515,342],{"class":92},[75,517,518],{"class":144},"m",[75,520,148],{"class":92},[75,522,151],{"class":88},[75,524,525],{"class":92}," m[",[75,527,449],{"class":170},[75,529,530],{"class":92},"]).",[75,532,533],{"class":134},"join",[75,535,160],{"class":92},[75,537,195],{"class":99},[75,539,540],{"class":92},"),\n",[75,542,544,547,550,553,555,557,559,562,564,566,568,570,573,575,578,581,583,585,587],{"class":77,"line":543},15,[75,545,546],{"class":92},"      body: ",[75,548,549],{"class":134},"strip",[75,551,552],{"class":92},"(p.content.",[75,554,405],{"class":134},[75,556,160],{"class":92},[75,558,163],{"class":99},[75,560,561],{"class":166},"\u003Carticle",[75,563,171],{"class":170},[75,565,174],{"class":88},[75,567,177],{"class":166},[75,569,181],{"class":180},[75,571,572],{"class":166},"article>",[75,574,163],{"class":99},[75,576,577],{"class":92},")?.[",[75,579,580],{"class":170},"0",[75,582,452],{"class":92},[75,584,455],{"class":88},[75,586,458],{"class":99},[75,588,540],{"class":92},[75,590,592],{"class":77,"line":591},16,[75,593,594],{"class":92},"    }));\n",[75,596,598],{"class":77,"line":597},17,[75,599,125],{"emptyLinePlaceholder":124},[75,601,603,605,608,610,613,615,618],{"class":77,"line":602},18,[75,604,328],{"class":88},[75,606,607],{"class":170}," idx",[75,609,138],{"class":88},[75,611,612],{"class":134}," lunr",[75,614,160],{"class":92},[75,616,617],{"class":88},"function",[75,619,620],{"class":92}," () {\n",[75,622,624,627,629,632,634,637],{"class":77,"line":623},19,[75,625,626],{"class":170},"      this",[75,628,25],{"class":92},[75,630,631],{"class":134},"ref",[75,633,160],{"class":92},[75,635,636],{"class":99},"'id'",[75,638,639],{"class":92},");\n",[75,641,643,645,647,650,652,655,658,661],{"class":77,"line":642},20,[75,644,626],{"class":170},[75,646,25],{"class":92},[75,648,649],{"class":134},"field",[75,651,160],{"class":92},[75,653,654],{"class":99},"'title'",[75,656,657],{"class":92},", { boost: ",[75,659,660],{"class":170},"10",[75,662,663],{"class":92}," });\n",[75,665,667,669,671,673,675,678,680,683],{"class":77,"line":666},21,[75,668,626],{"class":170},[75,670,25],{"class":92},[75,672,649],{"class":134},[75,674,160],{"class":92},[75,676,677],{"class":99},"'headings'",[75,679,657],{"class":92},[75,681,682],{"class":170},"4",[75,684,663],{"class":92},[75,686,688,690,692,694,696,699],{"class":77,"line":687},22,[75,689,626],{"class":170},[75,691,25],{"class":92},[75,693,649],{"class":134},[75,695,160],{"class":92},[75,697,698],{"class":99},"'body'",[75,700,639],{"class":92},[75,702,704,706,709,712,715],{"class":77,"line":703},23,[75,705,626],{"class":170},[75,707,708],{"class":92},".metadataWhitelist ",[75,710,711],{"class":88},"=",[75,713,714],{"class":92}," [];          ",[75,716,717],{"class":81},"\u002F\u002F no positions: smaller index\n",[75,719,721,724,727,729,732,734,736,739,741,744],{"class":77,"line":720},24,[75,722,723],{"class":92},"      docs.",[75,725,726],{"class":134},"forEach",[75,728,342],{"class":92},[75,730,731],{"class":144},"d",[75,733,148],{"class":92},[75,735,151],{"class":88},[75,737,738],{"class":170}," this",[75,740,25],{"class":92},[75,742,743],{"class":134},"add",[75,745,746],{"class":92},"(d));\n",[75,748,750],{"class":77,"line":749},25,[75,751,752],{"class":92},"    });\n",[75,754,756],{"class":77,"line":755},26,[75,757,125],{"emptyLinePlaceholder":124},[75,759,761,763,766,768,771,774,777,779,781,783,785],{"class":77,"line":760},27,[75,762,328],{"class":88},[75,764,765],{"class":170}," lookup",[75,767,138],{"class":88},[75,769,770],{"class":92}," Object.",[75,772,773],{"class":134},"fromEntries",[75,775,776],{"class":92},"(docs.",[75,778,379],{"class":134},[75,780,342],{"class":92},[75,782,731],{"class":144},[75,784,148],{"class":92},[75,786,787],{"class":88},"=>\n",[75,789,791,794,797,799,801,803,806],{"class":77,"line":790},28,[75,792,793],{"class":92},"      [d.id, { t: d.title, s: d.body.",[75,795,796],{"class":134},"slice",[75,798,160],{"class":92},[75,800,580],{"class":170},[75,802,192],{"class":92},[75,804,805],{"class":170},"140",[75,807,808],{"class":92},") }]));\n",[75,810,812,815,818,820,823,826,829],{"class":77,"line":811},29,[75,813,814],{"class":88},"    await",[75,816,817],{"class":134}," mkdir",[75,819,160],{"class":92},[75,821,822],{"class":99},"'_site\u002Fsearch'",[75,824,825],{"class":92},", { recursive: ",[75,827,828],{"class":170},"true",[75,830,663],{"class":92},[75,832,834,836,839,841,844,846,849,851,854],{"class":77,"line":833},30,[75,835,814],{"class":88},[75,837,838],{"class":134}," writeFile",[75,840,160],{"class":92},[75,842,843],{"class":99},"'_site\u002Fsearch\u002Findex.json'",[75,845,192],{"class":92},[75,847,848],{"class":170},"JSON",[75,850,25],{"class":92},[75,852,853],{"class":134},"stringify",[75,855,856],{"class":92},"(idx));\n",[75,858,860,862,864,866,869,871,873,875,877],{"class":77,"line":859},31,[75,861,814],{"class":88},[75,863,838],{"class":134},[75,865,160],{"class":92},[75,867,868],{"class":99},"'_site\u002Fsearch\u002Fdocs.json'",[75,870,192],{"class":92},[75,872,848],{"class":170},[75,874,25],{"class":92},[75,876,853],{"class":134},[75,878,879],{"class":92},"(lookup));\n",[75,881,883],{"class":77,"line":882},32,[75,884,885],{"class":92},"  });\n",[75,887,889],{"class":77,"line":888},33,[75,890,891],{"class":92},"}\n",[14,893,894,895,898],{},"Two choices keep the index small. Code blocks are stripped before indexing, because identifiers and shell output bloat the token list without helping prose queries. And ",[39,896,897],{},"metadataWhitelist = []"," drops term positions, which Lunr only needs for highlighting; generate excerpts from the lookup instead.",[900,901,902,1036],"figure",{},[903,904,911,912,911,916,911,920,911,926,911,1021],"svg",{"viewBox":905,"role":906,"ariaLabelledBy":907,"xmlns":910},"0 0 760 280","img",[908,909],"lun-files-title","lun-files-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[913,914,915],"title",{"id":908},"Two files instead of one",[917,918,919],"desc",{"id":909},"Eleventy's rendered pages feed an eleventy.after hook. The hook writes index.json, containing only tokens with field boosts for title, headings and body, and docs.json, containing only title and a 140-character summary per page. The browser needs both to render results but never downloads full page bodies.",[921,922],"rect",{"x":580,"y":580,"width":923,"height":924,"fill":925},"760","280","#ffffff",[189,927,929,930,929,938,929,947,929,953,929,959,929,964,929,968,929,971,929,979,929,984,929,988,929,993,929,997,929,1001,929,1017,911],{"style":928},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[931,932,937],"text",{"x":933,"y":934,"fill":935,"style":936},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Index tokens, look up summaries, never ship bodies",[921,939],{"x":940,"y":941,"width":942,"height":943,"rx":660,"fill":944,"opacity":945,"stroke":944,"style":946},"30","100","160","64","#1982c4","0.14","stroke-width:1.5px",[931,948,952],{"x":949,"y":950,"fill":935,"style":951},"110","126","font-weight:700;text-anchor:middle","rendered pages",[931,954,958],{"x":949,"y":955,"fill":956,"style":957},"146","#556071","font-size:11px;text-anchor:middle","400 posts",[921,960],{"x":961,"y":941,"width":962,"height":943,"rx":660,"fill":963,"opacity":945,"stroke":963,"style":946},"240","170","#6a4c93",[931,965,967],{"x":966,"y":950,"fill":935,"style":951},"325","eleventy.after",[931,969,970],{"x":966,"y":955,"fill":956,"style":957},"strip code, boost fields",[921,972],{"x":973,"y":974,"width":975,"height":974,"rx":660,"fill":976,"opacity":977,"stroke":978,"style":946},"470","60","260","#ffca3a","0.26","#a97b00",[931,980,983],{"x":981,"y":982,"fill":935,"style":951},"600","86","search\u002Findex.json",[931,985,987],{"x":981,"y":986,"fill":956,"style":957},"106","tokens only · 118 KB gzip",[921,989],{"x":973,"y":955,"width":975,"height":974,"rx":660,"fill":990,"opacity":991,"stroke":992,"style":946},"#8ac926","0.18","#5a8a16",[931,994,996],{"x":981,"y":995,"fill":935,"style":951},"172","search\u002Fdocs.json",[931,998,1000],{"x":981,"y":999,"fill":956,"style":957},"192","title + 140-char summary · 26 KB gzip",[189,1002,1005,1006,1005,1011,1005,1014,929],{"stroke":956,"fill":1003,"style":1004},"none","stroke-width:2px","\n      ",[1007,1008],"path",{"d":1009,"style":1010},"M192 132 L236 132","marker-end:url(#lun-arrow)",[1007,1012],{"d":1013,"style":1010},"M412 120 L466 94",[1007,1015],{"d":1016,"style":1010},"M412 144 L466 172",[931,1018,1020],{"x":933,"y":1019,"fill":956,"style":957},"252","Full bodies would have added 1.1 MB gzip; the reader never needs them to pick a result",[1022,1023,929,1024,911],"defs",{},[1025,1026,1005,1033,929],"marker",{"id":1027,"viewBox":1028,"refX":1029,"refY":1030,"markerWidth":1031,"markerHeight":1031,"orient":1032},"lun-arrow","0 0 10 10","8","5","7","auto-start-reverse",[1007,1034],{"d":1035,"fill":956},"M0 0 L10 5 L0 10 z",[1037,1038,1039],"figcaption",{},"Splitting the search payload keeps the download proportional to the vocabulary, not to the total amount of prose.",[27,1041,1043],{"id":1042},"step-2-load-lazily-and-query","Step 2: Load Lazily and Query",[14,1045,1046],{},"The browser side loads Lunr, the index and the lookup only when the reader focuses the search input, then queries with a trailing wildcard so partial words match as the reader types.",[66,1048,1051],{"className":1049,"code":1050,"language":145,"meta":71,"style":71},"language-html shiki shiki-themes github-light github-dark","\u003Cinput id=\"q\" type=\"search\" autocomplete=\"off\" aria-label=\"Search posts\" aria-controls=\"results\">\n\u003Col id=\"results\" aria-live=\"polite\">\u003C\u002Fol>\n\u003Cscript type=\"module\">\n  const q = document.getElementById('q'), out = document.getElementById('results');\n  let idx, docs;\n  q.addEventListener('focus', async () => {\n    if (idx) return;\n    const [{ default: lunr }, i, d] = await Promise.all([\n      import('\u002Fjs\u002Flunr.min.js'),\n      fetch('\u002Fsearch\u002Findex.json').then((r) => r.json()),\n      fetch('\u002Fsearch\u002Fdocs.json').then((r) => r.json()),\n    ]);\n    idx = lunr.Index.load(i); docs = d;\n  });\n  q.addEventListener('input', () => {\n    if (!idx || q.value.trim().length \u003C 2) { out.replaceChildren(); return; }\n    const terms = q.value.trim().split(\u002F\\s+\u002F).map((t) => `${t}* ${t}~1`).join(' ');\n    out.replaceChildren(...idx.search(terms).slice(0, 8).map(({ ref }) => {\n      const li = document.createElement('li');\n      li.innerHTML = `\u003Ca href=\"${ref}\">${docs[ref].t}\u003C\u002Fa>\u003Cp>${docs[ref].s}…\u003C\u002Fp>`;\n      return li;\n    }));\n  });\n\u003C\u002Fscript>\n",[39,1052,1053,1104,1132,1148,1188,1196,1220,1233,1276,1288,1320,1347,1352,1373,1377,1395,1440,1504,1549,1571,1617,1625,1629,1633],{"__ignoreMap":71},[75,1054,1055,1057,1061,1064,1066,1069,1072,1074,1077,1080,1082,1085,1088,1090,1093,1096,1098,1101],{"class":77,"line":78},[75,1056,177],{"class":92},[75,1058,1060],{"class":1059},"s9eBZ","input",[75,1062,1063],{"class":134}," id",[75,1065,711],{"class":92},[75,1067,1068],{"class":99},"\"q\"",[75,1070,1071],{"class":134}," type",[75,1073,711],{"class":92},[75,1075,1076],{"class":99},"\"search\"",[75,1078,1079],{"class":134}," autocomplete",[75,1081,711],{"class":92},[75,1083,1084],{"class":99},"\"off\"",[75,1086,1087],{"class":134}," aria-label",[75,1089,711],{"class":92},[75,1091,1092],{"class":99},"\"Search posts\"",[75,1094,1095],{"class":134}," aria-controls",[75,1097,711],{"class":92},[75,1099,1100],{"class":99},"\"results\"",[75,1102,1103],{"class":92},">\n",[75,1105,1106,1108,1111,1113,1115,1117,1120,1122,1125,1128,1130],{"class":77,"line":85},[75,1107,177],{"class":92},[75,1109,1110],{"class":1059},"ol",[75,1112,1063],{"class":134},[75,1114,711],{"class":92},[75,1116,1100],{"class":99},[75,1118,1119],{"class":134}," aria-live",[75,1121,711],{"class":92},[75,1123,1124],{"class":99},"\"polite\"",[75,1126,1127],{"class":92},">\u003C\u002F",[75,1129,1110],{"class":1059},[75,1131,1103],{"class":92},[75,1133,1134,1136,1139,1141,1143,1146],{"class":77,"line":106},[75,1135,177],{"class":92},[75,1137,1138],{"class":1059},"script",[75,1140,1071],{"class":134},[75,1142,711],{"class":92},[75,1144,1145],{"class":99},"\"module\"",[75,1147,1103],{"class":92},[75,1149,1150,1153,1156,1158,1161,1164,1166,1169,1172,1175,1177,1179,1181,1183,1186],{"class":77,"line":121},[75,1151,1152],{"class":88},"  const",[75,1154,1155],{"class":170}," q",[75,1157,138],{"class":88},[75,1159,1160],{"class":92}," document.",[75,1162,1163],{"class":134},"getElementById",[75,1165,160],{"class":92},[75,1167,1168],{"class":99},"'q'",[75,1170,1171],{"class":92},"), ",[75,1173,1174],{"class":170},"out",[75,1176,138],{"class":88},[75,1178,1160],{"class":92},[75,1180,1163],{"class":134},[75,1182,160],{"class":92},[75,1184,1185],{"class":99},"'results'",[75,1187,639],{"class":92},[75,1189,1190,1193],{"class":77,"line":128},[75,1191,1192],{"class":88},"  let",[75,1194,1195],{"class":92}," idx, docs;\n",[75,1197,1198,1201,1204,1206,1209,1211,1213,1216,1218],{"class":77,"line":201},[75,1199,1200],{"class":92},"  q.",[75,1202,1203],{"class":134},"addEventListener",[75,1205,160],{"class":92},[75,1207,1208],{"class":99},"'focus'",[75,1210,192],{"class":92},[75,1212,308],{"class":88},[75,1214,1215],{"class":92}," () ",[75,1217,151],{"class":88},[75,1219,322],{"class":92},[75,1221,1222,1225,1228,1231],{"class":77,"line":267},[75,1223,1224],{"class":88},"    if",[75,1226,1227],{"class":92}," (idx) ",[75,1229,1230],{"class":88},"return",[75,1232,103],{"class":92},[75,1234,1235,1237,1240,1243,1246,1248,1251,1254,1256,1258,1260,1262,1265,1268,1270,1273],{"class":77,"line":272},[75,1236,328],{"class":88},[75,1238,1239],{"class":92}," [{ ",[75,1241,1242],{"class":144},"default",[75,1244,1245],{"class":92},": ",[75,1247,47],{"class":170},[75,1249,1250],{"class":92}," }, ",[75,1252,1253],{"class":170},"i",[75,1255,192],{"class":92},[75,1257,731],{"class":170},[75,1259,452],{"class":92},[75,1261,711],{"class":88},[75,1263,1264],{"class":88}," await",[75,1266,1267],{"class":170}," Promise",[75,1269,25],{"class":92},[75,1271,1272],{"class":134},"all",[75,1274,1275],{"class":92},"([\n",[75,1277,1278,1281,1283,1286],{"class":77,"line":292},[75,1279,1280],{"class":88},"      import",[75,1282,160],{"class":92},[75,1284,1285],{"class":99},"'\u002Fjs\u002Flunr.min.js'",[75,1287,540],{"class":92},[75,1289,1290,1293,1295,1298,1300,1303,1305,1307,1309,1311,1314,1317],{"class":77,"line":325},[75,1291,1292],{"class":134},"      fetch",[75,1294,160],{"class":92},[75,1296,1297],{"class":99},"'\u002Fsearch\u002Findex.json'",[75,1299,42],{"class":92},[75,1301,1302],{"class":134},"then",[75,1304,342],{"class":92},[75,1306,345],{"class":144},[75,1308,148],{"class":92},[75,1310,151],{"class":88},[75,1312,1313],{"class":92}," r.",[75,1315,1316],{"class":134},"json",[75,1318,1319],{"class":92},"()),\n",[75,1321,1322,1324,1326,1329,1331,1333,1335,1337,1339,1341,1343,1345],{"class":77,"line":366},[75,1323,1292],{"class":134},[75,1325,160],{"class":92},[75,1327,1328],{"class":99},"'\u002Fsearch\u002Fdocs.json'",[75,1330,42],{"class":92},[75,1332,1302],{"class":134},[75,1334,342],{"class":92},[75,1336,345],{"class":144},[75,1338,148],{"class":92},[75,1340,151],{"class":88},[75,1342,1313],{"class":92},[75,1344,1316],{"class":134},[75,1346,1319],{"class":92},[75,1348,1349],{"class":77,"line":393},[75,1350,1351],{"class":92},"    ]);\n",[75,1353,1354,1357,1359,1362,1365,1368,1370],{"class":77,"line":399},[75,1355,1356],{"class":92},"    idx ",[75,1358,711],{"class":88},[75,1360,1361],{"class":92}," lunr.Index.",[75,1363,1364],{"class":134},"load",[75,1366,1367],{"class":92},"(i); docs ",[75,1369,711],{"class":88},[75,1371,1372],{"class":92}," d;\n",[75,1374,1375],{"class":77,"line":464},[75,1376,885],{"class":92},[75,1378,1379,1381,1383,1385,1388,1391,1393],{"class":77,"line":543},[75,1380,1200],{"class":92},[75,1382,1203],{"class":134},[75,1384,160],{"class":92},[75,1386,1387],{"class":99},"'input'",[75,1389,1390],{"class":92},", () ",[75,1392,151],{"class":88},[75,1394,322],{"class":92},[75,1396,1397,1399,1401,1404,1407,1409,1412,1414,1417,1420,1423,1426,1429,1432,1435,1437],{"class":77,"line":591},[75,1398,1224],{"class":88},[75,1400,141],{"class":92},[75,1402,1403],{"class":88},"!",[75,1405,1406],{"class":92},"idx ",[75,1408,443],{"class":88},[75,1410,1411],{"class":92}," q.value.",[75,1413,261],{"class":134},[75,1415,1416],{"class":92},"().",[75,1418,1419],{"class":170},"length",[75,1421,1422],{"class":88}," \u003C",[75,1424,1425],{"class":170}," 2",[75,1427,1428],{"class":92},") { out.",[75,1430,1431],{"class":134},"replaceChildren",[75,1433,1434],{"class":92},"(); ",[75,1436,1230],{"class":88},[75,1438,1439],{"class":92},"; }\n",[75,1441,1442,1444,1447,1449,1451,1453,1455,1458,1460,1462,1464,1466,1468,1470,1472,1474,1477,1479,1481,1484,1486,1489,1491,1494,1496,1498,1500,1502],{"class":77,"line":597},[75,1443,328],{"class":88},[75,1445,1446],{"class":170}," terms",[75,1448,138],{"class":88},[75,1450,1411],{"class":92},[75,1452,261],{"class":134},[75,1454,1416],{"class":92},[75,1456,1457],{"class":134},"split",[75,1459,160],{"class":92},[75,1461,163],{"class":99},[75,1463,246],{"class":170},[75,1465,224],{"class":88},[75,1467,163],{"class":99},[75,1469,42],{"class":92},[75,1471,379],{"class":134},[75,1473,342],{"class":92},[75,1475,1476],{"class":144},"t",[75,1478,148],{"class":92},[75,1480,151],{"class":88},[75,1482,1483],{"class":99}," `${",[75,1485,1476],{"class":92},[75,1487,1488],{"class":99},"}* ${",[75,1490,1476],{"class":92},[75,1492,1493],{"class":99},"}~1`",[75,1495,42],{"class":92},[75,1497,533],{"class":134},[75,1499,160],{"class":92},[75,1501,195],{"class":99},[75,1503,639],{"class":92},[75,1505,1506,1509,1511,1513,1515,1518,1521,1524,1526,1528,1530,1532,1534,1536,1538,1541,1543,1545,1547],{"class":77,"line":602},[75,1507,1508],{"class":92},"    out.",[75,1510,1431],{"class":134},[75,1512,160],{"class":92},[75,1514,470],{"class":88},[75,1516,1517],{"class":92},"idx.",[75,1519,1520],{"class":134},"search",[75,1522,1523],{"class":92},"(terms).",[75,1525,796],{"class":134},[75,1527,160],{"class":92},[75,1529,580],{"class":170},[75,1531,192],{"class":92},[75,1533,1029],{"class":170},[75,1535,42],{"class":92},[75,1537,379],{"class":134},[75,1539,1540],{"class":92},"(({ ",[75,1542,631],{"class":144},[75,1544,317],{"class":92},[75,1546,151],{"class":88},[75,1548,322],{"class":92},[75,1550,1551,1554,1557,1559,1561,1564,1566,1569],{"class":77,"line":623},[75,1552,1553],{"class":88},"      const",[75,1555,1556],{"class":170}," li",[75,1558,138],{"class":88},[75,1560,1160],{"class":92},[75,1562,1563],{"class":134},"createElement",[75,1565,160],{"class":92},[75,1567,1568],{"class":99},"'li'",[75,1570,639],{"class":92},[75,1572,1573,1576,1578,1581,1583,1586,1589,1591,1593,1596,1598,1601,1603,1605,1607,1609,1612,1615],{"class":77,"line":642},[75,1574,1575],{"class":92},"      li.innerHTML ",[75,1577,711],{"class":88},[75,1579,1580],{"class":99}," `\u003Ca href=\"${",[75,1582,631],{"class":92},[75,1584,1585],{"class":99},"}\">${",[75,1587,1588],{"class":92},"docs",[75,1590,215],{"class":99},[75,1592,631],{"class":92},[75,1594,1595],{"class":99},"].",[75,1597,1476],{"class":92},[75,1599,1600],{"class":99},"}\u003C\u002Fa>\u003Cp>${",[75,1602,1588],{"class":92},[75,1604,215],{"class":99},[75,1606,631],{"class":92},[75,1608,1595],{"class":99},[75,1610,1611],{"class":92},"s",[75,1613,1614],{"class":99},"}…\u003C\u002Fp>`",[75,1616,103],{"class":92},[75,1618,1619,1622],{"class":77,"line":666},[75,1620,1621],{"class":88},"      return",[75,1623,1624],{"class":92}," li;\n",[75,1626,1627],{"class":77,"line":687},[75,1628,594],{"class":92},[75,1630,1631],{"class":77,"line":703},[75,1632,885],{"class":92},[75,1634,1635,1638,1640],{"class":77,"line":720},[75,1636,1637],{"class":92},"\u003C\u002F",[75,1639,1138],{"class":1059},[75,1641,1103],{"class":92},[14,1643,1644,1645,1648,1649,1652,1653,1656,1657,1660],{},"Each term is searched both as a prefix (",[39,1646,1647],{},"deploy*",") and with an edit distance of one (",[39,1650,1651],{},"deploy~1","), which handles typing in progress and single-character typos at the cost of slightly broader matches. Titles in ",[39,1654,1655],{},"docs.json"," come from your own build, not from user input, so inserting them as HTML is safe; if titles could contain markup you do not control, build the elements with ",[39,1658,1659],{},"textContent"," instead.",[27,1662,1664],{"id":1663},"step-3-set-a-size-budget","Step 3: Set a Size Budget",[14,1666,1667],{},"The index grows with vocabulary and page count. Add a budget check to the same build hook so the day Lunr stops being appropriate is a failing build, not a slow search box nobody reports:",[66,1669,1671],{"className":68,"code":1670,"language":70,"meta":71,"style":71},"import { gzipSync } from 'node:zlib';\nconst size = gzipSync(JSON.stringify(idx)).length + gzipSync(JSON.stringify(lookup)).length;\nconsole.log(`[search] ${docs.length} docs, ${(size \u002F 1024).toFixed(0)} KB gzip`);\nif (size > 300 * 1024) throw new Error('Search payload over 300 KB gzip — move to Pagefind');\n",[39,1672,1673,1687,1732,1782],{"__ignoreMap":71},[75,1674,1675,1677,1680,1682,1685],{"class":77,"line":78},[75,1676,89],{"class":88},[75,1678,1679],{"class":92}," { gzipSync } ",[75,1681,96],{"class":88},[75,1683,1684],{"class":99}," 'node:zlib'",[75,1686,103],{"class":92},[75,1688,1689,1691,1694,1696,1699,1701,1703,1705,1707,1710,1712,1715,1717,1719,1721,1723,1725,1728,1730],{"class":77,"line":85},[75,1690,131],{"class":88},[75,1692,1693],{"class":170}," size",[75,1695,138],{"class":88},[75,1697,1698],{"class":134}," gzipSync",[75,1700,160],{"class":92},[75,1702,848],{"class":170},[75,1704,25],{"class":92},[75,1706,853],{"class":134},[75,1708,1709],{"class":92},"(idx)).",[75,1711,1419],{"class":170},[75,1713,1714],{"class":88}," +",[75,1716,1698],{"class":134},[75,1718,160],{"class":92},[75,1720,848],{"class":170},[75,1722,25],{"class":92},[75,1724,853],{"class":134},[75,1726,1727],{"class":92},"(lookup)).",[75,1729,1419],{"class":170},[75,1731,103],{"class":92},[75,1733,1734,1737,1740,1742,1745,1747,1749,1751,1754,1756,1759,1762,1765,1767,1770,1772,1774,1777,1780],{"class":77,"line":106},[75,1735,1736],{"class":92},"console.",[75,1738,1739],{"class":134},"log",[75,1741,160],{"class":92},[75,1743,1744],{"class":99},"`[search] ${",[75,1746,1588],{"class":92},[75,1748,25],{"class":99},[75,1750,1419],{"class":170},[75,1752,1753],{"class":99},"} docs, ${",[75,1755,160],{"class":99},[75,1757,1758],{"class":92},"size",[75,1760,1761],{"class":88}," \u002F",[75,1763,1764],{"class":170}," 1024",[75,1766,42],{"class":99},[75,1768,1769],{"class":134},"toFixed",[75,1771,160],{"class":99},[75,1773,580],{"class":170},[75,1775,1776],{"class":99},")",[75,1778,1779],{"class":99},"} KB gzip`",[75,1781,639],{"class":92},[75,1783,1784,1787,1790,1792,1795,1798,1800,1802,1805,1808,1811,1813,1816],{"class":77,"line":121},[75,1785,1786],{"class":88},"if",[75,1788,1789],{"class":92}," (size ",[75,1791,227],{"class":88},[75,1793,1794],{"class":170}," 300",[75,1796,1797],{"class":88}," *",[75,1799,1764],{"class":170},[75,1801,148],{"class":92},[75,1803,1804],{"class":88},"throw",[75,1806,1807],{"class":88}," new",[75,1809,1810],{"class":134}," Error",[75,1812,160],{"class":92},[75,1814,1815],{"class":99},"'Search payload over 300 KB gzip — move to Pagefind'",[75,1817,639],{"class":92},[14,1819,1820,1821,25],{},"Why 300 KB? On a Moto G Power-class phone over fast 4G, a 300 KB gzipped JSON payload took about 1.1 seconds to download and 0.3 seconds to parse and load into Lunr — roughly the longest a search box can stay unresponsive before readers type, see nothing, and leave. The reasoning is expanded in ",[21,1822,1824],{"href":1823},"\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",[900,1826,1827,1919],{},[903,1828,911,1832,911,1835,911,1838,911,1840],{"viewBox":905,"role":906,"ariaLabelledBy":1829,"xmlns":910},[1830,1831],"lun-grow-title","lun-grow-desc",[913,1833,1834],{"id":1830},"Search payload size as the blog grows",[917,1836,1837],{"id":1831},"A line chart of gzipped search payload against number of posts. The lean index with code stripped and no positions grows from 40 kilobytes at 100 posts to 144 at 400 and crosses the 300 kilobyte budget at about 820 posts. A naive index that stores full bodies and positions reaches 300 kilobytes at about 130 posts.",[921,1839],{"x":580,"y":580,"width":923,"height":924,"fill":925},[189,1841,929,1842,929,1845,929,1850,929,1853,929,1857,929,1864,929,1869,929,1873,929,1877,929,1881,929,1884,929,1888,929,1892,929,1896,929,1901,929,1904,929,1910,929,1915,911],{"style":928},[931,1843,1844],{"x":933,"y":934,"fill":935,"style":936},"Gzipped search payload vs number of posts",[77,1846],{"x1":1847,"y1":1848,"x2":1849,"y2":1848,"stroke":956,"style":946},"80","230","720",[77,1851],{"x1":1847,"y1":1852,"x2":1847,"y2":1848,"stroke":956,"style":946},"50",[77,1854],{"x1":1847,"y1":949,"x2":1849,"y2":949,"stroke":1855,"style":1856},"#d83b41","stroke-width:1.5px;stroke-dasharray:6 4",[931,1858,1863],{"x":1859,"y":1860,"fill":1861,"style":1862},"714","104","#b32b30","font-size:11px;font-weight:700;text-anchor:end","300 KB budget",[931,1865,580],{"x":1866,"y":1867,"fill":956,"style":1868},"72","234","font-size:11px;text-anchor:end",[931,1870,1872],{"x":1866,"y":1871,"fill":956,"style":1868},"114","300",[931,1874,1876],{"x":1866,"y":1875,"fill":956,"style":1868},"54","450",[931,1878,941],{"x":1879,"y":1880,"fill":956,"style":957},"150","248",[931,1882,1872],{"x":1883,"y":1880,"fill":956,"style":957},"290",[931,1885,1887],{"x":1886,"y":1880,"fill":956,"style":957},"430","500",[931,1889,1891],{"x":1890,"y":1880,"fill":956,"style":957},"570","700",[931,1893,1895],{"x":1894,"y":1880,"fill":956,"style":957},"710","900",[1897,1898],"polyline",{"points":1899,"fill":1003,"stroke":963,"style":1900},"150,214 220,202 290,190 360,172 430,158 500,140 570,128 640,114 710,102","stroke-width:2.5px",[1897,1902],{"points":1903,"fill":1003,"stroke":1855,"style":1900},"150,128 180,110 220,84 260,56",[931,1905,1909],{"x":1906,"y":1907,"fill":1861,"style":1908},"270","62","font-size:11px;font-weight:700","naive: full bodies + positions",[931,1911,1914],{"x":1912,"y":1913,"fill":963,"style":1908},"440","178","lean: tokens + summaries",[931,1916,1918],{"x":1917,"y":1906,"fill":956,"style":957},"400","Measured on a technical blog, ~1,100 words per post; x axis is number of posts",[1037,1920,1921],{},"The lean layout buys roughly six times more headroom before the budget trips — enough for most blogs to never need a different tool.",[27,1923,1925],{"id":1924},"measured-impact","Measured Impact",[14,1927,1928],{},"A 400-post Eleventy blog moved from a client-side index (full text shipped as JSON, index built in the browser on page load) to the prebuilt, lazily loaded setup above. Measurements used Lighthouse 12 mobile and Chrome DevTools on a Moto G Power profile.",[1930,1931,1932,1948],"table",{},[1933,1934,1935],"thead",{},[1936,1937,1938,1942,1945],"tr",{},[1939,1940,1941],"th",{},"Measure",[1939,1943,1944],{},"Client-built index on load",[1939,1946,1947],{},"Prebuilt, lazy",[1949,1950,1951,1963,1974,1984,1995],"tbody",{},[1936,1952,1953,1957,1960],{},[1954,1955,1956],"td",{},"Search payload (gzip)",[1954,1958,1959],{},"1.24 MB",[1954,1961,1962],{},"144 KB",[1936,1964,1965,1968,1971],{},[1954,1966,1967],{},"Main-thread work on every page load",[1954,1969,1970],{},"780 ms",[1954,1972,1973],{},"0 ms",[1936,1975,1976,1979,1982],{},[1954,1977,1978],{},"Lighthouse TBT, post template",[1954,1980,1981],{},"410 ms",[1954,1983,1973],{},[1936,1985,1986,1989,1992],{},[1954,1987,1988],{},"Time to first result after focusing search",[1954,1990,1991],{},"1.9 s",[1954,1993,1994],{},"0.5 s",[1936,1996,1997,2000,2003],{},[1954,1998,1999],{},"Build time added",[1954,2001,2002],{},"0 s",[1954,2004,2005],{},"1.8 s",[900,2007,2008,2082],{},[903,2009,911,2014,911,2017,911,2020,911,2023],{"viewBox":2010,"role":906,"ariaLabelledBy":2011,"xmlns":910},"0 0 760 250",[2012,2013],"lun-tbt-title","lun-tbt-desc",[913,2015,2016],{"id":2012},"Main-thread cost per page view, before and after",[917,2018,2019],{"id":2013},"Two main-thread timelines for a post page. Before, the page spent 780 milliseconds downloading and indexing 1.24 megabytes of text on load, producing 410 milliseconds of blocking time. After, page load has no search work at all, and a 0.5 second load happens only if the reader focuses the search box.",[921,2021],{"x":580,"y":580,"width":923,"height":2022,"fill":925},"250",[189,2024,929,2025,929,2028,929,2033,929,2039,929,2045,929,2050,929,2054,929,2058,929,2061,929,2064,929,2069,929,2074,929,2079,911],{"style":928},[931,2026,2027],{"x":933,"y":934,"fill":935,"style":936},"Main thread during a post page load",[931,2029,2032],{"x":940,"y":2030,"fill":935,"style":2031},"82","font-weight:700","Before",[921,2034],{"x":2035,"y":943,"width":2036,"height":934,"rx":682,"fill":944,"opacity":2037,"stroke":944,"style":2038},"120","180","0.2","stroke-width:1px",[931,2040,2044],{"x":2041,"y":2042,"fill":935,"style":2043},"210","83","text-anchor:middle","render",[921,2046],{"x":1872,"y":943,"width":2047,"height":934,"rx":682,"fill":2048,"opacity":2049,"stroke":1855,"style":2038},"360","#ff595e","0.25",[931,2051,2053],{"x":2052,"y":2042,"fill":935,"style":2043},"480","build Lunr index · 780 ms",[931,2055,2057],{"x":940,"y":2056,"fill":935,"style":2031},"152","After",[921,2059],{"x":2035,"y":2060,"width":2036,"height":934,"rx":682,"fill":944,"opacity":2037,"stroke":944,"style":2038},"134",[931,2062,2044],{"x":2041,"y":2063,"fill":935,"style":2043},"153",[931,2065,2068],{"x":2066,"y":2063,"fill":2067,"style":2031},"316","#3f6410","done — no search work",[921,2070],{"x":1887,"y":2071,"width":942,"height":2072,"rx":682,"fill":990,"opacity":2073,"stroke":992,"style":2038},"176","24","0.28",[931,2075,2078],{"x":2076,"y":2077,"fill":935,"style":957},"580","193","only on focus · 0.5 s",[931,2080,2081],{"x":933,"y":1867,"fill":956,"style":957},"Chrome DevTools performance panel, Moto G Power profile, 4× CPU slowdown",[1037,2083,2084],{},"The expensive work did not get faster so much as it stopped happening for readers who never search.",[14,2086,2087],{},"The page-load numbers are the headline. The old setup downloaded and indexed the whole blog on every page view, including the 96% that never searched; the new one charges nothing until someone clicks into the box.",[14,2089,2090],{},"Field data told the same story. Over the four weeks after the change, the blog's 75th-percentile INP from real-user monitoring fell from 230 ms to 140 ms, because the long indexing task that used to run shortly after load had been colliding with readers' first clicks and scrolls. Search usage itself did not change — about 4% of sessions — but the median time readers spent between focusing the box and clicking a result fell from 6.2 to 3.4 seconds.",[27,2092,2094],{"id":2093},"tuning-relevance-without-extra-tools","Tuning Relevance Without Extra Tools",[14,2096,2097],{},"Lunr exposes enough to fix the common ranking problems directly. Field boosts are the main lever: a title match outranks a body match by a factor of ten in the config above, and headings by four. When the same word appears in many posts — \"Eleventy\" on an Eleventy blog — its inverse document frequency is low and it contributes little, which is correct. When a word is common but meaningful in your domain, remove it from Lunr's stop-word filter so it is indexed at all:",[66,2099,2101],{"className":68,"code":2100,"language":70,"meta":71,"style":71},"const keep = new Set(['build', 'deploy', 'cache']);\nthis.pipeline.remove(lunr.stopWordFilter);\nthis.pipeline.before(lunr.stemmer, lunr.generateStopWordFilter(\n  lunr.stopWordFilter.words?.filter?.((w) => !keep.has(w)) ?? []));\n",[39,2102,2103,2136,2150,2168],{"__ignoreMap":71},[75,2104,2105,2107,2110,2112,2114,2117,2120,2123,2125,2128,2130,2133],{"class":77,"line":78},[75,2106,131],{"class":88},[75,2108,2109],{"class":170}," keep",[75,2111,138],{"class":88},[75,2113,1807],{"class":88},[75,2115,2116],{"class":134}," Set",[75,2118,2119],{"class":92},"([",[75,2121,2122],{"class":99},"'build'",[75,2124,192],{"class":92},[75,2126,2127],{"class":99},"'deploy'",[75,2129,192],{"class":92},[75,2131,2132],{"class":99},"'cache'",[75,2134,2135],{"class":92},"]);\n",[75,2137,2138,2141,2144,2147],{"class":77,"line":85},[75,2139,2140],{"class":170},"this",[75,2142,2143],{"class":92},".pipeline.",[75,2145,2146],{"class":134},"remove",[75,2148,2149],{"class":92},"(lunr.stopWordFilter);\n",[75,2151,2152,2154,2156,2159,2162,2165],{"class":77,"line":106},[75,2153,2140],{"class":170},[75,2155,2143],{"class":92},[75,2157,2158],{"class":134},"before",[75,2160,2161],{"class":92},"(lunr.stemmer, lunr.",[75,2163,2164],{"class":134},"generateStopWordFilter",[75,2166,2167],{"class":92},"(\n",[75,2169,2170,2173,2175,2178,2181,2183,2185,2188,2191,2194,2197,2199],{"class":77,"line":121},[75,2171,2172],{"class":92},"  lunr.stopWordFilter.words?.",[75,2174,339],{"class":134},[75,2176,2177],{"class":92},"?.((",[75,2179,2180],{"class":144},"w",[75,2182,148],{"class":92},[75,2184,151],{"class":88},[75,2186,2187],{"class":88}," !",[75,2189,2190],{"class":92},"keep.",[75,2192,2193],{"class":134},"has",[75,2195,2196],{"class":92},"(w)) ",[75,2198,455],{"class":88},[75,2200,2201],{"class":92}," []));\n",[14,2203,2204,2205,2208,2209,2212],{},"Test changes against a list of real queries and expected results, exactly as with any search tool. For tag or category filtering, add a ",[39,2206,2207],{},"tags"," field and query with ",[39,2210,2211],{},"+tags:hugo"," alongside the reader's terms.",[27,2214,2216],{"id":2215},"pitfalls-rollback","Pitfalls & Rollback",[32,2218,2219,2226,2232,2238,2244,2250],{},[35,2220,2221,2225],{},[2222,2223,2224],"strong",{},"Building the index in the browser."," Shipping raw text and indexing on load costs every visitor main-thread time. Prebuild and serialise.",[35,2227,2228,2231],{},[2222,2229,2230],{},"Storing bodies in the lookup."," The lookup only needs enough to render a result. A 140-character summary is plenty.",[35,2233,2234,2237],{},[2222,2235,2236],{},"Indexing code blocks."," Identifiers, flags and log output swell the vocabulary and pollute results for prose queries.",[35,2239,2240,2243],{},[2222,2241,2242],{},"Eager loading."," Fetch the index on focus, not in the page head.",[35,2245,2246,2249],{},[2222,2247,2248],{},"No budget."," Without a size check, the index degrades gradually and nobody notices until search feels broken.",[35,2251,2252,2255,2256,2258],{},[2222,2253,2254],{},"Rollback:"," the index is one ",[39,2257,967],{}," hook and one script block. Removing them restores the previous behaviour; the generated files disappear on the next clean build.",[27,2260,2262],{"id":2261},"conclusion","Conclusion",[14,2264,2265],{},"A prebuilt Lunr index remains a sound choice for Eleventy sites of a few hundred pages: it is transparent, dependency-light and fast when built lean and loaded lazily. Separate tokens from summaries, strip code, boost titles and headings, and fail the build when the gzipped payload passes 300 KB. That budget is your signal to move to a fragmented index like Pagefind — which on an Eleventy site is a one-line post-build step.",[27,2267,2269],{"id":2268},"faq","FAQ",[2271,2272,2274],"h3",{"id":2273},"why-prebuild-the-lunr-index-instead-of-building-it-in-the-browser","Why prebuild the Lunr index instead of building it in the browser?",[14,2276,2277],{},"Building an index in the browser means shipping all the raw text and spending CPU on every visit. A prebuilt index is serialised once at build time, so the browser only parses JSON. On a 400-page blog that cut time to first result from 1.9 seconds to 0.5 seconds on a mid-range phone.",[2271,2279,2281],{"id":2280},"when-should-i-stop-using-lunr","When should I stop using Lunr?",[14,2283,2284],{},"When the gzipped index passes roughly 300 KB, which for typical prose happens somewhere between 500 and 800 pages. Beyond that, a fragmented index such as Pagefind keeps the first-query download small.",[2271,2286,2288],{"id":2287},"should-i-index-the-full-body-text","Should I index the full body text?",[14,2290,2291],{},"Index the full text, but do not store it. Lunr's index only needs tokens; store just the title, URL and a short summary in a separate lookup so results can render without shipping the whole body.",[2271,2293,2295],{"id":2294},"does-lunr-support-languages-other-than-english","Does Lunr support languages other than English?",[14,2297,2298],{},"Yes, through the lunr-languages package, which adds stemmers and stop-word lists for around twenty languages. Each language adds a small plugin and should get its own index file.",[27,2300,2302],{"id":2301},"related","Related",[32,2304,2305,2314,2319,2326,2333],{},[35,2306,2307,2310,2311,2313],{},[2222,2308,2309],{},"Parent:"," ",[21,2312,24],{"href":23}," — the full comparison of static search tools.",[35,2315,2316,2318],{},[21,2317,1824],{"href":1823}," — where the 300 KB threshold comes from.",[35,2320,2321,2325],{},[21,2322,2324],{"href":2323},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site\u002F","Adding Pagefind to an Astro Site"," — the fragmented alternative once you outgrow Lunr.",[35,2327,2328,2332],{},[21,2329,2331],{"href":2330},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds\u002F","How to Reduce Bundle Size in Eleventy Builds"," — keeping the rest of the page lean too.",[35,2334,2335,2339],{},[21,2336,2338],{"href":2337},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy\u002F","Enabling Incremental Builds in Eleventy"," — how the index hook behaves in incremental mode.",[2341,2342,2343],"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 .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sA_wV, html code.shiki .sA_wV{--shiki-default:#032F62;--shiki-dark:#DBEDFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .snhLl, html code.shiki .snhLl{--shiki-default:#22863A;--shiki-default-font-weight:bold;--shiki-dark:#85E89D;--shiki-dark-font-weight:bold}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 .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":71,"searchDepth":85,"depth":85,"links":2345},[2346,2347,2348,2349,2350,2351,2352,2353,2354,2360],{"id":29,"depth":85,"text":30},{"id":60,"depth":85,"text":61},{"id":1042,"depth":85,"text":1043},{"id":1663,"depth":85,"text":1664},{"id":1924,"depth":85,"text":1925},{"id":2093,"depth":85,"text":2094},{"id":2215,"depth":85,"text":2216},{"id":2261,"depth":85,"text":2262},{"id":2268,"depth":85,"text":2269,"children":2355},[2356,2357,2358,2359],{"id":2273,"depth":106,"text":2274},{"id":2280,"depth":106,"text":2281},{"id":2287,"depth":106,"text":2288},{"id":2294,"depth":106,"text":2295},{"id":2301,"depth":85,"text":2302},[2362,2364,2367,2368],{"name":2363,"item":163},"Home",{"name":2365,"item":2366},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":24,"item":23},{"name":5,"item":2369},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy\u002F","2026-09-18","Generate a prebuilt Lunr search index from Eleventy collections, keep it small with field boosts and stop words, and load it only when readers search.","md",[2374,2375,2376,2377],{"q":2274,"a":2277},{"q":2281,"a":2284},{"q":2288,"a":2291},{"q":2295,"a":2298},{},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy",{"title":5,"description":2371},"choosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy\u002Findex","article","LdNtcBp8qrwzwVj3r4Ius5ZDajoZOI_Y7bXwwwZAp-4",[2385,2388,2391,2394,2397,2400,2403,2406,2409,2412,2415,2418,2421,2424,2427,2430,2433,2436,2439,2442,2445,2448,2451,2454,2457,2460,2463,2466,2469,2472,2475,2478,2481,2484,2487,2490,2493,2496,2499,2502,2505,2508,2511,2514,2517,2520,2523,2526,2529,2532,2535,2538,2541,2544,2546,2549,2552,2555,2558,2561,2564,2567,2570,2573,2576,2579,2582,2585,2588,2591,2594,2597,2600,2603,2606,2609,2612,2615,2618,2621,2624,2627,2630,2633,2636,2639,2642,2645,2648,2651,2654,2657,2660,2663,2666,2669,2672,2675,2678,2681,2684,2686,2687,2690,2693,2695,2698,2701,2704,2707,2709,2712,2715,2718,2721,2724,2727,2730,2733,2736,2739,2742,2745,2748,2751,2754,2757,2760,2763,2766,2769,2772,2775,2778,2781,2784,2787,2790,2793,2796,2799,2802,2805,2808,2811,2814,2817,2820,2823,2826,2829,2832,2835,2838,2841,2844,2847,2850,2853,2856,2859,2862,2865,2868,2871,2874,2877,2880,2883,2886,2889,2892,2895,2898,2901,2904,2907,2910,2913,2916,2919,2922,2925,2928,2931,2934,2937,2940,2943,2946,2949,2952,2955,2958,2961,2964,2967,2970,2973,2976,2978,2981,2984,2987,2990,2993,2996,2999,3002,3005,3008,3011,3014,3017,3020,3023,3026,3029,3032,3035,3038,3041,3044,3047,3050,3053,3056,3059,3062,3065,3068,3071,3074,3077,3080,3083,3086,3089,3092,3095,3098,3101,3104,3107,3110,3113,3116,3119,3122,3125,3128,3131,3134,3137,3140,3143,3146,3149,3152,3155,3158,3161,3164,3167,3170,3173,3176,3179,3182,3185,3188,3191,3194,3197,3200,3203,3206,3209,3212,3215,3218,3221,3224,3227,3230,3232,3235,3238,3241,3244,3247,3250,3253,3256,3259,3262,3265,3268,3271,3274,3277,3280,3283,3286,3289,3292,3295,3298,3301,3304,3307,3310,3313,3316,3319,3322,3325,3328,3331,3334,3337,3340,3343,3346,3349,3352,3355,3358,3361,3364,3367,3370,3373,3376,3379,3382,3385,3388,3391,3394,3397,3400,3403,3406,3409,3412,3415,3418,3421,3424,3427,3430,3433,3436,3439,3442,3445,3448,3451,3454,3457,3460,3463,3466,3469,3472,3475,3478,3481,3484,3487,3490,3493,3496,3499,3502,3505,3508,3511,3514,3517,3520,3523],{"path":2386,"title":2387},"\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":2389,"title":2390},"\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":2392,"title":2393},"\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":2395,"title":2396},"\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":2398,"title":2399},"\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":2401,"title":2402},"\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":2404,"title":2405},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":2407,"title":2408},"\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":2410,"title":2411},"\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":2413,"title":2414},"\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":2416,"title":2417},"\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":2419,"title":2420},"\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":2422,"title":2423},"\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":2425,"title":2426},"\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":2428,"title":2429},"\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":2431,"title":2432},"\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":2434,"title":2435},"\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":2437,"title":2438},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":2440,"title":2441},"\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":2443,"title":2444},"\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":2446,"title":2447},"\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":2449,"title":2450},"\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":2452,"title":2453},"\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":2455,"title":2456},"\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":2458,"title":2459},"\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":2461,"title":2462},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":2464,"title":2465},"\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":2467,"title":2468},"\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":2470,"title":2471},"\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":2473,"title":2474},"\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":2476,"title":2477},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":2479,"title":2480},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":2482,"title":2483},"\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":2485,"title":2486},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":2488,"title":2489},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":2491,"title":2492},"\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":2494,"title":2495},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":2497,"title":2498},"\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":2500,"title":2501},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":2503,"title":2504},"\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":2506,"title":2507},"\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":2509,"title":2510},"\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":2512,"title":2513},"\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":2515,"title":2516},"\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":2518,"title":2519},"\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":2521,"title":2522},"\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":2524,"title":2525},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":2527,"title":2528},"\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":2530,"title":2531},"\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":2533,"title":2534},"\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":2536,"title":2537},"\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":2539,"title":2540},"\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":2542,"title":2543},"\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":2545,"title":2365},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":2547,"title":2548},"\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":2550,"title":2551},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fhreflang-and-language-alternates-on-static-sites","hreflang and Language Alternates on Static Sites",{"path":2553,"title":2554},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":2556,"title":2557},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":2559,"title":2560},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Flanguage-detection-and-redirects-at-the-edge","Language Detection and Redirects at the Edge",{"path":2562,"title":2563},"\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":2565,"title":2566},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":2568,"title":2569},"\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":2571,"title":2572},"\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":2574,"title":2575},"\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":2577,"title":2578},"\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":2580,"title":2581},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":2583,"title":2584},"\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":2586,"title":2587},"\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":2589,"title":2590},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":2592,"title":2593},"\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":2595,"title":2596},"\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":2598,"title":2599},"\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":2601,"title":2602},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":2604,"title":2605},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":2607,"title":2608},"\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":2610,"title":2611},"\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":2613,"title":2614},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":2616,"title":2617},"\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":2619,"title":2620},"\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":2622,"title":2623},"\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":2625,"title":2626},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":2628,"title":2629},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":2631,"title":2632},"\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":2634,"title":2635},"\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":2637,"title":2638},"\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":2640,"title":2641},"\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":2643,"title":2644},"\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":2646,"title":2647},"\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":2649,"title":2650},"\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":2652,"title":2653},"\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":2655,"title":2656},"\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":2658,"title":2659},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2661,"title":2662},"\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":2664,"title":2665},"\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":2667,"title":2668},"\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":2670,"title":2671},"\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":2673,"title":2674},"\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":2676,"title":2677},"\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":2679,"title":2680},"\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":2682,"title":2683},"\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":2685,"title":2324},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site",{"path":2379,"title":5},{"path":2688,"title":2689},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2691,"title":2692},"\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":2694,"title":24},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites",{"path":2696,"title":2697},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2699,"title":2700},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2702,"title":2703},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2705,"title":2706},"\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":2708,"title":1824},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs",{"path":2710,"title":2711},"\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":2713,"title":2714},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2716,"title":2717},"\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":2719,"title":2720},"\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":2722,"title":2723},"\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":2725,"title":2726},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":2728,"title":2729},"\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":2731,"title":2732},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2734,"title":2735},"\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":2737,"title":2738},"\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":2740,"title":2741},"\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":2743,"title":2744},"\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":2746,"title":2747},"\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":2749,"title":2750},"\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":2752,"title":2753},"\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":2755,"title":2756},"\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":2758,"title":2759},"\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":2761,"title":2762},"\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":2764,"title":2765},"\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":2767,"title":2768},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2770,"title":2771},"\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":2773,"title":2774},"\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":2776,"title":2777},"\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":2779,"title":2780},"\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":2782,"title":2783},"\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":2785,"title":2786},"\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":2788,"title":2789},"\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":2791,"title":2792},"\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":2794,"title":2795},"\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":2797,"title":2798},"\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":2800,"title":2801},"\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":2803,"title":2804},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2806,"title":2807},"\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":2809,"title":2810},"\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":2812,"title":2813},"\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":2815,"title":2816},"\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":2818,"title":2819},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2821,"title":2822},"\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":2824,"title":2825},"\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":2827,"title":2828},"\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":2830,"title":2831},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2833,"title":2834},"\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":2836,"title":2837},"\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":2839,"title":2840},"\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":2842,"title":2843},"\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":2845,"title":2846},"\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":2848,"title":2849},"\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":2851,"title":2852},"\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":2854,"title":2855},"\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":2857,"title":2858},"\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":2860,"title":2861},"\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":2863,"title":2864},"\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":2866,"title":2867},"\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":2869,"title":2870},"\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":2872,"title":2873},"\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":2875,"title":2876},"\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":2878,"title":2879},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2881,"title":2882},"\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":2884,"title":2885},"\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":2887,"title":2888},"\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":2890,"title":2891},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2893,"title":2894},"\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":2896,"title":2897},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2899,"title":2900},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2902,"title":2903},"\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":2905,"title":2906},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2908,"title":2909},"\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":2911,"title":2912},"\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":2914,"title":2915},"\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":2917,"title":2918},"\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":2920,"title":2921},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2923,"title":2924},"\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":2926,"title":2927},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2929,"title":2930},"\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":2932,"title":2933},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2935,"title":2936},"\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":2938,"title":2939},"\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":2941,"title":2942},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2944,"title":2945},"\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":2947,"title":2948},"\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":2950,"title":2951},"\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":2953,"title":2954},"\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":2956,"title":2957},"\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":2959,"title":2960},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2962,"title":2963},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2965,"title":2966},"\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":2968,"title":2969},"\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":2971,"title":2972},"\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":2974,"title":2975},"\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":2977,"title":2331},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds",{"path":2979,"title":2980},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2982,"title":2983},"\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":2985,"title":2986},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2988,"title":2989},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2991,"title":2992},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2994,"title":2995},"\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":2997,"title":2998},"\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":3000,"title":3001},"\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":3003,"title":3004},"\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":3006,"title":3007},"\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":3009,"title":3010},"\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":3012,"title":3013},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":3015,"title":3016},"\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":3018,"title":3019},"\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":3021,"title":3022},"\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":3024,"title":3025},"\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":3027,"title":3028},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":3030,"title":3031},"\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":3033,"title":3034},"\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":3036,"title":3037},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":3039,"title":3040},"\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":3042,"title":3043},"\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":3045,"title":3046},"\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":3048,"title":3049},"\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":3051,"title":3052},"\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":3054,"title":3055},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":3057,"title":3058},"\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":3060,"title":3061},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":3063,"title":3064},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":3066,"title":3067},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":3069,"title":3070},"\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":3072,"title":3073},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":3075,"title":3076},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":3078,"title":3079},"\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":3081,"title":3082},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":3084,"title":3085},"\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":3087,"title":3088},"\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":3090,"title":3091},"\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":3093,"title":3094},"\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":3096,"title":3097},"\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":3099,"title":3100},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":3102,"title":3103},"\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":3105,"title":3106},"\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":3108,"title":3109},"\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":3111,"title":3112},"\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":3114,"title":3115},"\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":3117,"title":3118},"\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":3120,"title":3121},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":3123,"title":3124},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":3126,"title":3127},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":3129,"title":3130},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":3132,"title":3133},"\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":3135,"title":3136},"\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":3138,"title":3139},"\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":3141,"title":3142},"\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":3144,"title":3145},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":3147,"title":3148},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":3150,"title":3151},"\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":3153,"title":3154},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":3156,"title":3157},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":3159,"title":3160},"\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":3162,"title":3163},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":3165,"title":3166},"\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":3168,"title":3169},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":3171,"title":3172},"\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":3174,"title":3175},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":3177,"title":3178},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":3180,"title":3181},"\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":3183,"title":3184},"\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":3186,"title":3187},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":3189,"title":3190},"\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":3192,"title":3193},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":3195,"title":3196},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":3198,"title":3199},"\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":3201,"title":3202},"\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":3204,"title":3205},"\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":3207,"title":3208},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":3210,"title":3211},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":3213,"title":3214},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":3216,"title":3217},"\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":3219,"title":3220},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":3222,"title":3223},"\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":3225,"title":3226},"\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":3228,"title":3229},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":3231,"title":2338},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy",{"path":3233,"title":3234},"\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":3236,"title":3237},"\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":3239,"title":3240},"\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":3242,"title":3243},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":3245,"title":3246},"\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":3248,"title":3249},"\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":3251,"title":3252},"\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":3254,"title":3255},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":3257,"title":3258},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":3260,"title":3261},"\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":3263,"title":3264},"\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":3266,"title":3267},"\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":3269,"title":3270},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":3272,"title":3273},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":3275,"title":3276},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":3278,"title":3279},"\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":3281,"title":3282},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":3284,"title":3285},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":3287,"title":3288},"\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":3290,"title":3291},"\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":3293,"title":3294},"\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":3296,"title":3297},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":3299,"title":3300},"\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":3302,"title":3303},"\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":3305,"title":3306},"\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":3308,"title":3309},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":3311,"title":3312},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":3314,"title":3315},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":3317,"title":3318},"\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":3320,"title":3321},"\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":3323,"title":3324},"\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":3326,"title":3327},"\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":3329,"title":3330},"\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":3332,"title":3333},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":3335,"title":3336},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":3338,"title":3339},"\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":3341,"title":3342},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":3344,"title":3345},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":3347,"title":3348},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":3350,"title":3351},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":3353,"title":3354},"\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":3356,"title":3357},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":3359,"title":3360},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":3362,"title":3363},"\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":3365,"title":3366},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":3368,"title":3369},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":3371,"title":3372},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":3374,"title":3375},"\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":3377,"title":3378},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":3380,"title":3381},"\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":3383,"title":3384},"\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":3386,"title":3387},"\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":3389,"title":3390},"\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":3392,"title":3393},"\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":3395,"title":3396},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":3398,"title":3399},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":3401,"title":3402},"\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":3404,"title":3405},"\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":3407,"title":3408},"\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":3410,"title":3411},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":3413,"title":3414},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":3416,"title":3417},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":3419,"title":3420},"\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":3422,"title":3423},"\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":3425,"title":3426},"\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":3428,"title":3429},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":3431,"title":3432},"\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":3434,"title":3435},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":3437,"title":3438},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":3440,"title":3441},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":3443,"title":3444},"\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":3446,"title":3447},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":3449,"title":3450},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":3452,"title":3453},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":3455,"title":3456},"\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":3458,"title":3459},"\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":3461,"title":3462},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":3464,"title":3465},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":3467,"title":3468},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":3470,"title":3471},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":3473,"title":3474},"\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":3476,"title":3477},"\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":3479,"title":3480},"\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":3482,"title":3483},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":3485,"title":3486},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":3488,"title":3489},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":3491,"title":3492},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":3494,"title":3495},"\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":3497,"title":3498},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":3500,"title":3501},"\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":3503,"title":3504},"\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":3506,"title":3507},"\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":3509,"title":3510},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":3512,"title":3513},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":3515,"title":3516},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":3518,"title":3519},"\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":3521,"title":3522},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":3524,"title":3525},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":3527,"tools":3531},{"label":3528,"plural":3529,"u":3530},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[3532],{"label":3533,"u":3534},"Eleventy","\u002Ftools\u002Feleventy\u002F",1790943192343]