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