[{"data":1,"prerenderedAt":1714},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind":3,"all-docs-nav":1173},{"id":4,"title":5,"body":6,"breadcrumb":1148,"dateModified":1158,"datePublished":1158,"description":1159,"extension":1160,"faq":1161,"meta":1166,"navigation":1167,"path":1168,"seo":1169,"slug":12,"stem":1170,"type":1171,"__hash__":1172},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind\u002Findex.md","Indexing Hugo Sites with Pagefind",{"type":7,"value":8,"toc":1128},"minimark",[9,13,17,31,36,58,62,85,114,118,121,203,210,380,384,387,481,496,500,532,536,544,618,624,730,734,749,753,756,844,943,946,950,972,976,1042,1046,1052,1056,1061,1064,1068,1071,1075,1078,1082,1085,1089,1124],[10,11,5],"h1",{"id":12},"indexing-hugo-sites-with-pagefind",[14,15,16],"p",{},"Hugo is the fastest mainstream static site generator and ships almost everything a large site needs — except search. For years the options were a hand-built JSON index rendered by a template and queried with Fuse.js or Lunr, or a hosted service. Pagefind changes that: it indexes the HTML Hugo already wrote, produces a fragmented index that stays small at any size, and needs no Hugo-side code at all.",[14,18,19,20,25,26,30],{},"This guide adds Pagefind to a 12,000-page Hugo documentation and blog site, turns Hugo taxonomies into search filters, handles multilingual output and measures the build-time and reader-side cost. The broader choice of search tools is in ",[21,22,24],"a",{"href":23},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002F","Search for Static Sites","; Hugo's own build performance is covered in ",[21,27,29],{"href":28},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002F","Hugo Build Times for Large Repositories",".",[32,33,35],"h2",{"id":34},"prerequisites","Prerequisites",[37,38,39,43,46],"ul",{},[40,41,42],"li",{},"Hugo extended 0.128 or later.",[40,44,45],{},"Node.js available in CI, or the standalone Pagefind binary if you want to avoid Node entirely.",[40,47,48,49,53,54,57],{},"Templates you can edit: ",[50,51,52],"code",{},"layouts\u002F_default\u002Fbaseof.html"," and ",[50,55,56],{},"layouts\u002F_default\u002Fsingle.html"," at minimum.",[32,59,61],{"id":60},"step-1-replace-the-json-index-template","Step 1: Replace the JSON Index Template",[14,63,64,65,68,69,72,73,76,77,80,81,84],{},"Many Hugo sites already have search via an ",[50,66,67],{},"index.json"," output format that dumps every page's content into one file. Measure it before removing it — on this site ",[50,70,71],{},"public\u002Findex.json"," was 14.2 MB uncompressed and 3.1 MB gzipped, downloaded in full before the first Fuse.js query. Remove the ",[50,74,75],{},"JSON"," output format from ",[50,78,79],{},"[outputs] home"," in ",[50,82,83],{},"hugo.toml"," and delete the template; Pagefind replaces both.",[86,87,92],"pre",{"className":88,"code":89,"language":90,"meta":91,"style":91},"language-toml shiki shiki-themes github-light github-dark","# hugo.toml — before: outputs.home = [\"HTML\", \"RSS\", \"JSON\"]\n[outputs]\n  home = [\"HTML\", \"RSS\"]\n","toml","",[50,93,94,102,108],{"__ignoreMap":91},[95,96,99],"span",{"class":97,"line":98},"line",1,[95,100,101],{},"# hugo.toml — before: outputs.home = [\"HTML\", \"RSS\", \"JSON\"]\n",[95,103,105],{"class":97,"line":104},2,[95,106,107],{},"[outputs]\n",[95,109,111],{"class":97,"line":110},3,[95,112,113],{},"  home = [\"HTML\", \"RSS\"]\n",[32,115,117],{"id":116},"step-2-mark-content-and-filters-in-templates","Step 2: Mark Content and Filters in Templates",[14,119,120],{},"Wrap the article body so Pagefind ignores the header, sidebar and footer, weight the title, and emit taxonomy terms as filters:",[86,122,126],{"className":123,"code":124,"language":125,"meta":91,"style":91},"language-go-html-template shiki shiki-themes github-light github-dark","{{\u002F* layouts\u002F_default\u002Fsingle.html *\u002F}}\n{{ define \"main\" }}\n\u003Carticle data-pagefind-body\n         data-pagefind-meta=\"section:{{ .Section | humanize }}\"\n         {{ with .Params.weight }}data-pagefind-sort=\"weight:{{ . }}\"{{ end }}>\n  \u003Ch1 data-pagefind-weight=\"7\">{{ .Title }}\u003C\u002Fh1>\n  {{ range .GetTerms \"tags\" }}\n    \u003Cspan hidden data-pagefind-filter=\"tag\">{{ .LinkTitle }}\u003C\u002Fspan>\n  {{ end }}\n  \u003Cspan hidden data-pagefind-filter=\"type\">{{ .Type | humanize }}\u003C\u002Fspan>\n  {{ .Content }}\n\u003C\u002Farticle>\n{{ end }}\n","go-html-template",[50,127,128,133,138,143,149,155,161,167,173,179,185,191,197],{"__ignoreMap":91},[95,129,130],{"class":97,"line":98},[95,131,132],{},"{{\u002F* layouts\u002F_default\u002Fsingle.html *\u002F}}\n",[95,134,135],{"class":97,"line":104},[95,136,137],{},"{{ define \"main\" }}\n",[95,139,140],{"class":97,"line":110},[95,141,142],{},"\u003Carticle data-pagefind-body\n",[95,144,146],{"class":97,"line":145},4,[95,147,148],{},"         data-pagefind-meta=\"section:{{ .Section | humanize }}\"\n",[95,150,152],{"class":97,"line":151},5,[95,153,154],{},"         {{ with .Params.weight }}data-pagefind-sort=\"weight:{{ . }}\"{{ end }}>\n",[95,156,158],{"class":97,"line":157},6,[95,159,160],{},"  \u003Ch1 data-pagefind-weight=\"7\">{{ .Title }}\u003C\u002Fh1>\n",[95,162,164],{"class":97,"line":163},7,[95,165,166],{},"  {{ range .GetTerms \"tags\" }}\n",[95,168,170],{"class":97,"line":169},8,[95,171,172],{},"    \u003Cspan hidden data-pagefind-filter=\"tag\">{{ .LinkTitle }}\u003C\u002Fspan>\n",[95,174,176],{"class":97,"line":175},9,[95,177,178],{},"  {{ end }}\n",[95,180,182],{"class":97,"line":181},10,[95,183,184],{},"  \u003Cspan hidden data-pagefind-filter=\"type\">{{ .Type | humanize }}\u003C\u002Fspan>\n",[95,186,188],{"class":97,"line":187},11,[95,189,190],{},"  {{ .Content }}\n",[95,192,194],{"class":97,"line":193},12,[95,195,196],{},"\u003C\u002Farticle>\n",[95,198,200],{"class":97,"line":199},13,[95,201,202],{},"{{ end }}\n",[14,204,205,206,209],{},"List pages, tag pages and the homepage use other templates without ",[50,207,208],{},"data-pagefind-body",", so they fall out of search automatically — which is what readers want, since a tag archive is never the answer to a query.",[211,212,213,376],"figure",{},[214,215,222,223,222,227,222,231,222,238,222,361],"svg",{"viewBox":216,"role":217,"ariaLabelledBy":218,"xmlns":221},"0 0 760 290","img",[219,220],"hpf-tpl-title","hpf-tpl-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[224,225,226],"title",{"id":219},"How Hugo templates feed Pagefind",[228,229,230],"desc",{"id":220},"Hugo renders single pages with a data-pagefind-body article, a weighted title, and hidden tag and type filter elements. List and taxonomy pages render without the attribute. Pagefind then indexes only single pages, records tag and type as filters, and the search UI shows them as facets.",[232,233],"rect",{"x":234,"y":234,"width":235,"height":236,"fill":237},"0","760","290","#ffffff",[239,240,242,243,242,251,242,261,242,267,242,273,242,277,242,281,242,287,242,291,242,297,242,303,242,308,242,312,242,320,242,325,242,329,242,334,242,337,242,341,242,357,222],"g",{"style":241},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[244,245,250],"text",{"x":246,"y":247,"fill":248,"style":249},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Templates decide what search sees",[232,252],{"x":253,"y":254,"width":255,"height":256,"rx":257,"fill":258,"opacity":259,"stroke":258,"style":260},"30","56","220","100","10","#1982c4","0.12","stroke-width:1.5px",[244,262,266],{"x":263,"y":264,"fill":248,"style":265},"140","80","font-weight:700;text-anchor:middle","single.html",[244,268,272],{"x":269,"y":270,"fill":248,"style":271},"48","104","font-size:11px","article data-pagefind-body",[244,274,276],{"x":269,"y":275,"fill":248,"style":271},"124","h1 weight 7",[244,278,280],{"x":269,"y":279,"fill":248,"style":271},"144","filter: tag, type",[232,282],{"x":253,"y":283,"width":255,"height":284,"rx":257,"fill":285,"stroke":286,"style":260},"176","70","#f8fafc","#d9e2ef",[244,288,290],{"x":263,"y":289,"fill":248,"style":265},"202","list.html, terms.html",[244,292,296],{"x":263,"y":293,"fill":294,"style":295},"224","#556071","font-size:11px;text-anchor:middle","no attribute → not indexed",[232,298],{"x":299,"y":256,"width":300,"height":284,"rx":257,"fill":301,"opacity":302,"stroke":301,"style":260},"300","170","#6a4c93","0.14",[244,304,307],{"x":305,"y":306,"fill":248,"style":265},"385","128","pagefind --site public",[244,309,311],{"x":305,"y":310,"fill":294,"style":295},"150","9,840 pages indexed",[232,313],{"x":314,"y":315,"width":316,"height":315,"rx":257,"fill":317,"opacity":318,"stroke":319,"style":260},"520","60","210","#8ac926","0.18","#5a8a16",[244,321,324],{"x":322,"y":323,"fill":248,"style":265},"625","86","index fragments",[244,326,328],{"x":322,"y":327,"fill":294,"style":295},"106","content + weights",[232,330],{"x":314,"y":310,"width":316,"height":315,"rx":257,"fill":331,"opacity":332,"stroke":333,"style":260},"#ffca3a","0.26","#a97b00",[244,335,336],{"x":322,"y":283,"fill":248,"style":265},"filter index",[244,338,340],{"x":322,"y":339,"fill":294,"style":295},"196","412 tags · 3 types",[239,342,345,346,345,351,345,354,242],{"stroke":294,"fill":343,"style":344},"none","stroke-width:2px","\n      ",[347,348],"path",{"d":349,"style":350},"M252 106 L296 126","marker-end:url(#hpf-arrow)",[347,352],{"d":353,"style":350},"M472 124 L516 96",[347,355],{"d":356,"style":350},"M472 146 L516 172",[244,358,360],{"x":246,"y":359,"fill":294,"style":295},"272","2,160 list and taxonomy pages skipped automatically: they never answer a query",[362,363,242,364,222],"defs",{},[365,366,345,373,242],"marker",{"id":367,"viewBox":368,"refX":369,"refY":370,"markerWidth":371,"markerHeight":371,"orient":372},"hpf-arrow","0 0 10 10","8","5","7","auto-start-reverse",[347,374],{"d":375,"fill":294},"M0 0 L10 5 L0 10 z",[377,378,379],"figcaption",{},"The hidden filter spans carry no visual weight but give readers tag and type facets for free.",[32,381,383],{"id":382},"step-3-add-the-search-ui-as-a-partial","Step 3: Add the Search UI as a Partial",[14,385,386],{},"Put the trigger and lazy loader in a partial so every layout gets the same behaviour:",[86,388,390],{"className":123,"code":389,"language":125,"meta":91,"style":91},"{{\u002F* layouts\u002Fpartials\u002Fsearch.html *\u002F}}\n\u003Cbutton type=\"button\" id=\"search-open\" aria-haspopup=\"dialog\">{{ i18n \"search\" | default \"Search\" }}\u003C\u002Fbutton>\n\u003Cdialog id=\"search-dialog\" aria-label=\"{{ i18n \"search\" | default \"Search\" }}\">\u003Cdiv id=\"search\">\u003C\u002Fdiv>\u003C\u002Fdialog>\n\u003Cscript type=\"module\">\n  const dlg = document.getElementById('search-dialog');\n  let ready = false;\n  document.getElementById('search-open').addEventListener('click', async () => {\n    if (!ready) {\n      document.head.insertAdjacentHTML('beforeend',\n        '\u003Clink rel=\"stylesheet\" href=\"{{ \"pagefind\u002Fpagefind-ui.css\" | relURL }}\">');\n      const { PagefindUI } = await import('{{ \"pagefind\u002Fpagefind-ui.js\" | relURL }}');\n      new PagefindUI({ element: '#search', showSubResults: true, showImages: false });\n      ready = true;\n    }\n    dlg.showModal();\n  });\n\u003C\u002Fscript>\n",[50,391,392,397,402,407,412,417,422,427,432,437,442,447,452,457,463,469,475],{"__ignoreMap":91},[95,393,394],{"class":97,"line":98},[95,395,396],{},"{{\u002F* layouts\u002Fpartials\u002Fsearch.html *\u002F}}\n",[95,398,399],{"class":97,"line":104},[95,400,401],{},"\u003Cbutton type=\"button\" id=\"search-open\" aria-haspopup=\"dialog\">{{ i18n \"search\" | default \"Search\" }}\u003C\u002Fbutton>\n",[95,403,404],{"class":97,"line":110},[95,405,406],{},"\u003Cdialog id=\"search-dialog\" aria-label=\"{{ i18n \"search\" | default \"Search\" }}\">\u003Cdiv id=\"search\">\u003C\u002Fdiv>\u003C\u002Fdialog>\n",[95,408,409],{"class":97,"line":145},[95,410,411],{},"\u003Cscript type=\"module\">\n",[95,413,414],{"class":97,"line":151},[95,415,416],{},"  const dlg = document.getElementById('search-dialog');\n",[95,418,419],{"class":97,"line":157},[95,420,421],{},"  let ready = false;\n",[95,423,424],{"class":97,"line":163},[95,425,426],{},"  document.getElementById('search-open').addEventListener('click', async () => {\n",[95,428,429],{"class":97,"line":169},[95,430,431],{},"    if (!ready) {\n",[95,433,434],{"class":97,"line":175},[95,435,436],{},"      document.head.insertAdjacentHTML('beforeend',\n",[95,438,439],{"class":97,"line":181},[95,440,441],{},"        '\u003Clink rel=\"stylesheet\" href=\"{{ \"pagefind\u002Fpagefind-ui.css\" | relURL }}\">');\n",[95,443,444],{"class":97,"line":187},[95,445,446],{},"      const { PagefindUI } = await import('{{ \"pagefind\u002Fpagefind-ui.js\" | relURL }}');\n",[95,448,449],{"class":97,"line":193},[95,450,451],{},"      new PagefindUI({ element: '#search', showSubResults: true, showImages: false });\n",[95,453,454],{"class":97,"line":199},[95,455,456],{},"      ready = true;\n",[95,458,460],{"class":97,"line":459},14,[95,461,462],{},"    }\n",[95,464,466],{"class":97,"line":465},15,[95,467,468],{},"    dlg.showModal();\n",[95,470,472],{"class":97,"line":471},16,[95,473,474],{},"  });\n",[95,476,478],{"class":97,"line":477},17,[95,479,480],{},"\u003C\u002Fscript>\n",[14,482,483,484,487,488,491,492,30],{},"Using ",[50,485,486],{},"relURL"," keeps the paths correct when the site is served under a ",[50,489,490],{},"baseURL"," subpath, such as a GitHub Pages project site — see ",[21,493,495],{"href":494},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions\u002F","Deploying to GitHub Pages with Actions",[32,497,499],{"id":498},"step-4-multilingual-output","Step 4: Multilingual Output",[14,501,502,503,506,507,510,511,513,514,517,518,521,522,53,524,527,528,30],{},"Hugo's multilingual mode writes each language under its own prefix and sets ",[50,504,505],{},"\u003Chtml lang=\"{{ site.Language.LanguageCode }}\">"," in the base template. Pagefind reads that attribute and builds a separate index per language automatically. Two Hugo-specific details matter: set ",[50,508,509],{},"languageCode"," explicitly per language in ",[50,512,83],{}," (it defaults to empty on some configurations, which produces pages with ",[50,515,516],{},"lang=\"\""," that go into an unnamed index), and use the same code form everywhere (",[50,519,520],{},"de",", not a mix of ",[50,523,520],{},[50,525,526],{},"de-de","). The full reasoning is in ",[21,529,531],{"href":530},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites\u002F","Multilingual Search on Static Sites",[32,533,535],{"id":534},"step-5-run-it-in-ci","Step 5: Run It in CI",[14,537,538,539,543],{},"Add Pagefind directly after Hugo in the build job. With the workflow from ",[21,540,542],{"href":541},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fhow-to-set-up-github-actions-for-hugo-deployments\u002F","How to Set Up GitHub Actions for Hugo Deployments",":",[86,545,549],{"className":546,"code":547,"language":548,"meta":91,"style":91},"language-yaml shiki shiki-themes github-light github-dark","- name: Build\n  run: hugo --gc --minify\n- name: Index for search\n  run: npx -y pagefind@1.3.0 --site public --output-subdir pagefind\n- name: Fail if index is empty\n  run: test \"$(ls public\u002Fpagefind\u002Ffragment | wc -l)\" -gt 1000\n","yaml",[50,550,551,568,578,589,598,609],{"__ignoreMap":91},[95,552,553,557,561,564],{"class":97,"line":98},[95,554,556],{"class":555},"sVt8B","- ",[95,558,560],{"class":559},"s9eBZ","name",[95,562,563],{"class":555},": ",[95,565,567],{"class":566},"sZZnC","Build\n",[95,569,570,573,575],{"class":97,"line":104},[95,571,572],{"class":559},"  run",[95,574,563],{"class":555},[95,576,577],{"class":566},"hugo --gc --minify\n",[95,579,580,582,584,586],{"class":97,"line":110},[95,581,556],{"class":555},[95,583,560],{"class":559},[95,585,563],{"class":555},[95,587,588],{"class":566},"Index for search\n",[95,590,591,593,595],{"class":97,"line":145},[95,592,572],{"class":559},[95,594,563],{"class":555},[95,596,597],{"class":566},"npx -y pagefind@1.3.0 --site public --output-subdir pagefind\n",[95,599,600,602,604,606],{"class":97,"line":151},[95,601,556],{"class":555},[95,603,560],{"class":559},[95,605,563],{"class":555},[95,607,608],{"class":566},"Fail if index is empty\n",[95,610,611,613,615],{"class":97,"line":157},[95,612,572],{"class":559},[95,614,563],{"class":555},[95,616,617],{"class":566},"test \"$(ls public\u002Fpagefind\u002Ffragment | wc -l)\" -gt 1000\n",[14,619,620,621,623],{},"The final step guards against the most common silent failure: a template change that drops ",[50,622,208],{},", after which Pagefind indexes nothing and the search box returns no results while the build stays green.",[211,625,626,727],{},[214,627,222,632,222,635,222,638,222,641,222,720],{"viewBox":628,"role":217,"ariaLabelledBy":629,"xmlns":221},"0 0 760 230",[630,631],"hpf-ci-title","hpf-ci-desc",[224,633,634],{"id":630},"Build job with a search guard",[228,636,637],{"id":631},"A four-step CI job: Hugo builds in 9 seconds, Pagefind indexes in 26 seconds, a guard checks that more than 1,000 fragments exist and fails the job if not, and only then does the deploy step run.",[232,639],{"x":234,"y":234,"width":235,"height":640,"fill":237},"230",[239,642,242,643,242,646,242,648,242,653,242,657,242,660,242,663,242,666,242,670,242,674,242,677,242,681,242,685,242,690,242,695,242,710,242,715,222],{"style":241},[244,644,645],{"x":246,"y":247,"fill":248,"style":249},"Index, then prove the index is not empty, then deploy",[232,647],{"x":253,"y":284,"width":310,"height":315,"rx":257,"fill":258,"opacity":302,"stroke":258,"style":260},[244,649,652],{"x":650,"y":651,"fill":248,"style":265},"105","96","hugo --minify",[244,654,656],{"x":650,"y":655,"fill":294,"style":295},"116","9 s",[232,658],{"x":659,"y":284,"width":310,"height":315,"rx":257,"fill":301,"opacity":302,"stroke":301,"style":260},"215",[244,661,662],{"x":236,"y":651,"fill":248,"style":265},"pagefind",[244,664,665],{"x":236,"y":655,"fill":294,"style":295},"26 s",[232,667],{"x":668,"y":284,"width":669,"height":315,"rx":257,"fill":331,"opacity":332,"stroke":333,"style":260},"400","160",[244,671,673],{"x":672,"y":651,"fill":248,"style":265},"480","fragments > 1,000?",[244,675,676],{"x":672,"y":655,"fill":294,"style":295},"guard, 0.1 s",[232,678],{"x":679,"y":284,"width":680,"height":315,"rx":257,"fill":317,"opacity":318,"stroke":319,"style":260},"595","135",[244,682,684],{"x":683,"y":270,"fill":248,"style":265},"662","deploy",[232,686],{"x":668,"y":669,"width":669,"height":687,"rx":369,"fill":688,"opacity":302,"stroke":689,"style":260},"40","#ff595e","#d83b41",[244,691,694],{"x":672,"y":692,"fill":693,"style":265},"185","#b32b30","fail the job",[239,696,345,697,345,701,345,704,345,707,242],{"stroke":294,"fill":343,"style":344},[347,698],{"d":699,"style":700},"M182 100 L211 100","marker-end:url(#hpf-ci-arrow)",[347,702],{"d":703,"style":700},"M367 100 L396 100",[347,705],{"d":706,"style":700},"M562 100 L591 100",[347,708],{"d":709,"style":700},"M480 132 L480 156",[244,711,714],{"x":712,"y":713,"fill":294,"style":295},"578","92","yes",[244,716,719],{"x":717,"y":718,"fill":294,"style":271},"492","148","no",[362,721,242,722,222],{},[365,723,345,725,242],{"id":724,"viewBox":368,"refX":369,"refY":370,"markerWidth":371,"markerHeight":371,"orient":372},"hpf-ci-arrow",[347,726],{"d":375,"fill":294},[377,728,729],{},"A one-line guard turns \"search silently returns nothing\" into a red build on the pull request that caused it.",[32,731,733],{"id":732},"ranking-a-mixed-docs-and-blog-site","Ranking a Mixed Docs and Blog Site",[14,735,736,737,740,741,744,745,748],{},"This site mixes reference docs with a blog, and the first week of real queries showed blog posts outranking the docs they described — a post announcing a feature naturally repeats its name more often than the reference page does. Three adjustments fixed that without hiding posts. Blog templates got ",[50,738,739],{},"data-pagefind-weight=\"0.6\""," on the article body, so a post needs a considerably stronger match to beat a guide. Reference pages gained ",[50,742,743],{},"data-pagefind-meta=\"section:Reference\""," so results show where each hit lives. And the UI's ",[50,746,747],{},"type"," filter defaults to showing both, but the result list groups by type with docs first. After the change, the share of first-result clicks landing on docs pages rose from 58% to 81% over two weeks, while clicks on posts continued at a steady rate from readers who wanted the announcement rather than the reference.",[32,750,752],{"id":751},"measured-impact","Measured Impact",[14,754,755],{},"The 12,000-page site (9,840 single pages, 2,160 list and taxonomy pages) moved from a Hugo JSON index queried with Fuse.js to Pagefind. Build times are from GitHub Actions; reader numbers are from Chrome DevTools on a Moto G Power profile over fast 4G.",[757,758,759,775],"table",{},[760,761,762],"thead",{},[763,764,765,769,772],"tr",{},[766,767,768],"th",{},"Measure",[766,770,771],{},"Hugo JSON + Fuse.js",[766,773,774],{},"Pagefind",[776,777,778,790,800,811,822,833],"tbody",{},[763,779,780,784,787],{},[781,782,783],"td",{},"Hugo build",[781,785,786],{},"11.4 s (incl. JSON output)",[781,788,789],{},"9.1 s",[763,791,792,795,798],{},[781,793,794],{},"Indexing step",[781,796,797],{},"—",[781,799,665],{},[763,801,802,805,808],{},[781,803,804],{},"Search download before first result (gzip)",[781,806,807],{},"3.1 MB",[781,809,810],{},"146 KB",[763,812,813,816,819],{},[781,814,815],{},"Time to first result",[781,817,818],{},"6.8 s",[781,820,821],{},"0.6 s",[763,823,824,827,830],{},[781,825,826],{},"Main-thread time for first query",[781,828,829],{},"1,900 ms (JSON parse + Fuse)",[781,831,832],{},"90 ms",[763,834,835,838,841],{},[781,836,837],{},"Right page first, 40 top queries",[781,839,840],{},"24",[781,842,843],{},"34",[211,845,846,940],{},[214,847,222,852,222,855,222,858,222,861],{"viewBox":848,"role":217,"ariaLabelledBy":849,"xmlns":221},"0 0 760 270",[850,851],"hpf-ttr-title","hpf-ttr-desc",[224,853,854],{"id":850},"Time to first result and build cost, before and after",[228,856,857],{"id":851},"Left: time to first result fell from 6.8 seconds with the Hugo JSON index and Fuse.js to 0.6 seconds with Pagefind. Right: total build time rose from 11.4 seconds to 35.1 seconds, of which 26 seconds is Pagefind indexing.",[232,859],{"x":234,"y":234,"width":235,"height":860,"fill":237},"270",[239,862,242,863,242,866,242,869,242,873,242,880,242,884,242,889,242,893,242,897,242,899,242,903,242,907,242,913,242,918,242,923,242,925,242,930,242,933,242,936,222],{"style":241},[244,864,865],{"x":246,"y":247,"fill":248,"style":249},"Readers gain six seconds; the build pays twenty-four",[244,867,815],{"x":868,"y":315,"fill":248,"style":265},"190",[97,870],{"x1":871,"y1":255,"x2":872,"y2":255,"stroke":294,"style":260},"50","330",[232,874],{"x":875,"y":876,"width":284,"height":877,"fill":688,"opacity":878,"stroke":689,"style":879},"90","84","136","0.28","stroke-width:1px",[244,881,818],{"x":882,"y":883,"fill":248,"style":265},"125","76",[232,885],{"x":255,"y":886,"width":284,"height":887,"fill":317,"opacity":888,"stroke":319,"style":879},"208","12","0.4",[244,890,821],{"x":891,"y":892,"fill":248,"style":265},"255","200",[244,894,896],{"x":882,"y":895,"fill":294,"style":295},"238","JSON + Fuse",[244,898,774],{"x":891,"y":895,"fill":294,"style":295},[244,900,902],{"x":901,"y":315,"fill":248,"style":265},"570","CI build time",[97,904],{"x1":905,"y1":255,"x2":906,"y2":255,"stroke":294,"style":260},"430","710",[232,908],{"x":909,"y":910,"width":284,"height":911,"fill":258,"opacity":912,"stroke":258,"style":879},"470","174","46","0.25",[244,914,917],{"x":915,"y":916,"fill":248,"style":265},"505","166","11.4 s",[232,919],{"x":920,"y":921,"width":284,"height":922,"fill":258,"opacity":912,"stroke":258,"style":879},"600","184","36",[232,924],{"x":920,"y":264,"width":284,"height":270,"fill":301,"opacity":878,"stroke":301,"style":879},[244,926,929],{"x":927,"y":928,"fill":248,"style":265},"635","72","35.1 s",[244,931,932],{"x":915,"y":895,"fill":294,"style":295},"before",[244,934,935],{"x":927,"y":895,"fill":294,"style":295},"hugo + pagefind",[244,937,939],{"x":246,"y":938,"fill":294,"style":295},"262","Moto G Power profile for readers; GitHub Actions ubuntu-latest for builds",[377,941,942],{},"The trade is lopsided in readers' favour: 24 extra seconds once per deploy against six seconds saved on every search session.",[14,944,945],{},"Relevance improved mostly from the content boundary. The Fuse.js index had included each page's full rendered text including shortcode output such as repeated admonition labels, and fuzzy matching across 3 MB of text returned many near-misses.",[32,947,949],{"id":948},"keeping-the-indexing-step-fast","Keeping the Indexing Step Fast",[14,951,952,953,955,956,959,960,963,964,967,968,971],{},"Pagefind's 26 seconds is now the slowest part of the build, so it is worth knowing where it goes. Most of it is HTML parsing across 12,000 files; pages excluded by the missing ",[50,954,208],{}," still have to be read. Three measures kept it in check. Running on a 4-vCPU runner rather than 2 cut it to 17 seconds, because Pagefind parallelises parsing. Excluding large generated directories with ",[50,957,958],{},"--exclude-selectors"," or the ",[50,961,962],{},"glob"," option (for example, a ",[50,965,966],{},"\u002Freleases\u002F"," archive with 3,000 pages nobody searches) removed another 5 seconds. And for preview deploys, where search is rarely what reviewers are testing, a ",[50,969,970],{},"PAGEFIND_SKIP=1"," environment variable can skip indexing entirely — keep it on for production and for any pull request that touches templates.",[32,973,975],{"id":974},"pitfalls-rollback","Pitfalls & Rollback",[37,977,978,987,996,1005,1019,1036],{},[40,979,980,986],{},[981,982,983,984,30],"strong",{},"A template refactor removes ",[50,985,208],{}," Search goes empty while the build passes. Keep the fragment-count check in CI.",[40,988,989,992,993,995],{},[981,990,991],{},"Hidden filters in the wrong place."," Filter spans must be inside the ",[50,994,208],{}," element, or they are ignored.",[40,997,998,1001,1002,30],{},[981,999,1000],{},"Shortcode noise."," Repeated shortcode labels such as \"Note\" or \"Warning\" in every admonition end up indexed on thousands of pages; wrap the label in ",[50,1003,1004],{},"data-pagefind-ignore",[40,1006,1007,1012,1013,1016,1017,30],{},[981,1008,1009,1010,30],{},"Absolute paths under a subpath ",[50,1011,490],{}," Hard-coded ",[50,1014,1015],{},"\u002Fpagefind\u002F"," breaks on project sites; always use ",[50,1018,486],{},[40,1020,1021,1024,1025,53,1028,1031,1032,1035],{},[981,1022,1023],{},"Long-cached entry file."," Cache ",[50,1026,1027],{},"pagefind.js",[50,1029,1030],{},"pagefind-entry.json"," briefly; the rest of ",[50,1033,1034],{},"pagefind\u002F"," is fingerprinted and can be immutable.",[40,1037,1038,1041],{},[981,1039,1040],{},"Rollback:"," restore the JSON output format and the old search partial in one commit. The Pagefind step can stay in CI harmlessly until you remove it.",[32,1043,1045],{"id":1044},"conclusion","Conclusion",[14,1047,1048,1049,1051],{},"Pagefind fills Hugo's one conspicuous gap with no Hugo code: a body attribute and a few hidden filter spans in ",[50,1050,266],{},", a lazy-loading partial and one CI step. On a 12,000-page site that replaced a 3.1 MB JSON index with a 146 KB first-query download, cut time to first result from 6.8 seconds to 0.6, and answered ten more of the top forty queries correctly — at the price of about 26 seconds per production build.",[32,1053,1055],{"id":1054},"faq","FAQ",[1057,1058,1060],"h3",{"id":1059},"does-pagefind-need-a-hugo-module-or-plugin","Does Pagefind need a Hugo module or plugin?",[14,1062,1063],{},"No. Pagefind reads the HTML Hugo writes to the public folder, so the integration is a command after hugo plus a few attributes in your templates. No Go code or Hugo module is involved.",[1057,1065,1067],{"id":1066},"how-do-hugo-taxonomies-become-search-filters","How do Hugo taxonomies become search filters?",[14,1069,1070],{},"Emit a data-pagefind-filter attribute for each term in your single-page template, for example one per tag. Pagefind indexes them as filter values that the search UI can show as facets.",[1057,1072,1074],{"id":1073},"how-long-does-pagefind-take-on-a-large-hugo-site","How long does Pagefind take on a large Hugo site?",[14,1076,1077],{},"On a 12,000-page Hugo site, Hugo built in 9 seconds and Pagefind indexed the output in 26 seconds on a GitHub Actions runner. Indexing is usually slower than Hugo itself, but still well under a minute.",[1057,1079,1081],{"id":1080},"can-i-run-pagefind-with-hugo-server","Can I run Pagefind with hugo server?",[14,1083,1084],{},"Pagefind needs built files, so run hugo and pagefind once, then serve with pagefind --serve or copy the pagefind folder into static for development. Most teams test search against the built output rather than the live-reload server.",[32,1086,1088],{"id":1087},"related","Related",[37,1090,1091,1100,1105,1112,1117],{},[40,1092,1093,1096,1097,1099],{},[981,1094,1095],{},"Parent:"," ",[21,1098,24],{"href":23}," — comparing static search tools.",[40,1101,1102,1104],{},[21,1103,29],{"href":28}," — keeping the Hugo half of the build fast.",[40,1106,1107,1111],{},[21,1108,1110],{"href":1109},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site\u002F","Adding Pagefind to an Astro Site"," — the same tool with a relevance check in CI.",[40,1113,1114,1116],{},[21,1115,531],{"href":530}," — per-language indexes in depth.",[40,1118,1119,1123],{},[21,1120,1122],{"href":1121},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-partialcached-for-faster-builds\u002F","Hugo partialCached for Faster Builds"," — trimming template time on the same site.",[1125,1126,1127],"style",{},"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 .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":91,"searchDepth":104,"depth":104,"links":1129},[1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1147],{"id":34,"depth":104,"text":35},{"id":60,"depth":104,"text":61},{"id":116,"depth":104,"text":117},{"id":382,"depth":104,"text":383},{"id":498,"depth":104,"text":499},{"id":534,"depth":104,"text":535},{"id":732,"depth":104,"text":733},{"id":751,"depth":104,"text":752},{"id":948,"depth":104,"text":949},{"id":974,"depth":104,"text":975},{"id":1044,"depth":104,"text":1045},{"id":1054,"depth":104,"text":1055,"children":1142},[1143,1144,1145,1146],{"id":1059,"depth":110,"text":1060},{"id":1066,"depth":110,"text":1067},{"id":1073,"depth":110,"text":1074},{"id":1080,"depth":110,"text":1081},{"id":1087,"depth":104,"text":1088},[1149,1152,1155,1156],{"name":1150,"item":1151},"Home","\u002F",{"name":1153,"item":1154},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":24,"item":23},{"name":5,"item":1157},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind\u002F","2026-09-18","Add fast, serverless search to a Hugo site with Pagefind: template attributes, taxonomy filters, multilingual output, CI integration and measured build cost.","md",[1162,1163,1164,1165],{"q":1060,"a":1063},{"q":1067,"a":1070},{"q":1074,"a":1077},{"q":1081,"a":1084},{},true,"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind",{"title":5,"description":1159},"choosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind\u002Findex","article","HuVT_-Pis5xRI4Z4Ygn9Ddyzz8XD_GzAXgvfIRtw1vo",[1174,1177,1180,1183,1186,1189,1192,1195,1198,1201,1204,1207,1210,1213,1216,1218,1220,1223,1226,1229,1231,1234,1237,1240,1243,1246,1249,1252,1255,1258,1261,1264,1267,1270,1273,1276,1279,1282,1285,1288,1291,1293,1296,1298,1299,1301,1304,1307,1310,1313,1316,1319,1322,1325,1328,1331,1334,1337,1340,1343,1346,1349,1352,1355,1358,1361,1364,1367,1370,1373,1376,1379,1382,1385,1388,1391,1394,1397,1400,1403,1406,1409,1412,1415,1418,1421,1424,1427,1430,1433,1436,1439,1442,1445,1448,1451,1454,1457,1460,1463,1466,1469,1472,1475,1478,1481,1484,1487,1490,1493,1496,1499,1502,1505,1508,1511,1514,1517,1520,1523,1526,1529,1532,1535,1538,1541,1544,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,1657,1660,1663,1666,1669,1672,1675,1678,1681,1684,1687,1690,1693,1696,1699,1702,1705,1708,1711],{"path":1175,"title":1176},"\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":1178,"title":1179},"\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":1181,"title":1182},"\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":1184,"title":1185},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1187,"title":1188},"\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":1190,"title":1191},"\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":1193,"title":1194},"\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":1196,"title":1197},"\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":1199,"title":1200},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1202,"title":1203},"\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":1205,"title":1206},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1208,"title":1209},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1211,"title":1212},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1214,"title":1215},"\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":1217,"title":1122},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-partialcached-for-faster-builds",{"path":1219,"title":29},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories",{"path":1221,"title":1222},"\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":1224,"title":1225},"\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":1227,"title":1228},"\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":1230,"title":1153},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":1232,"title":1233},"\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":1235,"title":1236},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1238,"title":1239},"\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":1241,"title":1242},"\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":1244,"title":1245},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1247,"title":1248},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1250,"title":1251},"\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":1253,"title":1254},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1256,"title":1257},"\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":1259,"title":1260},"\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":1262,"title":1263},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1265,"title":1266},"\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":1268,"title":1269},"\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":1271,"title":1272},"\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":1274,"title":1275},"\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":1277,"title":1278},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1280,"title":1281},"\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":1283,"title":1284},"\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":1286,"title":1287},"\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":1289,"title":1290},"\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":1292,"title":1110},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site",{"path":1294,"title":1295},"\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":1297,"title":24},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites",{"path":1168,"title":5},{"path":1300,"title":531},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites",{"path":1302,"title":1303},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1305,"title":1306},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs","Search Index Size Budgets for Large Docs",{"path":1308,"title":1309},"\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":1311,"title":1312},"\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":1314,"title":1315},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1317,"title":1318},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1320,"title":1321},"\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":1323,"title":1324},"\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":1326,"title":1327},"\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":1329,"title":1330},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames","Cache Busting with Content-Hashed Filenames",{"path":1332,"title":1333},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1335,"title":1336},"\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":1338,"title":1339},"\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":1341,"title":1342},"\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":1344,"title":1345},"\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":1347,"title":1348},"\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":1350,"title":1351},"\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":1353,"title":1354},"\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":1356,"title":1357},"\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":1359,"title":1360},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1362,"title":1363},"\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":1365,"title":1366},"\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":1368,"title":1369},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1371,"title":1372},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1374,"title":1375},"\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":1377,"title":1378},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1380,"title":1381},"\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":1383,"title":1384},"\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":1386,"title":1387},"\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":1389,"title":1390},"\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":1392,"title":1393},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1395,"title":1396},"\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":1398,"title":1399},"\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":1401,"title":1402},"\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":1404,"title":1405},"\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":1407,"title":1408},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1410,"title":1411},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1413,"title":1414},"\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":1416,"title":1417},"\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":1419,"title":1420},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1422,"title":1423},"\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":1425,"title":1426},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1428,"title":1429},"\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":1431,"title":1432},"\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":1434,"title":1435},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1437,"title":1438},"\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":1440,"title":1441},"\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":1443,"title":1444},"\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":1446,"title":1447},"\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":1449,"title":1450},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1452,"title":1453},"\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":1455,"title":1456},"\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":1458,"title":1459},"\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":1461,"title":1462},"\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":1464,"title":1465},"\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":1467,"title":1468},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1470,"title":1471},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1473,"title":1474},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1476,"title":1477},"\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":1479,"title":1480},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1482,"title":1483},"\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":1485,"title":1486},"\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":1488,"title":1489},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1491,"title":1492},"\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":1494,"title":1495},"\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":1497,"title":1498},"\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":1500,"title":1501},"\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":1503,"title":1504},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1506,"title":1507},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1509,"title":1510},"\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":1512,"title":1513},"\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":1515,"title":1516},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1518,"title":1519},"\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":1521,"title":1522},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1524,"title":1525},"\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":1527,"title":1528},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1530,"title":1531},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1533,"title":1534},"\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":1536,"title":1537},"\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":1539,"title":1540},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1542,"title":1543},"\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":1545,"title":495},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions",{"path":1547,"title":1548},"\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":1550,"title":1551},"\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":1553,"title":1554},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1556,"title":1557},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1559,"title":1560},"\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":1562,"title":1563},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1565,"title":1566},"\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":1568,"title":1569},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":1571,"title":1572},"\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":1574,"title":1575},"\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":1577,"title":1578},"\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":1580,"title":1581},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1583,"title":1584},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1586,"title":1587},"\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":1589,"title":1590},"\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":1592,"title":1593},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1595,"title":1596},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1598,"title":1599},"\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":1601,"title":1602},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1604,"title":1605},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1607,"title":1608},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1610,"title":1611},"\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":1613,"title":1614},"\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":1616,"title":1617},"\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":1619,"title":1620},"\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":1622,"title":1623},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1625,"title":1626},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1628,"title":1629},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1631,"title":1632},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1634,"title":1635},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1637,"title":1638},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1640,"title":1641},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1643,"title":1644},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1646,"title":1647},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1649,"title":1650},"\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":1652,"title":1653},"\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":1655,"title":1656},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1658,"title":1659},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1661,"title":1662},"\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":1664,"title":1665},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1667,"title":1668},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1670,"title":1671},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1673,"title":1674},"\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":1676,"title":1677},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1679,"title":1680},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1682,"title":1683},"\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":1685,"title":1686},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1688,"title":1689},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1691,"title":1692},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1694,"title":1695},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1697,"title":1698},"\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":1700,"title":1701},"\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":1703,"title":1704},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1706,"title":1707},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1709,"title":1710},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1712,"title":1713},"\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",1789722847324]