[{"data":1,"prerenderedAt":2646},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site":3,"all-docs-nav":1494,"filed:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site":2635},{"id":4,"title":5,"body":6,"breadcrumb":1471,"dateModified":1481,"datePublished":1481,"description":1482,"extension":1483,"faq":1484,"meta":1489,"navigation":782,"path":1490,"seo":1491,"slug":12,"stem":1492,"type":343,"__hash__":1493},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site\u002Findex.md","Adding Pagefind to an Astro Site",{"type":7,"value":8,"toc":1452},"minimark",[9,13,17,26,31,52,56,63,157,181,185,192,256,263,406,410,429,438,445,449,456,604,615,711,715,718,1087,1090,1094,1097,1186,1268,1272,1275,1289,1295,1305,1309,1365,1369,1372,1376,1381,1384,1388,1391,1395,1398,1402,1405,1409,1448],[10,11,5],"h1",{"id":12},"adding-pagefind-to-an-astro-site",[14,15,16],"p",{},"Starlight ships Pagefind already configured, but most Astro sites are not Starlight — marketing sites, blogs, product sites with a docs section. For those, Pagefind is a post-build step and a few attributes in your layouts. Done carelessly it indexes every sidebar and footer, ranks the changelog above the guide, and loads 40 KB of JavaScript on every page. Done carefully it gives near-hosted relevance at zero running cost with no impact on page metrics.",[14,18,19,20,25],{},"This guide adds Pagefind to a 1,400-page Astro 5 site in five steps and measures the result. The wider choice between search tools is covered 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,46,49],"ul",{},[35,36,37,38,42],"li",{},"An Astro 5 site with static output (",[39,40,41],"code",{},"output: 'static'",", the default).",[35,44,45],{},"Node.js 20 or later.",[35,47,48],{},"A shared layout component that wraps page content — Pagefind's attributes go there.",[35,50,51],{},"Twenty to sixty real search queries with the page each should find, for the relevance check at the end. Pull them from support tickets or existing analytics.",[27,53,55],{"id":54},"step-1-index-after-the-build","Step 1: Index After the Build",[14,57,58,59,62],{},"Pagefind reads HTML, so it runs after ",[39,60,61],{},"astro build",":",[64,65,70],"pre",{"className":66,"code":67,"language":68,"meta":69,"style":69},"language-json shiki shiki-themes github-light github-dark","\u002F\u002F package.json\n{\n  \"scripts\": {\n    \"build\": \"astro build && pagefind --site dist\",\n    \"preview\": \"astro preview\"\n  },\n  \"devDependencies\": { \"pagefind\": \"^1.3.0\" }\n}\n","json","",[39,71,72,81,88,98,114,125,131,151],{"__ignoreMap":69},[73,74,77],"span",{"class":75,"line":76},"line",1,[73,78,80],{"class":79},"sJ8bj","\u002F\u002F package.json\n",[73,82,84],{"class":75,"line":83},2,[73,85,87],{"class":86},"sVt8B","{\n",[73,89,91,95],{"class":75,"line":90},3,[73,92,94],{"class":93},"sj4cs","  \"scripts\"",[73,96,97],{"class":86},": {\n",[73,99,101,104,107,111],{"class":75,"line":100},4,[73,102,103],{"class":93},"    \"build\"",[73,105,106],{"class":86},": ",[73,108,110],{"class":109},"sZZnC","\"astro build && pagefind --site dist\"",[73,112,113],{"class":86},",\n",[73,115,117,120,122],{"class":75,"line":116},5,[73,118,119],{"class":93},"    \"preview\"",[73,121,106],{"class":86},[73,123,124],{"class":109},"\"astro preview\"\n",[73,126,128],{"class":75,"line":127},6,[73,129,130],{"class":86},"  },\n",[73,132,134,137,140,143,145,148],{"class":75,"line":133},7,[73,135,136],{"class":93},"  \"devDependencies\"",[73,138,139],{"class":86},": { ",[73,141,142],{"class":93},"\"pagefind\"",[73,144,106],{"class":86},[73,146,147],{"class":109},"\"^1.3.0\"",[73,149,150],{"class":86}," }\n",[73,152,154],{"class":75,"line":153},8,[73,155,156],{"class":86},"}\n",[14,158,159,160,163,164,167,168,172,173,176,177,180],{},"On the 1,400-page site this added 4.9 seconds to a 38-second build. The output lands in ",[39,161,162],{},"dist\u002Fpagefind\u002F",": an entry script, the WebAssembly search engine, index chunks and page fragments. Everything is fingerprinted, so it can share the site's long-lived ",[39,165,166],{},"immutable"," cache rule from ",[21,169,171],{"href":170},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames\u002F","Cache Busting with Content-Hashed Filenames"," — except ",[39,174,175],{},"pagefind-entry.json"," and ",[39,178,179],{},"pagefind.js",", which keep stable names and need a short cache lifetime so a new deploy's index is picked up.",[27,182,184],{"id":183},"step-2-draw-the-content-boundary","Step 2: Draw the Content Boundary",[14,186,187,188,191],{},"Without guidance Pagefind indexes the whole ",[39,189,190],{},"\u003Cbody>",", including the header, navigation and footer on every page. A query for \"pricing\" then matches all 1,400 pages because \"Pricing\" is in the nav. Mark the content region in the layout:",[64,193,197],{"className":194,"code":195,"language":196,"meta":69,"style":69},"language-astro shiki shiki-themes github-light github-dark","---\n\u002F\u002F src\u002Flayouts\u002FDoc.astro\nconst { title, section, weight = 1 } = Astro.props;\n---\n\u003Cmain>\n  \u003Carticle data-pagefind-body data-pagefind-meta={`section:${section}`}>\n    \u003Ch1 data-pagefind-weight=\"7\">{title}\u003C\u002Fh1>\n    \u003Cslot \u002F>\n  \u003C\u002Farticle>\n  \u003Caside class=\"toc\" data-pagefind-ignore>...\u003C\u002Faside>\n\u003C\u002Fmain>\n","astro",[39,198,199,204,209,214,218,223,228,233,238,244,250],{"__ignoreMap":69},[73,200,201],{"class":75,"line":76},[73,202,203],{},"---\n",[73,205,206],{"class":75,"line":83},[73,207,208],{},"\u002F\u002F src\u002Flayouts\u002FDoc.astro\n",[73,210,211],{"class":75,"line":90},[73,212,213],{},"const { title, section, weight = 1 } = Astro.props;\n",[73,215,216],{"class":75,"line":100},[73,217,203],{},[73,219,220],{"class":75,"line":116},[73,221,222],{},"\u003Cmain>\n",[73,224,225],{"class":75,"line":127},[73,226,227],{},"  \u003Carticle data-pagefind-body data-pagefind-meta={`section:${section}`}>\n",[73,229,230],{"class":75,"line":133},[73,231,232],{},"    \u003Ch1 data-pagefind-weight=\"7\">{title}\u003C\u002Fh1>\n",[73,234,235],{"class":75,"line":153},[73,236,237],{},"    \u003Cslot \u002F>\n",[73,239,241],{"class":75,"line":240},9,[73,242,243],{},"  \u003C\u002Farticle>\n",[73,245,247],{"class":75,"line":246},10,[73,248,249],{},"  \u003Caside class=\"toc\" data-pagefind-ignore>...\u003C\u002Faside>\n",[73,251,253],{"class":75,"line":252},11,[73,254,255],{},"\u003C\u002Fmain>\n",[14,257,258,259,262],{},"Once any page carries ",[39,260,261],{},"data-pagefind-body",", Pagefind indexes only regions with that attribute across the whole site, so pages without it — tag archives, the 404 page — drop out of search. That is usually what you want; add the attribute to any other layout whose pages should be findable.",[264,265,266,402],"figure",{},[267,268,275,276,275,280,275,284,275,291],"svg",{"viewBox":269,"role":270,"ariaLabelledBy":271,"xmlns":274},"0 0 760 300","img",[272,273],"pfa-bound-title","pfa-bound-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[277,278,279],"title",{"id":272},"What Pagefind indexes with and without a content boundary",[281,282,283],"desc",{"id":273},"Two page wireframes. Without a boundary, the header, sidebar, article and footer are all indexed. With data-pagefind-body on the article, only the article is indexed, the heading is weighted seven times, and the table of contents is explicitly ignored.",[285,286],"rect",{"x":287,"y":287,"width":288,"height":289,"fill":290},"0","760","300","#ffffff",[292,293,295,296,295,304,295,310,295,321,295,326,295,331,295,336,295,340,295,344,295,348,295,352,295,355,295,360,295,364,295,366,295,370,295,376,295,383,295,388,295,392,295,394,295,397,275],"g",{"style":294},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[297,298,303],"text",{"x":299,"y":300,"fill":301,"style":302},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Index the answer, not the chrome",[297,305,309],{"x":306,"y":307,"fill":301,"style":308},"190","56","font-weight:700;text-anchor:middle","No boundary",[285,311],{"x":312,"y":313,"width":314,"height":315,"rx":316,"fill":317,"opacity":318,"stroke":319,"style":320},"50","68","280","30","4","#ff595e","0.2","#d83b41","stroke-width:1px",[297,322,325],{"x":306,"y":323,"fill":301,"style":324},"88","text-anchor:middle","header + nav (indexed)",[285,327],{"x":312,"y":328,"width":329,"height":330,"rx":316,"fill":317,"opacity":318,"stroke":319,"style":320},"104","70","130",[297,332,335],{"x":333,"y":334,"fill":301,"style":324},"85","172","sidebar",[285,337],{"x":338,"y":328,"width":339,"height":330,"rx":316,"fill":317,"opacity":318,"stroke":319,"style":320},"126","204",[297,341,343],{"x":342,"y":334,"fill":301,"style":324},"228","article",[285,345],{"x":312,"y":346,"width":314,"height":347,"rx":316,"fill":317,"opacity":318,"stroke":319,"style":320},"240","26",[297,349,351],{"x":306,"y":350,"fill":301,"style":324},"258","footer (indexed)",[297,353,261],{"x":354,"y":307,"fill":301,"style":308},"570",[285,356],{"x":357,"y":313,"width":314,"height":315,"rx":316,"fill":358,"stroke":359,"style":320},"430","#f8fafc","#d9e2ef",[297,361,363],{"x":354,"y":323,"fill":362,"style":324},"#556071","header + nav (skipped)",[285,365],{"x":357,"y":328,"width":329,"height":330,"rx":316,"fill":358,"stroke":359,"style":320},[297,367,369],{"x":368,"y":334,"fill":362,"style":324},"465","skipped",[285,371],{"x":372,"y":328,"width":339,"height":330,"rx":316,"fill":373,"opacity":318,"stroke":374,"style":375},"506","#8ac926","#5a8a16","stroke-width:1.5px",[285,377],{"x":378,"y":379,"width":380,"height":347,"rx":316,"fill":381,"opacity":382,"stroke":381,"style":320},"516","114","184","#6a4c93","0.18",[297,384,387],{"x":385,"y":386,"fill":301,"style":324},"608","132","h1 · weight 7",[297,389,391],{"x":385,"y":390,"fill":301,"style":324},"180","article body (indexed)",[285,393],{"x":357,"y":346,"width":314,"height":347,"rx":316,"fill":358,"stroke":359,"style":320},[297,395,396],{"x":354,"y":350,"fill":362,"style":324},"footer (skipped)",[297,398,401],{"x":299,"y":399,"fill":362,"style":400},"290","font-size:11px;text-anchor:middle","One attribute in one layout removed 41% of indexed words on this site",[403,404,405],"figcaption",{},"The boundary is the single biggest relevance improvement: it removes words that appear on every page and therefore distinguish none.",[27,407,409],{"id":408},"step-3-weight-and-filter","Step 3: Weight and Filter",[14,411,412,413,416,417,420,421,424,425,428],{},"Two more attributes do most of the ranking work. ",[39,414,415],{},"data-pagefind-weight"," multiplies the importance of words inside an element; weighting the ",[39,418,419],{},"\u003Ch1>"," by 7 and ",[39,422,423],{},"\u003Ch2>","s by 3 made a page whose title matched the query outrank a page that merely mentioned it. ",[39,426,427],{},"data-pagefind-filter"," indexes a facet the UI can filter on — section, product or version:",[64,430,432],{"className":194,"code":431,"language":196,"meta":69,"style":69},"\u003Carticle data-pagefind-body data-pagefind-filter={`section:${section}`}>\n",[39,433,434],{"__ignoreMap":69},[73,435,436],{"class":75,"line":76},[73,437,431],{},[14,439,440,441,444],{},"Changelog and release-note pages are the classic relevance problem: they mention every feature name, so they rank for everything. Give them ",[39,442,443],{},"data-pagefind-weight=\"0.3\""," on the body, or exclude them from the default filter so they appear only when the reader chooses \"Changelog\".",[27,446,448],{"id":447},"step-4-load-the-ui-only-when-needed","Step 4: Load the UI Only When Needed",[14,450,451,452,455],{},"Pagefind's default UI is convenient, but loading it in every page's ",[39,453,454],{},"\u003Chead>"," costs every visitor for a feature few use. Render the search trigger as plain HTML and import on first interaction:",[64,457,459],{"className":194,"code":458,"language":196,"meta":69,"style":69},"---\n\u002F\u002F src\u002Fcomponents\u002FSearch.astro\n---\n\u003Cbutton id=\"search-open\" type=\"button\" aria-haspopup=\"dialog\">Search \u003Ckbd>\u002F\u003C\u002Fkbd>\u003C\u002Fbutton>\n\u003Cdialog id=\"search-dialog\" aria-label=\"Search the site\">\u003Cdiv id=\"search\">\u003C\u002Fdiv>\u003C\u002Fdialog>\n\u003Cscript>\n  const dialog = document.getElementById('search-dialog') as HTMLDialogElement;\n  let loaded = false;\n  async function open() {\n    if (!loaded) {\n      const link = Object.assign(document.createElement('link'),\n        { rel: 'stylesheet', href: '\u002Fpagefind\u002Fpagefind-ui.css' });\n      document.head.append(link);\n      \u002F\u002F @ts-ignore — served from dist\u002Fpagefind at runtime\n      const { PagefindUI } = await import(\u002F* @vite-ignore *\u002F '\u002Fpagefind\u002Fpagefind-ui.js');\n      new PagefindUI({ element: '#search', showSubResults: true, resetStyles: false });\n      loaded = true;\n    }\n    dialog.showModal();\n    dialog.querySelector('input')?.focus();\n  }\n  document.getElementById('search-open')!.addEventListener('click', open);\n  addEventListener('keydown', (e) => {\n    if (e.key === '\u002F' && !(e.target as HTMLElement).closest('input,textarea')) { e.preventDefault(); open(); }\n  });\n\u003C\u002Fscript>\n",[39,460,461,465,470,474,479,484,489,494,499,504,509,514,520,526,532,538,544,550,556,562,568,574,580,586,592,598],{"__ignoreMap":69},[73,462,463],{"class":75,"line":76},[73,464,203],{},[73,466,467],{"class":75,"line":83},[73,468,469],{},"\u002F\u002F src\u002Fcomponents\u002FSearch.astro\n",[73,471,472],{"class":75,"line":90},[73,473,203],{},[73,475,476],{"class":75,"line":100},[73,477,478],{},"\u003Cbutton id=\"search-open\" type=\"button\" aria-haspopup=\"dialog\">Search \u003Ckbd>\u002F\u003C\u002Fkbd>\u003C\u002Fbutton>\n",[73,480,481],{"class":75,"line":116},[73,482,483],{},"\u003Cdialog id=\"search-dialog\" aria-label=\"Search the site\">\u003Cdiv id=\"search\">\u003C\u002Fdiv>\u003C\u002Fdialog>\n",[73,485,486],{"class":75,"line":127},[73,487,488],{},"\u003Cscript>\n",[73,490,491],{"class":75,"line":133},[73,492,493],{},"  const dialog = document.getElementById('search-dialog') as HTMLDialogElement;\n",[73,495,496],{"class":75,"line":153},[73,497,498],{},"  let loaded = false;\n",[73,500,501],{"class":75,"line":240},[73,502,503],{},"  async function open() {\n",[73,505,506],{"class":75,"line":246},[73,507,508],{},"    if (!loaded) {\n",[73,510,511],{"class":75,"line":252},[73,512,513],{},"      const link = Object.assign(document.createElement('link'),\n",[73,515,517],{"class":75,"line":516},12,[73,518,519],{},"        { rel: 'stylesheet', href: '\u002Fpagefind\u002Fpagefind-ui.css' });\n",[73,521,523],{"class":75,"line":522},13,[73,524,525],{},"      document.head.append(link);\n",[73,527,529],{"class":75,"line":528},14,[73,530,531],{},"      \u002F\u002F @ts-ignore — served from dist\u002Fpagefind at runtime\n",[73,533,535],{"class":75,"line":534},15,[73,536,537],{},"      const { PagefindUI } = await import(\u002F* @vite-ignore *\u002F '\u002Fpagefind\u002Fpagefind-ui.js');\n",[73,539,541],{"class":75,"line":540},16,[73,542,543],{},"      new PagefindUI({ element: '#search', showSubResults: true, resetStyles: false });\n",[73,545,547],{"class":75,"line":546},17,[73,548,549],{},"      loaded = true;\n",[73,551,553],{"class":75,"line":552},18,[73,554,555],{},"    }\n",[73,557,559],{"class":75,"line":558},19,[73,560,561],{},"    dialog.showModal();\n",[73,563,565],{"class":75,"line":564},20,[73,566,567],{},"    dialog.querySelector('input')?.focus();\n",[73,569,571],{"class":75,"line":570},21,[73,572,573],{},"  }\n",[73,575,577],{"class":75,"line":576},22,[73,578,579],{},"  document.getElementById('search-open')!.addEventListener('click', open);\n",[73,581,583],{"class":75,"line":582},23,[73,584,585],{},"  addEventListener('keydown', (e) => {\n",[73,587,589],{"class":75,"line":588},24,[73,590,591],{},"    if (e.key === '\u002F' && !(e.target as HTMLElement).closest('input,textarea')) { e.preventDefault(); open(); }\n",[73,593,595],{"class":75,"line":594},25,[73,596,597],{},"  });\n",[73,599,601],{"class":75,"line":600},26,[73,602,603],{},"\u003C\u002Fscript>\n",[14,605,606,607,610,611,614],{},"The ",[39,608,609],{},"\u002F* @vite-ignore *\u002F"," comment stops Vite trying to bundle a file that only exists after the Pagefind step. ",[39,612,613],{},"showSubResults: true"," lets results link to the matching heading rather than the page top.",[264,616,617,708],{},[267,618,275,623,275,626,275,629,275,632],{"viewBox":619,"role":270,"ariaLabelledBy":620,"xmlns":274},"0 0 760 270",[621,622],"pfa-lazy-title","pfa-lazy-desc",[277,624,625],{"id":621},"Eager versus lazy loading of the search UI",[281,627,628],{"id":622},"Two page-load timelines. Eager loading fetches 38 kilobytes of search JavaScript and CSS during page load and adds 90 milliseconds of blocking time before first interaction. Lazy loading fetches nothing during page load; the same files load only when the reader opens search, taking about 120 milliseconds on first open.",[285,630],{"x":287,"y":287,"width":288,"height":631,"fill":290},"270",[292,633,295,634,295,637,295,642,295,648,295,652,295,658,295,663,295,669,295,672,295,676,295,680,295,685,295,689,295,695,295,699,295,704,275],{"style":294},[297,635,636],{"x":299,"y":300,"fill":301,"style":302},"Who pays for search, and when",[297,638,641],{"x":315,"y":639,"fill":301,"style":640},"84","font-weight:700","Eager",[285,643],{"x":644,"y":645,"width":646,"height":300,"rx":316,"fill":647,"opacity":318,"stroke":647,"style":320},"120","66","260","#1982c4",[297,649,651],{"x":650,"y":333,"fill":301,"style":324},"250","page load",[285,653],{"x":346,"y":654,"width":655,"height":656,"rx":316,"fill":317,"opacity":657,"stroke":319,"style":320},"100","140","22","0.25",[297,659,662],{"x":660,"y":661,"fill":301,"style":400},"310","116","search UI 38 KB",[297,664,668],{"x":665,"y":661,"fill":666,"style":667},"400","#b32b30","font-size:11px;font-weight:700","+90 ms TBT on every page",[297,670,671],{"x":315,"y":380,"fill":301,"style":640},"Lazy",[285,673],{"x":644,"y":674,"width":675,"height":300,"rx":316,"fill":647,"opacity":318,"stroke":647,"style":320},"166","220",[297,677,651],{"x":678,"y":679,"fill":301,"style":324},"230","185",[285,681],{"x":682,"y":674,"width":683,"height":300,"rx":316,"fill":373,"opacity":684,"stroke":374,"style":320},"520","90","0.3",[297,686,688],{"x":687,"y":679,"fill":301,"style":324},"565","search UI",[75,690],{"x1":691,"y1":692,"x2":691,"y2":693,"stroke":362,"style":694},"505","156","206","stroke-width:1.5px;stroke-dasharray:4 3",[297,696,698],{"x":691,"y":697,"fill":362,"style":400},"222","reader presses \u002F",[297,700,703],{"x":701,"y":679,"fill":702,"style":667},"620","#3f6410","~120 ms, once",[297,705,707],{"x":299,"y":706,"fill":362,"style":400},"256","Lighthouse 12 mobile; 6% of sessions on this site opened search at all",[403,709,710],{},"With 6% of sessions using search, eager loading charged the other 94% for nothing.",[27,712,714],{"id":713},"step-5-check-relevance-in-ci","Step 5: Check Relevance in CI",[14,716,717],{},"Pagefind has a Node API that can build and query an index without a browser. Use it to run your query list against every build:",[64,719,723],{"className":720,"code":721,"language":722,"meta":69,"style":69},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F scripts\u002Fsearch-check.mjs\nimport * as pagefind from 'pagefind';\nimport cases from '.\u002Fsearch-cases.json' with { type: 'json' };\n\nconst { index } = await pagefind.createIndex();\nawait index.addDirectory({ path: 'dist' });\nconst { search } = await (await import('..\u002Fdist\u002Fpagefind\u002Fpagefind.js'));\nlet first = 0;\nfor (const { q, url } of cases) {\n  const r = await search(q);\n  const top = await r.results[0]?.data();\n  if (top?.url === url) first++; else console.log(`miss: \"${q}\" → ${top?.url}`);\n}\nconsole.log(`${first}\u002F${cases.length} ranked first`);\nif (first \u003C Number(process.env.SEARCH_BASELINE ?? 0) - 2) process.exit(1);\n","js",[39,724,725,730,754,778,784,814,834,866,881,909,928,952,1005,1009,1040],{"__ignoreMap":69},[73,726,727],{"class":75,"line":76},[73,728,729],{"class":79},"\u002F\u002F scripts\u002Fsearch-check.mjs\n",[73,731,732,736,739,742,745,748,751],{"class":75,"line":83},[73,733,735],{"class":734},"szBVR","import",[73,737,738],{"class":93}," *",[73,740,741],{"class":734}," as",[73,743,744],{"class":86}," pagefind ",[73,746,747],{"class":734},"from",[73,749,750],{"class":109}," 'pagefind'",[73,752,753],{"class":86},";\n",[73,755,756,758,761,763,766,769,772,775],{"class":75,"line":90},[73,757,735],{"class":734},[73,759,760],{"class":86}," cases ",[73,762,747],{"class":734},[73,764,765],{"class":109}," '.\u002Fsearch-cases.json'",[73,767,768],{"class":734}," with",[73,770,771],{"class":86}," { type: ",[73,773,774],{"class":109},"'json'",[73,776,777],{"class":86}," };\n",[73,779,780],{"class":75,"line":100},[73,781,783],{"emptyLinePlaceholder":782},true,"\n",[73,785,786,789,792,795,798,801,804,807,811],{"class":75,"line":116},[73,787,788],{"class":734},"const",[73,790,791],{"class":86}," { ",[73,793,794],{"class":93},"index",[73,796,797],{"class":86}," } ",[73,799,800],{"class":734},"=",[73,802,803],{"class":734}," await",[73,805,806],{"class":86}," pagefind.",[73,808,810],{"class":809},"sScJk","createIndex",[73,812,813],{"class":86},"();\n",[73,815,816,819,822,825,828,831],{"class":75,"line":127},[73,817,818],{"class":734},"await",[73,820,821],{"class":86}," index.",[73,823,824],{"class":809},"addDirectory",[73,826,827],{"class":86},"({ path: ",[73,829,830],{"class":109},"'dist'",[73,832,833],{"class":86}," });\n",[73,835,836,838,840,843,845,847,849,852,854,857,860,863],{"class":75,"line":133},[73,837,788],{"class":734},[73,839,791],{"class":86},[73,841,842],{"class":93},"search",[73,844,797],{"class":86},[73,846,800],{"class":734},[73,848,803],{"class":734},[73,850,851],{"class":86}," (",[73,853,818],{"class":734},[73,855,856],{"class":734}," import",[73,858,859],{"class":86},"(",[73,861,862],{"class":109},"'..\u002Fdist\u002Fpagefind\u002Fpagefind.js'",[73,864,865],{"class":86},"));\n",[73,867,868,871,874,876,879],{"class":75,"line":153},[73,869,870],{"class":734},"let",[73,872,873],{"class":86}," first ",[73,875,800],{"class":734},[73,877,878],{"class":93}," 0",[73,880,753],{"class":86},[73,882,883,886,888,890,892,895,898,901,903,906],{"class":75,"line":240},[73,884,885],{"class":734},"for",[73,887,851],{"class":86},[73,889,788],{"class":734},[73,891,791],{"class":86},[73,893,894],{"class":93},"q",[73,896,897],{"class":86},", ",[73,899,900],{"class":93},"url",[73,902,797],{"class":86},[73,904,905],{"class":734},"of",[73,907,908],{"class":86}," cases) {\n",[73,910,911,914,917,920,922,925],{"class":75,"line":246},[73,912,913],{"class":734},"  const",[73,915,916],{"class":93}," r",[73,918,919],{"class":734}," =",[73,921,803],{"class":734},[73,923,924],{"class":809}," search",[73,926,927],{"class":86},"(q);\n",[73,929,930,932,935,937,939,942,944,947,950],{"class":75,"line":252},[73,931,913],{"class":734},[73,933,934],{"class":93}," top",[73,936,919],{"class":734},[73,938,803],{"class":734},[73,940,941],{"class":86}," r.results[",[73,943,287],{"class":93},[73,945,946],{"class":86},"]?.",[73,948,949],{"class":809},"data",[73,951,813],{"class":86},[73,953,954,957,960,963,966,969,972,975,978,981,983,986,988,991,994,997,999,1002],{"class":75,"line":516},[73,955,956],{"class":734},"  if",[73,958,959],{"class":86}," (top?.url ",[73,961,962],{"class":734},"===",[73,964,965],{"class":86}," url) first",[73,967,968],{"class":734},"++",[73,970,971],{"class":86},"; ",[73,973,974],{"class":734},"else",[73,976,977],{"class":86}," console.",[73,979,980],{"class":809},"log",[73,982,859],{"class":86},[73,984,985],{"class":109},"`miss: \"${",[73,987,894],{"class":86},[73,989,990],{"class":109},"}\" → ${",[73,992,993],{"class":86},"top",[73,995,996],{"class":109},"?.",[73,998,900],{"class":86},[73,1000,1001],{"class":109},"}`",[73,1003,1004],{"class":86},");\n",[73,1006,1007],{"class":75,"line":522},[73,1008,156],{"class":86},[73,1010,1011,1014,1016,1018,1021,1024,1027,1030,1032,1035,1038],{"class":75,"line":528},[73,1012,1013],{"class":86},"console.",[73,1015,980],{"class":809},[73,1017,859],{"class":86},[73,1019,1020],{"class":109},"`${",[73,1022,1023],{"class":86},"first",[73,1025,1026],{"class":109},"}\u002F${",[73,1028,1029],{"class":86},"cases",[73,1031,25],{"class":109},[73,1033,1034],{"class":93},"length",[73,1036,1037],{"class":109},"} ranked first`",[73,1039,1004],{"class":86},[73,1041,1042,1045,1048,1051,1054,1057,1060,1063,1065,1068,1071,1074,1077,1080,1082,1085],{"class":75,"line":534},[73,1043,1044],{"class":734},"if",[73,1046,1047],{"class":86}," (first ",[73,1049,1050],{"class":734},"\u003C",[73,1052,1053],{"class":809}," Number",[73,1055,1056],{"class":86},"(process.env.",[73,1058,1059],{"class":93},"SEARCH_BASELINE",[73,1061,1062],{"class":734}," ??",[73,1064,878],{"class":93},[73,1066,1067],{"class":86},") ",[73,1069,1070],{"class":734},"-",[73,1072,1073],{"class":93}," 2",[73,1075,1076],{"class":86},") process.",[73,1078,1079],{"class":809},"exit",[73,1081,859],{"class":86},[73,1083,1084],{"class":93},"1",[73,1086,1004],{"class":86},[14,1088,1089],{},"Store the baseline in the repository and raise it when relevance improves. The check runs in about three seconds and turns \"search got worse\" from an anecdote into a failing build.",[27,1091,1093],{"id":1092},"measured-impact","Measured Impact",[14,1095,1096],{},"Before, the site used a Lunr index generated by a custom script. After, Pagefind with the boundary, weights and lazy UI:",[1098,1099,1100,1116],"table",{},[1101,1102,1103],"thead",{},[1104,1105,1106,1110,1113],"tr",{},[1107,1108,1109],"th",{},"Measure",[1107,1111,1112],{},"Lunr (before)",[1107,1114,1115],{},"Pagefind (after)",[1117,1118,1119,1131,1142,1153,1164,1175],"tbody",{},[1104,1120,1121,1125,1128],{},[1122,1123,1124],"td",{},"Index build time",[1122,1126,1127],{},"14.1 s",[1122,1129,1130],{},"4.9 s",[1104,1132,1133,1136,1139],{},[1122,1134,1135],{},"First-query download (gzip)",[1122,1137,1138],{},"1.2 MB",[1122,1140,1141],{},"88 KB",[1104,1143,1144,1147,1150],{},[1122,1145,1146],{},"Time to first result, Moto G Power, fast 4G",[1122,1148,1149],{},"2.7 s",[1122,1151,1152],{},"0.4 s",[1104,1154,1155,1158,1161],{},[1122,1156,1157],{},"Queries ranked first (of 48)",[1122,1159,1160],{},"33",[1122,1162,1163],{},"41",[1104,1165,1166,1169,1172],{},[1122,1167,1168],{},"JavaScript on pages without search open",[1122,1170,1171],{},"21 KB",[1122,1173,1174],{},"0 KB",[1104,1176,1177,1180,1183],{},[1122,1178,1179],{},"Lighthouse Performance, docs template",[1122,1181,1182],{},"93",[1122,1184,1185],{},"99",[264,1187,1188,1265],{},[267,1189,275,1194,275,1197,275,1200,275,1202],{"viewBox":1190,"role":270,"ariaLabelledBy":1191,"xmlns":274},"0 0 760 250",[1192,1193],"pfa-ttr-title","pfa-ttr-desc",[277,1195,1196],{"id":1192},"Time to first search result on a mid-range phone",[281,1198,1199],{"id":1193},"Two stacked bars. With Lunr, the reader waited 2.7 seconds: 2.3 seconds downloading and parsing a 1.2 megabyte index and 0.4 seconds loading the library. With Pagefind, the reader waited 0.4 seconds: 0.25 seconds loading the library and WebAssembly and 0.15 seconds fetching 88 kilobytes of fragments.",[285,1201],{"x":287,"y":287,"width":288,"height":650,"fill":290},[292,1203,295,1204,295,1207,295,1210,295,1214,295,1218,295,1222,295,1225,295,1229,295,1232,295,1236,295,1239,295,1243,295,1248,295,1250,295,1254,295,1257,295,1261,275],{"style":294},[297,1205,1206],{"x":299,"y":300,"fill":301,"style":302},"From opening search to the first result",[297,1208,1209],{"x":315,"y":639,"fill":301,"style":640},"Lunr",[285,1211],{"x":644,"y":645,"width":1212,"height":315,"fill":647,"opacity":1213,"stroke":647,"style":320},"80","0.22",[285,1215],{"x":1216,"y":645,"width":1217,"height":315,"fill":317,"opacity":657,"stroke":319,"style":320},"200","460",[297,1219,1221],{"x":357,"y":1220,"fill":301,"style":324},"86","download + parse 1.2 MB index",[297,1223,1149],{"x":1224,"y":1220,"fill":666,"style":640},"670",[297,1226,1228],{"x":315,"y":1227,"fill":301,"style":640},"154","Pagefind",[285,1230],{"x":644,"y":1231,"width":312,"height":315,"fill":647,"opacity":1213,"stroke":647,"style":320},"136",[285,1233],{"x":1234,"y":1231,"width":315,"height":315,"fill":373,"opacity":1235,"stroke":374,"style":320},"170","0.35",[297,1237,1152],{"x":1238,"y":692,"fill":702,"style":640},"210",[285,1240],{"x":644,"y":1241,"width":1242,"height":1242,"fill":647,"opacity":1213,"stroke":647,"style":320},"196","12",[297,1244,1247],{"x":1245,"y":693,"fill":362,"style":1246},"138","font-size:11px","library + WebAssembly",[285,1249],{"x":289,"y":1241,"width":1242,"height":1242,"fill":373,"opacity":1235,"stroke":374,"style":320},[297,1251,1253],{"x":1252,"y":693,"fill":362,"style":1246},"318","88 KB of fragments",[285,1255],{"x":1256,"y":1241,"width":1242,"height":1242,"fill":317,"opacity":657,"stroke":319,"style":320},"450",[297,1258,1260],{"x":1259,"y":693,"fill":362,"style":1246},"468","monolithic index",[297,1262,1264],{"x":299,"y":1263,"fill":362,"style":400},"238","Chrome DevTools, Moto G Power profile, fast 4G, cache disabled, median of 5",[403,1266,1267],{},"The whole difference is the index download: Pagefind fetches what the query needs, Lunr fetches everything first.",[27,1269,1271],{"id":1270},"tuning-what-results-show","Tuning What Results Show",[14,1273,1274],{},"Relevance decides which page comes first; presentation decides whether the reader recognises it. Three small changes made the biggest difference on this site.",[14,1276,1277,1278,1280,1281,1284,1285,1288],{},"First, populate result metadata deliberately. By default Pagefind uses the first ",[39,1279,419],{}," as the title and generates an excerpt around the match. Adding ",[39,1282,1283],{},"data-pagefind-meta=\"section:Guides\""," to the article and rendering it above the title in the result list lets readers tell apart the five pages titled \"Configuration\". Pagefind also picks up an image for each result if you mark one with ",[39,1286,1287],{},"data-pagefind-meta=\"image[src]\"","; for documentation this is usually noise, and leaving it out keeps the result list compact.",[14,1290,1291,1292,1294],{},"Second, keep sub-results on. With ",[39,1293,613],{},", a long reference page contributes up to three heading-level matches, each linking to its anchor. In a two-week comparison, clicks on sub-results made up 34% of all result clicks, and those sessions had the lowest rate of a second search, which is the best proxy for \"found it\" that client-side analytics can give.",[14,1296,1297,1298,1301,1302,1304],{},"Third, set a sensible filter default. Once ",[39,1299,1300],{},"section"," is a filter, the UI shows it as a facet list. Pre-selecting nothing is correct for most sites, but for a product with separate user and admin docs, defaulting to the section the reader is currently browsing — read from the page's own ",[39,1303,427],{}," value — halves the number of irrelevant results without hiding anything, because the reader can clear the filter with one click.",[27,1306,1308],{"id":1307},"pitfalls-rollback","Pitfalls & Rollback",[32,1310,1311,1321,1332,1346,1359],{},[35,1312,1313,1317,1318,1320],{},[1314,1315,1316],"strong",{},"No boundary."," Everything in the nav matches every query. Add ",[39,1319,261],{}," before judging relevance.",[35,1322,1323,1326,1327,176,1329,1331],{},[1314,1324,1325],{},"Long-cached entry file."," Cache ",[39,1328,179],{},[39,1330,175],{}," for minutes, not a year, or readers query yesterday's index after a deploy.",[35,1333,1334,1337,1338,1341,1342,1345],{},[1314,1335,1336],{},"Missing CSP allowance."," Pagefind compiles WebAssembly; a strict CSP needs ",[39,1339,1340],{},"'wasm-unsafe-eval'"," in ",[39,1343,1344],{},"script-src"," or search fails silently.",[35,1347,1348,1351,1352,1355,1356,25],{},[1314,1349,1350],{},"Searching in dev."," The index only exists after a build; test with ",[39,1353,1354],{},"astro preview",", not ",[39,1357,1358],{},"astro dev",[35,1360,1361,1364],{},[1314,1362,1363],{},"Rollback:"," Pagefind is one build script suffix, one layout attribute set and one component. Removing the component hides search; removing the script suffix stops indexing. Content is untouched.",[27,1366,1368],{"id":1367},"conclusion","Conclusion",[14,1370,1371],{},"Pagefind turns search on an Astro site into a build step and three attributes. The boundary removes navigation noise, weights make titles count, lazy loading keeps the cost off every page view, and a CI query check keeps relevance from regressing. On this site that meant a first result in 0.4 seconds instead of 2.7, eight more queries answered correctly out of 48, and zero bytes of search code for the 94% of visitors who never search.",[27,1373,1375],{"id":1374},"faq","FAQ",[1377,1378,1380],"h3",{"id":1379},"does-pagefind-work-in-astro-dev","Does Pagefind work in astro dev?",[14,1382,1383],{},"Not directly, because it indexes the built HTML. Run a production build once, copy the pagefind folder into public for development, or use an integration that serves a prebuilt index during dev. Search is usually tested against astro preview instead.",[1377,1385,1387],{"id":1386},"how-big-does-the-pagefind-index-get","How big does the Pagefind index get?",[14,1389,1390],{},"The whole index on disk is roughly a quarter to a third of the site's text size, but a reader only downloads the fragments a query touches. On a 1,400-page Astro site the index folder was 11 MB and the first query downloaded 88 KB.",[1377,1392,1394],{"id":1393},"how-do-i-stop-the-sidebar-from-being-indexed","How do I stop the sidebar from being indexed?",[14,1396,1397],{},"Add data-pagefind-body to the element that wraps your main content. Once any page uses that attribute, Pagefind indexes only content inside it on every page, and ignores headers, sidebars and footers.",[1377,1399,1401],{"id":1400},"can-i-show-results-in-my-own-design-instead-of-pagefind-ui","Can I show results in my own design instead of Pagefind UI?",[14,1403,1404],{},"Yes. Import pagefind.js directly and call search, then render the returned data yourself. The default UI is optional and costs about 30 KB of extra JavaScript and CSS.",[27,1406,1408],{"id":1407},"related","Related",[32,1410,1411,1420,1427,1434,1441],{},[35,1412,1413,1416,1417,1419],{},[1314,1414,1415],{},"Parent:"," ",[21,1418,24],{"href":23}," — choosing between build-time and hosted search.",[35,1421,1422,1426],{},[21,1423,1425],{"href":1424},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch\u002F","Pagefind vs Algolia DocSearch"," — when the hosted option is worth it.",[35,1428,1429,1433],{},[21,1430,1432],{"href":1431},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind\u002F","Indexing Hugo Sites with Pagefind"," — the same tool on a Go generator.",[35,1435,1436,1440],{},[21,1437,1439],{"href":1438},"\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"," — why the fragment model matters at scale.",[35,1442,1443,1447],{},[21,1444,1446],{"href":1445},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro\u002F","Prefetching Links in Astro"," — making the click after a search result instant.",[1449,1450,1451],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}",{"title":69,"searchDepth":83,"depth":83,"links":1453},[1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1470],{"id":29,"depth":83,"text":30},{"id":54,"depth":83,"text":55},{"id":183,"depth":83,"text":184},{"id":408,"depth":83,"text":409},{"id":447,"depth":83,"text":448},{"id":713,"depth":83,"text":714},{"id":1092,"depth":83,"text":1093},{"id":1270,"depth":83,"text":1271},{"id":1307,"depth":83,"text":1308},{"id":1367,"depth":83,"text":1368},{"id":1374,"depth":83,"text":1375,"children":1465},[1466,1467,1468,1469],{"id":1379,"depth":90,"text":1380},{"id":1386,"depth":90,"text":1387},{"id":1393,"depth":90,"text":1394},{"id":1400,"depth":90,"text":1401},{"id":1407,"depth":83,"text":1408},[1472,1475,1478,1479],{"name":1473,"item":1474},"Home","\u002F",{"name":1476,"item":1477},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":24,"item":23},{"name":5,"item":1480},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site\u002F","2026-09-18","Add Pagefind search to a plain Astro site: post-build indexing, content boundaries, heading weights, a lazy-loaded UI and a CI relevance check.","md",[1485,1486,1487,1488],{"q":1380,"a":1383},{"q":1387,"a":1390},{"q":1394,"a":1397},{"q":1401,"a":1404},{},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site",{"title":5,"description":1482},"choosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site\u002Findex","i2_QHId8svZVeirZk7Px-pVsB-A9U-eAd6II27bgLiQ",[1495,1498,1501,1504,1507,1510,1513,1516,1519,1522,1525,1528,1531,1534,1537,1540,1543,1546,1549,1552,1555,1558,1561,1564,1567,1570,1573,1576,1579,1582,1585,1588,1591,1594,1597,1600,1603,1606,1609,1612,1615,1618,1621,1624,1627,1630,1633,1636,1639,1642,1645,1648,1651,1654,1656,1659,1662,1665,1668,1671,1674,1677,1680,1683,1686,1689,1692,1695,1698,1701,1704,1707,1710,1713,1716,1719,1722,1725,1728,1731,1734,1737,1740,1743,1746,1749,1752,1755,1758,1761,1764,1767,1770,1773,1776,1779,1782,1785,1788,1791,1794,1795,1798,1801,1804,1806,1808,1811,1813,1816,1818,1821,1824,1827,1830,1833,1836,1839,1842,1845,1848,1851,1854,1857,1860,1863,1866,1869,1872,1875,1878,1881,1884,1887,1889,1892,1895,1898,1901,1904,1907,1910,1913,1916,1919,1922,1925,1928,1931,1934,1937,1940,1943,1946,1949,1952,1955,1958,1961,1964,1967,1970,1973,1976,1979,1982,1985,1988,1991,1994,1997,2000,2003,2006,2009,2012,2015,2018,2021,2024,2027,2030,2033,2036,2039,2042,2045,2048,2051,2054,2057,2060,2063,2066,2069,2072,2075,2078,2081,2084,2087,2090,2093,2096,2099,2102,2105,2108,2111,2114,2117,2120,2123,2126,2129,2132,2135,2138,2141,2144,2147,2150,2153,2156,2159,2162,2165,2168,2171,2174,2177,2180,2183,2186,2189,2191,2194,2197,2200,2203,2206,2209,2212,2215,2218,2221,2224,2227,2230,2233,2236,2239,2242,2245,2248,2251,2254,2257,2260,2263,2266,2269,2272,2275,2278,2281,2284,2287,2290,2293,2296,2299,2302,2305,2308,2311,2314,2317,2320,2323,2326,2329,2332,2335,2338,2341,2344,2347,2350,2353,2356,2359,2362,2365,2368,2371,2374,2377,2380,2383,2386,2389,2392,2395,2398,2401,2404,2407,2410,2413,2416,2419,2422,2425,2428,2431,2434,2437,2440,2443,2446,2449,2452,2455,2458,2461,2464,2467,2470,2473,2476,2479,2482,2485,2488,2491,2494,2497,2500,2503,2506,2509,2512,2515,2518,2521,2524,2527,2530,2533,2536,2539,2542,2545,2548,2551,2554,2557,2560,2563,2566,2569,2572,2575,2578,2581,2584,2587,2590,2593,2596,2599,2602,2605,2608,2611,2614,2617,2620,2623,2626,2629,2632],{"path":1496,"title":1497},"\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":1499,"title":1500},"\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":1502,"title":1503},"\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":1505,"title":1506},"\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":1508,"title":1509},"\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":1511,"title":1512},"\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":1514,"title":1515},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1517,"title":1518},"\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":1520,"title":1521},"\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":1523,"title":1524},"\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":1526,"title":1527},"\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":1529,"title":1530},"\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":1532,"title":1533},"\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":1535,"title":1536},"\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":1538,"title":1539},"\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":1541,"title":1542},"\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":1544,"title":1545},"\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":1547,"title":1548},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1550,"title":1551},"\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":1553,"title":1554},"\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":1556,"title":1557},"\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":1559,"title":1560},"\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":1562,"title":1563},"\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":1565,"title":1566},"\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":1568,"title":1569},"\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":1571,"title":1572},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1574,"title":1575},"\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":1577,"title":1578},"\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":1580,"title":1581},"\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":1583,"title":1584},"\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":1586,"title":1587},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1589,"title":1590},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1592,"title":1593},"\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":1595,"title":1596},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1598,"title":1599},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1601,"title":1602},"\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":1604,"title":1605},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1607,"title":1608},"\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":1610,"title":1611},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1613,"title":1614},"\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":1616,"title":1617},"\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":1619,"title":1620},"\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":1622,"title":1623},"\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":1625,"title":1626},"\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":1628,"title":1629},"\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":1631,"title":1632},"\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":1634,"title":1635},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1637,"title":1638},"\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":1640,"title":1641},"\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":1643,"title":1644},"\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":1646,"title":1647},"\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":1649,"title":1650},"\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":1652,"title":1653},"\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":1655,"title":1476},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":1657,"title":1658},"\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":1660,"title":1661},"\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":1663,"title":1664},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":1666,"title":1667},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":1669,"title":1670},"\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":1672,"title":1673},"\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":1675,"title":1676},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":1678,"title":1679},"\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":1681,"title":1682},"\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":1684,"title":1685},"\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":1687,"title":1688},"\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":1690,"title":1691},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1693,"title":1694},"\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":1696,"title":1697},"\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":1699,"title":1700},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1702,"title":1703},"\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":1705,"title":1706},"\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":1708,"title":1709},"\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":1711,"title":1712},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1714,"title":1715},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1717,"title":1718},"\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":1720,"title":1721},"\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":1723,"title":1724},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1726,"title":1727},"\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":1729,"title":1730},"\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":1732,"title":1733},"\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":1735,"title":1736},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":1738,"title":1739},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1741,"title":1742},"\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":1744,"title":1745},"\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":1747,"title":1748},"\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":1750,"title":1751},"\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":1753,"title":1754},"\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":1756,"title":1757},"\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":1759,"title":1760},"\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":1762,"title":1763},"\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":1765,"title":1766},"\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":1768,"title":1769},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1771,"title":1772},"\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":1774,"title":1775},"\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":1777,"title":1778},"\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":1780,"title":1781},"\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":1783,"title":1784},"\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":1786,"title":1787},"\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":1789,"title":1790},"\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":1792,"title":1793},"\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":1490,"title":5},{"path":1796,"title":1797},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy","Building a Lunr Index at Build Time in Eleventy",{"path":1799,"title":1800},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":1802,"title":1803},"\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":1805,"title":24},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites",{"path":1807,"title":1432},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind",{"path":1809,"title":1810},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1812,"title":1425},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch",{"path":1814,"title":1815},"\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":1817,"title":1439},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs",{"path":1819,"title":1820},"\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":1822,"title":1823},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":1825,"title":1826},"\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":1828,"title":1829},"\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":1831,"title":1832},"\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":1834,"title":1835},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1837,"title":1838},"\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":1840,"title":1841},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1843,"title":1844},"\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":1846,"title":1847},"\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":1849,"title":1850},"\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":1852,"title":1853},"\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":1855,"title":1856},"\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":1858,"title":1859},"\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":1861,"title":1862},"\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":1864,"title":1865},"\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":1867,"title":1868},"\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":1870,"title":1871},"\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":1873,"title":1874},"\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":1876,"title":1877},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":1879,"title":1880},"\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":1882,"title":1883},"\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":1885,"title":1886},"\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":1888,"title":171},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames",{"path":1890,"title":1891},"\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":1893,"title":1894},"\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":1896,"title":1897},"\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":1899,"title":1900},"\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":1902,"title":1903},"\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":1905,"title":1906},"\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":1908,"title":1909},"\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":1911,"title":1912},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1914,"title":1915},"\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":1917,"title":1918},"\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":1920,"title":1921},"\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":1923,"title":1924},"\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":1926,"title":1927},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":1929,"title":1930},"\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":1932,"title":1933},"\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":1935,"title":1936},"\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":1938,"title":1939},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":1941,"title":1942},"\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":1944,"title":1945},"\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":1947,"title":1948},"\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":1950,"title":1951},"\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":1953,"title":1954},"\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":1956,"title":1957},"\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":1959,"title":1960},"\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":1962,"title":1963},"\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":1965,"title":1966},"\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":1968,"title":1969},"\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":1971,"title":1972},"\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":1974,"title":1975},"\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":1977,"title":1978},"\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":1980,"title":1981},"\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":1983,"title":1984},"\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":1986,"title":1987},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1989,"title":1990},"\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":1992,"title":1993},"\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":1995,"title":1996},"\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":1998,"title":1999},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2001,"title":2002},"\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":2004,"title":2005},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2007,"title":2008},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2010,"title":2011},"\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":2013,"title":2014},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2016,"title":2017},"\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":2019,"title":2020},"\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":2022,"title":2023},"\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":2025,"title":2026},"\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":2028,"title":2029},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2031,"title":2032},"\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":2034,"title":2035},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2037,"title":2038},"\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":2040,"title":2041},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2043,"title":2044},"\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":2046,"title":2047},"\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":2049,"title":2050},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2052,"title":2053},"\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":2055,"title":2056},"\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":2058,"title":2059},"\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":2061,"title":2062},"\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":2064,"title":2065},"\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":2067,"title":2068},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2070,"title":2071},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2073,"title":2074},"\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":2076,"title":2077},"\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":2079,"title":2080},"\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":2082,"title":2083},"\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":2085,"title":2086},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds","How to Reduce Bundle Size in Eleventy Builds",{"path":2088,"title":2089},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2091,"title":2092},"\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":2094,"title":2095},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2097,"title":2098},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2100,"title":2101},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2103,"title":2104},"\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":2106,"title":2107},"\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":2109,"title":2110},"\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":2112,"title":2113},"\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":2115,"title":2116},"\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":2118,"title":2119},"\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":2121,"title":2122},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2124,"title":2125},"\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":2127,"title":2128},"\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":2130,"title":2131},"\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":2133,"title":2134},"\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":2136,"title":2137},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2139,"title":2140},"\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":2142,"title":2143},"\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":2145,"title":2146},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2148,"title":2149},"\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":2151,"title":2152},"\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":2154,"title":2155},"\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":2157,"title":2158},"\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":2160,"title":2161},"\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":2163,"title":2164},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2166,"title":2167},"\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":2169,"title":2170},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2172,"title":2173},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2175,"title":2176},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2178,"title":2179},"\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":2181,"title":2182},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2184,"title":2185},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2187,"title":2188},"\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":2190,"title":1446},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro",{"path":2192,"title":2193},"\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":2195,"title":2196},"\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":2198,"title":2199},"\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":2201,"title":2202},"\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":2204,"title":2205},"\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":2207,"title":2208},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2210,"title":2211},"\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":2213,"title":2214},"\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":2216,"title":2217},"\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":2219,"title":2220},"\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":2222,"title":2223},"\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":2225,"title":2226},"\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":2228,"title":2229},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2231,"title":2232},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2234,"title":2235},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2237,"title":2238},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2240,"title":2241},"\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":2243,"title":2244},"\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":2246,"title":2247},"\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":2249,"title":2250},"\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":2252,"title":2253},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2255,"title":2256},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2258,"title":2259},"\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":2261,"title":2262},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2264,"title":2265},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2267,"title":2268},"\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":2270,"title":2271},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2273,"title":2274},"\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":2276,"title":2277},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2279,"title":2280},"\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":2282,"title":2283},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2285,"title":2286},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2288,"title":2289},"\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":2291,"title":2292},"\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":2294,"title":2295},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2297,"title":2298},"\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":2300,"title":2301},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2303,"title":2304},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2306,"title":2307},"\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":2309,"title":2310},"\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":2312,"title":2313},"\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":2315,"title":2316},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2318,"title":2319},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2321,"title":2322},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2324,"title":2325},"\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":2327,"title":2328},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2330,"title":2331},"\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":2333,"title":2334},"\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":2336,"title":2337},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2339,"title":2340},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2342,"title":2343},"\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":2345,"title":2346},"\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":2348,"title":2349},"\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":2351,"title":2352},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2354,"title":2355},"\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":2357,"title":2358},"\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":2360,"title":2361},"\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":2363,"title":2364},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2366,"title":2367},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2369,"title":2370},"\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":2372,"title":2373},"\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":2375,"title":2376},"\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":2378,"title":2379},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2381,"title":2382},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2384,"title":2385},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2387,"title":2388},"\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":2390,"title":2391},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2393,"title":2394},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2396,"title":2397},"\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":2399,"title":2400},"\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":2402,"title":2403},"\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":2405,"title":2406},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2408,"title":2409},"\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":2411,"title":2412},"\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":2414,"title":2415},"\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":2417,"title":2418},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2420,"title":2421},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2423,"title":2424},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2426,"title":2427},"\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":2429,"title":2430},"\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":2432,"title":2433},"\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":2435,"title":2436},"\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":2438,"title":2439},"\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":2441,"title":2442},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2444,"title":2445},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2447,"title":2448},"\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":2450,"title":2451},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2453,"title":2454},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2456,"title":2457},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2459,"title":2460},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2462,"title":2463},"\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":2465,"title":2466},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2468,"title":2469},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2471,"title":2472},"\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":2474,"title":2475},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2477,"title":2478},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2480,"title":2481},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2483,"title":2484},"\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":2486,"title":2487},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2489,"title":2490},"\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":2492,"title":2493},"\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":2495,"title":2496},"\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":2498,"title":2499},"\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":2501,"title":2502},"\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":2504,"title":2505},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2507,"title":2508},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2510,"title":2511},"\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":2513,"title":2514},"\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":2516,"title":2517},"\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":2519,"title":2520},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2522,"title":2523},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2525,"title":2526},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2528,"title":2529},"\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":2531,"title":2532},"\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":2534,"title":2535},"\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":2537,"title":2538},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2540,"title":2541},"\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":2543,"title":2544},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2546,"title":2547},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2549,"title":2550},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2552,"title":2553},"\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":2555,"title":2556},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2558,"title":2559},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2561,"title":2562},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2564,"title":2565},"\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":2567,"title":2568},"\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":2570,"title":2571},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2573,"title":2574},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2576,"title":2577},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2579,"title":2580},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2582,"title":2583},"\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":2585,"title":2586},"\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":2588,"title":2589},"\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":2591,"title":2592},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2594,"title":2595},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2597,"title":2598},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2600,"title":2601},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2603,"title":2604},"\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":2606,"title":2607},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2609,"title":2610},"\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":2612,"title":2613},"\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":2615,"title":2616},"\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":2618,"title":2619},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2621,"title":2622},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2624,"title":2625},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2627,"title":2628},"\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":2630,"title":2631},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2633,"title":2634},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2636,"tools":2640},{"label":2637,"plural":2638,"u":2639},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[2641,2644],{"label":2642,"u":2643},"Astro","\u002Ftools\u002Fastro\u002F",{"label":1228,"u":2645},"\u002Ftools\u002Fpagefind\u002F",1790943194142]