[{"data":1,"prerenderedAt":2879},["ShallowReactive",2],{"page:\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons":3,"all-docs-nav":1732,"filed:\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons":2873},{"id":4,"title":5,"body":6,"breadcrumb":1709,"dateModified":1718,"datePublished":1718,"description":1719,"extension":1720,"faq":1721,"meta":1726,"navigation":124,"path":1727,"seo":1728,"slug":12,"stem":1729,"type":1730,"__hash__":1731},"content\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons\u002Findex.md","SVG Icon Sprites vs Inline Icons",{"type":7,"value":8,"toc":1690},"minimark",[9,13,22,30,35,51,55,62,65,375,386,392,484,488,495,510,513,1026,1038,1189,1193,1199,1206,1293,1297,1323,1329,1333,1346,1353,1423,1430,1434,1437,1441,1547,1551,1603,1607,1613,1617,1622,1625,1629,1632,1636,1639,1643,1646,1650,1686],[10,11,5],"h1",{"id":12},"svg-icon-sprites-vs-inline-icons",[14,15,16,17,21],"p",{},"Icons are a small part of a page's bytes and a surprisingly large part of how finished it feels while loading. An icon font leaves blank boxes in the header until a 100 KB font file arrives; a folder of individual SVG files costs a request per icon; a JavaScript icon component library can ship a runtime to render what is fundamentally a few path elements. For static sites, where the goal is a complete first paint from HTML and CSS alone, there are two good options: SVG inline in the HTML, and an external SVG sprite referenced with ",[18,19,20],"code",{},"\u003Cuse>",".",[14,23,24,25,21],{},"This guide replaces a Font Awesome icon font on an Eleventy documentation site with inline SVG, builds a sprite for a larger icon set on an Astro site, and measures bytes, requests and paint timing for each. It is part of ",[26,27,29],"a",{"href":28},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002F","CSS and JavaScript Asset Optimization",[31,32,34],"h2",{"id":33},"prerequisites","Prerequisites",[36,37,38,42,48],"ul",{},[39,40,41],"li",{},"The icon set as individual SVG files (Lucide, Heroicons, Tabler, Font Awesome's SVG downloads, or your own).",[39,43,44,47],{},[18,45,46],{},"svgo"," for optimizing the source SVGs.",[39,49,50],{},"Lighthouse and the DevTools Performance panel to observe when icons paint.",[31,52,54],{"id":53},"option-1-inline-svg","Option 1: Inline SVG",[14,56,57,58,61],{},"Each icon's markup is written directly into the HTML where it is used. There is no request, icons paint with the text, and ",[18,59,60],{},"fill=\"currentColor\""," makes them follow the text colour in every theme.",[14,63,64],{},"In Eleventy, a shortcode reads the optimized SVG once and caches it:",[66,67,72],"pre",{"className":68,"code":69,"language":70,"meta":71,"style":71},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F eleventy.config.js\nimport { readFileSync } from 'node:fs';\nimport { optimize } from 'svgo';\n\nconst cache = new Map();\neleventyConfig.addShortcode('icon', (name, label = '') => {\n  if (!cache.has(name)) {\n    const raw = readFileSync(`src\u002Ficons\u002F${name}.svg`, 'utf8');\n    cache.set(name, optimize(raw, { multipass: true, plugins: ['preset-default', 'removeDimensions'] }).data);\n  }\n  const a11y = label ? `role=\"img\" aria-label=\"${label}\"` : 'aria-hidden=\"true\" focusable=\"false\"';\n  \u002F\u002F prepend class and ARIA attributes to the root element of the optimized markup\n  return cache.get(name).replace(\u002F^\u003C(svg)\u002F, `\u003C$1 class=\"icon\" ${a11y}`);\n});\n","js","",[18,73,74,83,104,119,126,149,191,212,244,279,285,318,324,369],{"__ignoreMap":71},[75,76,79],"span",{"class":77,"line":78},"line",1,[75,80,82],{"class":81},"sJ8bj","\u002F\u002F eleventy.config.js\n",[75,84,86,90,94,97,101],{"class":77,"line":85},2,[75,87,89],{"class":88},"szBVR","import",[75,91,93],{"class":92},"sVt8B"," { readFileSync } ",[75,95,96],{"class":88},"from",[75,98,100],{"class":99},"sZZnC"," 'node:fs'",[75,102,103],{"class":92},";\n",[75,105,107,109,112,114,117],{"class":77,"line":106},3,[75,108,89],{"class":88},[75,110,111],{"class":92}," { optimize } ",[75,113,96],{"class":88},[75,115,116],{"class":99}," 'svgo'",[75,118,103],{"class":92},[75,120,122],{"class":77,"line":121},4,[75,123,125],{"emptyLinePlaceholder":124},true,"\n",[75,127,129,132,136,139,142,146],{"class":77,"line":128},5,[75,130,131],{"class":88},"const",[75,133,135],{"class":134},"sj4cs"," cache",[75,137,138],{"class":88}," =",[75,140,141],{"class":88}," new",[75,143,145],{"class":144},"sScJk"," Map",[75,147,148],{"class":92},"();\n",[75,150,152,155,158,161,164,167,171,174,177,179,182,185,188],{"class":77,"line":151},6,[75,153,154],{"class":92},"eleventyConfig.",[75,156,157],{"class":144},"addShortcode",[75,159,160],{"class":92},"(",[75,162,163],{"class":99},"'icon'",[75,165,166],{"class":92},", (",[75,168,170],{"class":169},"s4XuR","name",[75,172,173],{"class":92},", ",[75,175,176],{"class":169},"label",[75,178,138],{"class":88},[75,180,181],{"class":99}," ''",[75,183,184],{"class":92},") ",[75,186,187],{"class":88},"=>",[75,189,190],{"class":92}," {\n",[75,192,194,197,200,203,206,209],{"class":77,"line":193},7,[75,195,196],{"class":88},"  if",[75,198,199],{"class":92}," (",[75,201,202],{"class":88},"!",[75,204,205],{"class":92},"cache.",[75,207,208],{"class":144},"has",[75,210,211],{"class":92},"(name)) {\n",[75,213,215,218,221,223,226,228,231,233,236,238,241],{"class":77,"line":214},8,[75,216,217],{"class":88},"    const",[75,219,220],{"class":134}," raw",[75,222,138],{"class":88},[75,224,225],{"class":144}," readFileSync",[75,227,160],{"class":92},[75,229,230],{"class":99},"`src\u002Ficons\u002F${",[75,232,170],{"class":92},[75,234,235],{"class":99},"}.svg`",[75,237,173],{"class":92},[75,239,240],{"class":99},"'utf8'",[75,242,243],{"class":92},");\n",[75,245,247,250,253,256,259,262,265,268,271,273,276],{"class":77,"line":246},9,[75,248,249],{"class":92},"    cache.",[75,251,252],{"class":144},"set",[75,254,255],{"class":92},"(name, ",[75,257,258],{"class":144},"optimize",[75,260,261],{"class":92},"(raw, { multipass: ",[75,263,264],{"class":134},"true",[75,266,267],{"class":92},", plugins: [",[75,269,270],{"class":99},"'preset-default'",[75,272,173],{"class":92},[75,274,275],{"class":99},"'removeDimensions'",[75,277,278],{"class":92},"] }).data);\n",[75,280,282],{"class":77,"line":281},10,[75,283,284],{"class":92},"  }\n",[75,286,288,291,294,296,299,302,305,307,310,313,316],{"class":77,"line":287},11,[75,289,290],{"class":88},"  const",[75,292,293],{"class":134}," a11y",[75,295,138],{"class":88},[75,297,298],{"class":92}," label ",[75,300,301],{"class":88},"?",[75,303,304],{"class":99}," `role=\"img\" aria-label=\"${",[75,306,176],{"class":92},[75,308,309],{"class":99},"}\"`",[75,311,312],{"class":88}," :",[75,314,315],{"class":99}," 'aria-hidden=\"true\" focusable=\"false\"'",[75,317,103],{"class":92},[75,319,321],{"class":77,"line":320},12,[75,322,323],{"class":81},"  \u002F\u002F prepend class and ARIA attributes to the root element of the optimized markup\n",[75,325,327,330,333,336,339,342,344,347,350,354,356,358,361,364,367],{"class":77,"line":326},13,[75,328,329],{"class":88},"  return",[75,331,332],{"class":92}," cache.",[75,334,335],{"class":144},"get",[75,337,338],{"class":92},"(name).",[75,340,341],{"class":144},"replace",[75,343,160],{"class":92},[75,345,346],{"class":99},"\u002F",[75,348,349],{"class":88},"^",[75,351,353],{"class":352},"sA_wV","\u003C(svg)",[75,355,346],{"class":99},[75,357,173],{"class":92},[75,359,360],{"class":99},"`\u003C$1 class=\"icon\" ${",[75,362,363],{"class":92},"a11y",[75,365,366],{"class":99},"}`",[75,368,243],{"class":92},[75,370,372],{"class":77,"line":371},14,[75,373,374],{"class":92},"});\n",[66,376,380],{"className":377,"code":378,"language":379,"meta":71,"style":71},"language-njk shiki shiki-themes github-light github-dark","\u003Cbutton type=\"button\" class=\"copy\">{% icon \"copy\" %}\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\n","njk",[18,381,382],{"__ignoreMap":71},[75,383,384],{"class":77,"line":78},[75,385,378],{},[14,387,388,389,391],{},"The Eleventy site used 14 distinct icons, of which 9 appeared on every page (header, footer, callouts). After ",[18,390,46],{},", the average icon was 290 bytes; the 14 icons added 4.1 KB uncompressed and 2.1 KB brotli-compressed to a typical page — less than the icon font's CSS alone.",[393,394,395,480],"figure",{},[396,397,404,405,404,409,404,413,404,420],"svg",{"viewBox":398,"role":399,"ariaLabelledBy":400,"xmlns":403},"0 0 760 142","img",[401,402],"icon-bytes-title","icon-bytes-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[406,407,408],"title",{"id":401},"First-visit icon bytes for the icon font and inline SVG",[410,411,412],"desc",{"id":402},"Horizontal bars of compressed bytes spent on icons for a first visit to one Eleventy docs page. The Font Awesome icon font plus its CSS cost 114 kilobytes in two requests. Fourteen inline SVG icons cost 2.1 kilobytes inside the HTML, with no request.",[414,415],"rect",{"x":416,"y":416,"width":417,"height":418,"fill":419},"0","760","142","#ffffff",[421,422,424,425,424,436,424,443,424,450,424,458,424,463,424,470,424,474,404],"g",{"style":423},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[414,426],{"x":427,"y":428,"width":429,"height":430,"rx":431,"fill":432,"opacity":433,"stroke":434,"style":435},"240.0","65.0","438.2","20.0","3","#ff595e","0.3","#d83b41","stroke-width:1px",[414,437],{"x":427,"y":438,"width":439,"height":430,"rx":431,"fill":440,"opacity":441,"stroke":442,"style":435},"99.0","8.1","#8ac926","0.4","#5a8a16",[444,445],"path",{"d":446,"fill":447,"stroke":448,"style":449},"M240.0 60.0 L240.0 124.0","none","#556071","stroke-width:1.5px",[451,452,457],"text",{"x":453,"y":454,"fill":455,"style":456},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","Icon bytes on a first visit to one docs page",[451,459,462],{"x":430,"y":460,"fill":455,"style":461},"79.2","font-size:12px;text-anchor:start","Icon font + CSS",[451,464,469],{"x":465,"y":466,"fill":467,"style":468},"686.2","79.5","#b32b30","font-size:12px;text-anchor:start;font-weight:700","114 KB",[451,471,473],{"x":430,"y":472,"fill":455,"style":461},"113.2","14 inline SVG icons",[451,475,479],{"x":476,"y":477,"fill":478,"style":468},"256.1","113.5","#3f6410","2.1 KB",[481,482,483],"figcaption",{},"Brotli-compressed sizes; the inline figure is the growth in HTML size after replacing the font markup.",[31,485,487],{"id":486},"option-2-an-external-sprite","Option 2: An External Sprite",[14,489,490,491,494],{},"A sprite is one SVG file containing a ",[18,492,493],{},"\u003Csymbol>"," per icon. Pages reference icons by fragment:",[66,496,498],{"className":377,"code":497,"language":379,"meta":71,"style":71},"{# the sprite shortcode renders an inline icon element whose use child points at the symbol #}\n{% sprite \"search\" %}   {# → use href=\"\u002Fassets\u002Ficons.a1b2c3d4.svg#search\" #}\n",[18,499,500,505],{"__ignoreMap":71},[75,501,502],{"class":77,"line":78},[75,503,504],{},"{# the sprite shortcode renders an inline icon element whose use child points at the symbol #}\n",[75,506,507],{"class":77,"line":85},[75,508,509],{},"{% sprite \"search\" %}   {# → use href=\"\u002Fassets\u002Ficons.a1b2c3d4.svg#search\" #}\n",[14,511,512],{},"The file downloads once and is cached with the other hashed assets, so every later page gets its icons for free. The Astro site's product documentation used 96 different icons across its templates, many only on specific pages, which made inlining all of them everywhere impractical and inlining per page fiddly. A build step generates the sprite from a folder:",[66,514,516],{"className":68,"code":515,"language":70,"meta":71,"style":71},"\u002F\u002F scripts\u002Fbuild-sprite.mjs\nimport { globby } from 'globby';\nimport { readFile, writeFile } from 'node:fs\u002Fpromises';\nimport { createHash } from 'node:crypto';\nimport { optimize } from 'svgo';\n\nlet symbols = '';\nfor (const file of (await globby('src\u002Ficons\u002F*.svg')).sort()) {\n  const id = file.split('\u002F').pop().replace('.svg', '');\n  const { data } = optimize(await readFile(file, 'utf8'), { plugins: ['preset-default', 'removeDimensions'] });\n  const viewBox = \u002FviewBox=\"([^\"]+)\"\u002F.exec(data)[1];\n  const inner = data.replace(\u002F^\u003C(svg)[^>]*>\u002F, '').replace(\u002F\u003C\\\u002F(svg)>$\u002F, '');\n  symbols += `\u003Csymbol id=\"${id}\" viewBox=\"${viewBox}\">${inner}\u003C\u002Fsymbol>`;\n}\nconst root = 'svg';   \u002F\u002F the sprite's root element\nconst sprite = `\u003C${root} xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" style=\"display:none\">${symbols}\u003C\u002F${root}>`;\nconst hash = createHash('sha256').update(sprite).digest('hex').slice(0, 8);\nawait writeFile(`public\u002Fassets\u002Ficons.${hash}.svg`, sprite);\nawait writeFile('src\u002Fgenerated\u002Fsprite.json', JSON.stringify({ href: `\u002Fassets\u002Ficons.${hash}.svg` }));\n",[18,517,518,523,537,551,565,577,581,596,633,676,718,763,833,864,869,888,920,970,991],{"__ignoreMap":71},[75,519,520],{"class":77,"line":78},[75,521,522],{"class":81},"\u002F\u002F scripts\u002Fbuild-sprite.mjs\n",[75,524,525,527,530,532,535],{"class":77,"line":85},[75,526,89],{"class":88},[75,528,529],{"class":92}," { globby } ",[75,531,96],{"class":88},[75,533,534],{"class":99}," 'globby'",[75,536,103],{"class":92},[75,538,539,541,544,546,549],{"class":77,"line":106},[75,540,89],{"class":88},[75,542,543],{"class":92}," { readFile, writeFile } ",[75,545,96],{"class":88},[75,547,548],{"class":99}," 'node:fs\u002Fpromises'",[75,550,103],{"class":92},[75,552,553,555,558,560,563],{"class":77,"line":121},[75,554,89],{"class":88},[75,556,557],{"class":92}," { createHash } ",[75,559,96],{"class":88},[75,561,562],{"class":99}," 'node:crypto'",[75,564,103],{"class":92},[75,566,567,569,571,573,575],{"class":77,"line":128},[75,568,89],{"class":88},[75,570,111],{"class":92},[75,572,96],{"class":88},[75,574,116],{"class":99},[75,576,103],{"class":92},[75,578,579],{"class":77,"line":151},[75,580,125],{"emptyLinePlaceholder":124},[75,582,583,586,589,592,594],{"class":77,"line":193},[75,584,585],{"class":88},"let",[75,587,588],{"class":92}," symbols ",[75,590,591],{"class":88},"=",[75,593,181],{"class":99},[75,595,103],{"class":92},[75,597,598,601,603,605,608,611,613,616,619,621,624,627,630],{"class":77,"line":214},[75,599,600],{"class":88},"for",[75,602,199],{"class":92},[75,604,131],{"class":88},[75,606,607],{"class":134}," file",[75,609,610],{"class":88}," of",[75,612,199],{"class":92},[75,614,615],{"class":88},"await",[75,617,618],{"class":144}," globby",[75,620,160],{"class":92},[75,622,623],{"class":99},"'src\u002Ficons\u002F*.svg'",[75,625,626],{"class":92},")).",[75,628,629],{"class":144},"sort",[75,631,632],{"class":92},"()) {\n",[75,634,635,637,640,642,645,648,650,653,656,659,662,664,666,669,671,674],{"class":77,"line":246},[75,636,290],{"class":88},[75,638,639],{"class":134}," id",[75,641,138],{"class":88},[75,643,644],{"class":92}," file.",[75,646,647],{"class":144},"split",[75,649,160],{"class":92},[75,651,652],{"class":99},"'\u002F'",[75,654,655],{"class":92},").",[75,657,658],{"class":144},"pop",[75,660,661],{"class":92},"().",[75,663,341],{"class":144},[75,665,160],{"class":92},[75,667,668],{"class":99},"'.svg'",[75,670,173],{"class":92},[75,672,673],{"class":99},"''",[75,675,243],{"class":92},[75,677,678,680,683,686,689,691,694,696,698,701,704,706,709,711,713,715],{"class":77,"line":281},[75,679,290],{"class":88},[75,681,682],{"class":92}," { ",[75,684,685],{"class":134},"data",[75,687,688],{"class":92}," } ",[75,690,591],{"class":88},[75,692,693],{"class":144}," optimize",[75,695,160],{"class":92},[75,697,615],{"class":88},[75,699,700],{"class":144}," readFile",[75,702,703],{"class":92},"(file, ",[75,705,240],{"class":99},[75,707,708],{"class":92},"), { plugins: [",[75,710,270],{"class":99},[75,712,173],{"class":92},[75,714,275],{"class":99},[75,716,717],{"class":92},"] });\n",[75,719,720,722,725,727,730,733,736,738,741,744,747,749,751,754,757,760],{"class":77,"line":287},[75,721,290],{"class":88},[75,723,724],{"class":134}," viewBox",[75,726,138],{"class":88},[75,728,729],{"class":99}," \u002F",[75,731,732],{"class":352},"viewBox=\"(",[75,734,735],{"class":134},"[",[75,737,349],{"class":88},[75,739,740],{"class":134},"\"]",[75,742,743],{"class":88},"+",[75,745,746],{"class":352},")\"",[75,748,346],{"class":99},[75,750,21],{"class":92},[75,752,753],{"class":144},"exec",[75,755,756],{"class":92},"(data)[",[75,758,759],{"class":134},"1",[75,761,762],{"class":92},"];\n",[75,764,765,767,770,772,775,777,779,781,783,785,787,789,792,795,798,800,802,804,806,808,810,812,815,819,822,825,827,829,831],{"class":77,"line":320},[75,766,290],{"class":88},[75,768,769],{"class":134}," inner",[75,771,138],{"class":88},[75,773,774],{"class":92}," data.",[75,776,341],{"class":144},[75,778,160],{"class":92},[75,780,346],{"class":99},[75,782,349],{"class":88},[75,784,353],{"class":352},[75,786,735],{"class":134},[75,788,349],{"class":88},[75,790,791],{"class":134},">]",[75,793,794],{"class":88},"*",[75,796,797],{"class":352},">",[75,799,346],{"class":99},[75,801,173],{"class":92},[75,803,673],{"class":99},[75,805,655],{"class":92},[75,807,341],{"class":144},[75,809,160],{"class":92},[75,811,346],{"class":99},[75,813,814],{"class":352},"\u003C",[75,816,818],{"class":817},"snhLl","\\\u002F",[75,820,821],{"class":352},"(svg)>",[75,823,824],{"class":88},"$",[75,826,346],{"class":99},[75,828,173],{"class":92},[75,830,673],{"class":99},[75,832,243],{"class":92},[75,834,835,838,841,844,847,850,853,856,859,862],{"class":77,"line":326},[75,836,837],{"class":92},"  symbols ",[75,839,840],{"class":88},"+=",[75,842,843],{"class":99}," `\u003Csymbol id=\"${",[75,845,846],{"class":92},"id",[75,848,849],{"class":99},"}\" viewBox=\"${",[75,851,852],{"class":92},"viewBox",[75,854,855],{"class":99},"}\">${",[75,857,858],{"class":92},"inner",[75,860,861],{"class":99},"}\u003C\u002Fsymbol>`",[75,863,103],{"class":92},[75,865,866],{"class":77,"line":371},[75,867,868],{"class":92},"}\n",[75,870,872,874,877,879,882,885],{"class":77,"line":871},15,[75,873,131],{"class":88},[75,875,876],{"class":134}," root",[75,878,138],{"class":88},[75,880,881],{"class":99}," 'svg'",[75,883,884],{"class":92},";   ",[75,886,887],{"class":81},"\u002F\u002F the sprite's root element\n",[75,889,891,893,896,898,901,904,907,910,913,915,918],{"class":77,"line":890},16,[75,892,131],{"class":88},[75,894,895],{"class":134}," sprite",[75,897,138],{"class":88},[75,899,900],{"class":99}," `\u003C${",[75,902,903],{"class":92},"root",[75,905,906],{"class":99},"} xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" style=\"display:none\">${",[75,908,909],{"class":92},"symbols",[75,911,912],{"class":99},"}\u003C\u002F${",[75,914,903],{"class":92},[75,916,917],{"class":99},"}>`",[75,919,103],{"class":92},[75,921,923,925,928,930,933,935,938,940,943,946,949,951,954,956,959,961,963,965,968],{"class":77,"line":922},17,[75,924,131],{"class":88},[75,926,927],{"class":134}," hash",[75,929,138],{"class":88},[75,931,932],{"class":144}," createHash",[75,934,160],{"class":92},[75,936,937],{"class":99},"'sha256'",[75,939,655],{"class":92},[75,941,942],{"class":144},"update",[75,944,945],{"class":92},"(sprite).",[75,947,948],{"class":144},"digest",[75,950,160],{"class":92},[75,952,953],{"class":99},"'hex'",[75,955,655],{"class":92},[75,957,958],{"class":144},"slice",[75,960,160],{"class":92},[75,962,416],{"class":134},[75,964,173],{"class":92},[75,966,967],{"class":134},"8",[75,969,243],{"class":92},[75,971,973,975,978,980,983,986,988],{"class":77,"line":972},18,[75,974,615],{"class":88},[75,976,977],{"class":144}," writeFile",[75,979,160],{"class":92},[75,981,982],{"class":99},"`public\u002Fassets\u002Ficons.${",[75,984,985],{"class":92},"hash",[75,987,235],{"class":99},[75,989,990],{"class":92},", sprite);\n",[75,992,994,996,998,1000,1003,1005,1008,1010,1013,1016,1019,1021,1023],{"class":77,"line":993},19,[75,995,615],{"class":88},[75,997,977],{"class":144},[75,999,160],{"class":92},[75,1001,1002],{"class":99},"'src\u002Fgenerated\u002Fsprite.json'",[75,1004,173],{"class":92},[75,1006,1007],{"class":134},"JSON",[75,1009,21],{"class":92},[75,1011,1012],{"class":144},"stringify",[75,1014,1015],{"class":92},"({ href: ",[75,1017,1018],{"class":99},"`\u002Fassets\u002Ficons.${",[75,1020,985],{"class":92},[75,1022,235],{"class":99},[75,1024,1025],{"class":92}," }));\n",[14,1027,1028,1029,1032,1033,1037],{},"The content hash in the file name lets the sprite be cached for a year with ",[18,1030,1031],{},"immutable",", as described in ",[26,1034,1036],{"href":1035},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames\u002F","Cache Busting with Content-Hashed Filenames",". The 96-icon sprite was 31 KB uncompressed and 7.4 KB with brotli.",[393,1039,1040,1186],{},[396,1041,404,1046,404,1049,404,1052,404,1055],{"viewBox":1042,"role":399,"ariaLabelledBy":1043,"xmlns":403},"0 0 760 236",[1044,1045],"icon-cmp-title","icon-cmp-desc",[406,1047,1048],{"id":1044},"Comparison of icon font, individual files, inline SVG and sprite",[410,1050,1051],{"id":1045},"A matrix comparing four icon strategies. An icon font needs one large request, paints late and is poor for accessibility. Individual SVG files as img need one request per icon and cannot be recoloured with CSS. Inline SVG needs no request, paints with HTML and inherits colour, but repeats bytes on every page. An external sprite needs one cached request, paints once cached and inherits colour.",[414,1053],{"x":416,"y":416,"width":417,"height":1054,"fill":419},"236",[421,1056,424,1057,424,1060,424,1068,424,1071,424,1077,424,1081,424,1084,424,1086,424,1088,424,1091,424,1095,424,1097,424,1099,424,1102,424,1105,424,1107,424,1109,424,1112,424,1115,424,1119,424,1124,424,1128,424,1132,424,1136,424,1141,424,1144,424,1147,424,1151,424,1155,424,1158,424,1160,424,1164,424,1167,424,1170,424,1173,424,1177,424,1181,424,1184,404],{"style":423},[444,1058],{"d":1059,"fill":447,"stroke":448,"style":449},"M20.0 86.0 L740.0 86.0",[414,1061],{"x":1062,"y":1063,"width":1064,"height":1065,"rx":1066,"fill":432,"opacity":1067,"stroke":434,"style":435},"214.0","90.0","168.7","25.6","5","0.12",[414,1069],{"x":1070,"y":1063,"width":1064,"height":1065,"rx":1066,"fill":432,"opacity":1067,"stroke":434,"style":435},"390.7",[414,1072],{"x":1073,"y":1063,"width":1064,"height":1065,"rx":1066,"fill":1074,"opacity":1075,"stroke":1076,"style":435},"567.3","#ffca3a","0.24","#a97b00",[444,1078],{"d":1079,"fill":447,"stroke":1080,"style":435},"M20.0 119.6 L740.0 119.6","#d9e2ef",[414,1082],{"x":1062,"y":1083,"width":1064,"height":1065,"rx":1066,"fill":432,"opacity":1067,"stroke":434,"style":435},"123.6",[414,1085],{"x":1070,"y":1083,"width":1064,"height":1065,"rx":1066,"fill":1074,"opacity":1075,"stroke":1076,"style":435},[414,1087],{"x":1073,"y":1083,"width":1064,"height":1065,"rx":1066,"fill":432,"opacity":1067,"stroke":434,"style":435},[444,1089],{"d":1090,"fill":447,"stroke":1080,"style":435},"M20.0 153.2 L740.0 153.2",[414,1092],{"x":1062,"y":1093,"width":1064,"height":1065,"rx":1066,"fill":440,"opacity":1094,"stroke":442,"style":435},"157.2","0.2",[414,1096],{"x":1070,"y":1093,"width":1064,"height":1065,"rx":1066,"fill":440,"opacity":1094,"stroke":442,"style":435},[414,1098],{"x":1073,"y":1093,"width":1064,"height":1065,"rx":1066,"fill":440,"opacity":1094,"stroke":442,"style":435},[444,1100],{"d":1101,"fill":447,"stroke":1080,"style":435},"M20.0 186.8 L740.0 186.8",[414,1103],{"x":1062,"y":1104,"width":1064,"height":1065,"rx":1066,"fill":1074,"opacity":1075,"stroke":1076,"style":435},"190.8",[414,1106],{"x":1070,"y":1104,"width":1064,"height":1065,"rx":1066,"fill":1074,"opacity":1075,"stroke":1076,"style":435},[414,1108],{"x":1073,"y":1104,"width":1064,"height":1065,"rx":1066,"fill":440,"opacity":1094,"stroke":442,"style":435},[444,1110],{"d":1111,"fill":447,"stroke":1080,"style":435},"M20.0 220.4 L740.0 220.4",[451,1113,1114],{"x":453,"y":454,"fill":455,"style":456},"Four ways to ship icons",[451,1116,1118],{"x":454,"y":1117,"fill":455,"style":468},"75.2","Strategy",[451,1120,1123],{"x":1121,"y":1117,"fill":455,"style":1122},"298.3","font-size:12px;text-anchor:middle;font-weight:700","Requests",[451,1125,1127],{"x":1126,"y":1117,"fill":455,"style":1122},"475.0","First paint",[451,1129,1131],{"x":1130,"y":1117,"fill":455,"style":1122},"651.7","Theming",[451,1133,1135],{"x":454,"y":1134,"fill":455,"style":468},"106.4","Icon font",[451,1137,1140],{"x":1121,"y":1138,"fill":455,"style":1139},"106.2","font-size:11.5px;text-anchor:middle","1 large file",[451,1142,1143],{"x":1126,"y":1138,"fill":455,"style":1139},"after font loads",[451,1145,1146],{"x":1130,"y":1138,"fill":455,"style":1139},"colour only",[451,1148,1150],{"x":454,"y":1149,"fill":455,"style":468},"140.0","SVG files as img",[451,1152,1154],{"x":1121,"y":1153,"fill":455,"style":1139},"139.8","1 per icon",[451,1156,1157],{"x":1126,"y":1153,"fill":455,"style":1139},"per request",[451,1159,447],{"x":1130,"y":1153,"fill":455,"style":1139},[451,1161,1163],{"x":454,"y":1162,"fill":455,"style":468},"173.6","Inline SVG",[451,1165,416],{"x":1121,"y":1166,"fill":455,"style":1139},"173.4",[451,1168,1169],{"x":1126,"y":1166,"fill":455,"style":1139},"with the HTML",[451,1171,1172],{"x":1130,"y":1166,"fill":455,"style":1139},"currentColor",[451,1174,1176],{"x":454,"y":1175,"fill":455,"style":468},"207.2","External sprite",[451,1178,1180],{"x":1121,"y":1179,"fill":455,"style":1139},"207.0","1, cached",[451,1182,1183],{"x":1126,"y":1179,"fill":455,"style":1139},"after first fetch",[451,1185,1172],{"x":1130,"y":1179,"fill":455,"style":1139},[481,1187,1188],{},"Inline SVG suits small fixed sets; a sprite suits large or varied sets; icon fonts and individual image files have no remaining advantage.",[31,1190,1192],{"id":1191},"when-the-icons-paint","When the Icons Paint",[14,1194,1195,1196,1198],{},"The difference that readers see is timing. With the icon font on the Eleventy site, header icons appeared about 400 ms after the text on a throttled first visit, because the font request started only after CSS was parsed. Inline SVG painted with the first frame. The Astro sprite painted a little after the first frame on a first visit — the sprite request started as soon as the parser reached the first ",[18,1197,20],{},", which was in the header — and instantly on every later page.",[14,1200,1201,1202,1205],{},"Where a sprite's first-visit delay matters for icons above the fold, preload it: ",[18,1203,1204],{},"\u003Clink rel=\"preload\" href=\"\u002Fassets\u002Ficons.a1b2c3d4.svg\" as=\"image\" type=\"image\u002Fsvg+xml\">",". Be deliberate, since preloads compete with the LCP image; the Astro site preloaded the sprite only on templates whose LCP element was text.",[393,1207,1208,1290],{},[396,1209,404,1214,404,1217,404,1220,404,1223,404,1277],{"viewBox":1210,"role":399,"ariaLabelledBy":1211,"xmlns":403},"0 0 760 166",[1212,1213],"icon-paint-title","icon-paint-desc",[406,1215,1216],{"id":1212},"Header icon paint time for each strategy",[410,1218,1219],{"id":1213},"A timeline of first visit on a throttled mobile profile. Text paints at 1.3 seconds. Inline SVG icons paint at 1.3 seconds with the text. Sprite icons paint at 1.45 seconds after the sprite request. Icon font glyphs paint at 1.7 seconds after the font downloads.",[414,1221],{"x":416,"y":416,"width":417,"height":1222,"fill":419},"166",[421,1224,424,1225,424,1229,424,1235,424,1238,424,1241,424,1244,424,1248,424,1251,424,1254,424,1259,424,1264,424,1268,424,1271,424,1274,404],{"style":423},[444,1226],{"d":1227,"fill":447,"stroke":448,"style":1228},"M30.0 99.6 L734.0 99.6","stroke-width:2px;marker-end:url(#icon-paint-arrow)",[1230,1231],"circle",{"cx":1232,"cy":1233,"r":1234,"fill":440,"stroke":442,"style":449},"60.0","99.6","7",[1230,1236],{"cx":453,"cy":1233,"r":1234,"fill":1237,"stroke":1237,"style":449},"#1982c4",[1230,1239],{"cx":1240,"cy":1233,"r":1234,"fill":432,"stroke":434,"style":449},"700.0",[451,1242,1243],{"x":453,"y":454,"fill":455,"style":456},"When header icons appear on a first visit",[451,1245,1247],{"x":1232,"y":1246,"fill":455,"style":1122},"83.6","Text and inline SVG",[451,1249,1250],{"x":453,"y":1246,"fill":455,"style":1122},"Sprite icons",[451,1252,1253],{"x":1240,"y":1246,"fill":455,"style":1122},"Icon font glyphs",[451,1255,1258],{"x":1232,"y":1256,"fill":478,"style":1257},"125.6","font-size:11.5px;text-anchor:middle;font-weight:700","1.3 s",[451,1260,1263],{"x":1232,"y":1261,"fill":448,"style":1262},"143.6","font-size:11px;text-anchor:middle","same frame",[451,1265,1267],{"x":453,"y":1256,"fill":1266,"style":1257},"#166a9e","1.45 s",[451,1269,1270],{"x":453,"y":1261,"fill":448,"style":1262},"after one cached request",[451,1272,1273],{"x":1240,"y":1256,"fill":467,"style":1257},"1.7 s",[451,1275,1276],{"x":1240,"y":1261,"fill":448,"style":1262},"after 108 KB font",[1278,1279,424,1280,404],"defs",{},[1281,1282,1286,1287,424],"marker",{"id":1283,"viewBox":1284,"refX":967,"refY":1066,"markerWidth":1234,"markerHeight":1234,"orient":1285},"icon-paint-arrow","0 0 10 10","auto-start-reverse","\n      ",[444,1288],{"d":1289,"fill":448},"M0 0 L10 5 L0 10 z",[481,1291,1292],{},"From the DevTools Performance panel filmstrip on the same page, Slow 4G, CPU 4x slowdown.",[31,1294,1296],{"id":1295},"accessibility-details","Accessibility Details",[14,1298,1299,1300,1303,1304,1307,1308,1311,1312,1303,1315,1318,1319,21],{},"SVG icons are only accessible if they are marked up for their role. Decorative icons next to a visible label get ",[18,1301,1302],{},"aria-hidden=\"true\""," and ",[18,1305,1306],{},"focusable=\"false\""," (the latter for legacy Edge). Icon-only buttons put the accessible name on the button: ",[18,1309,1310],{},"\u003Cbutton aria-label=\"Search\">",", with the SVG hidden. Informative standalone icons — a status indicator in a table, say — get ",[18,1313,1314],{},"role=\"img\"",[18,1316,1317],{},"aria-label",". The icon font previously exposed private-use characters that some screen readers announced as \"unpronounceable\"; axe-core reported 38 violations across the site's templates, all gone after the switch. The same checks run in ",[26,1320,1322],{"href":1321},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci\u002F","Accessibility Testing with axe and pa11y in CI",[14,1324,1325,1326,1328],{},"Also think about forced-colors mode (Windows High Contrast). ",[18,1327,1172],{}," fills follow the system colour automatically; icons with hard-coded fills disappear against system backgrounds. Test with DevTools' \"Emulate CSS media feature forced-colors: active\".",[31,1330,1332],{"id":1331},"migrating-off-an-icon-font","Migrating Off an Icon Font",[14,1334,1335,1336,173,1339,173,1342,1345],{},"The migration itself is mostly search and replace, with a few traps. Start by listing the glyphs actually used: search templates and content for the font's class prefix (",[18,1337,1338],{},"fa-",[18,1340,1341],{},"bi-",[18,1343,1344],{},"icon-",") and count distinct names — the Eleventy site referenced 14 of Font Awesome's roughly 2,000 glyphs. Map each class to an SVG from the same icon family where possible, since mixing families changes stroke weights and optical sizes. Replace the markup through the shortcode so future changes happen in one place.",[14,1347,1348,1349,1352],{},"Then check sizes and alignment. Icon fonts inherit ",[18,1350,1351],{},"font-size"," and sit on the text baseline; SVGs need explicit sizing. A single rule keeps them matched to the surrounding text:",[66,1354,1358],{"className":1355,"code":1356,"language":1357,"meta":71,"style":71},"language-css shiki shiki-themes github-light github-dark",".icon { width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; flex-shrink: 0; }\n","css",[18,1359,1360],{"__ignoreMap":71},[75,1361,1362,1365,1367,1370,1373,1375,1378,1381,1384,1386,1388,1390,1392,1395,1397,1400,1402,1404,1407,1409,1411,1413,1416,1418,1420],{"class":77,"line":78},[75,1363,1364],{"class":144},".icon",[75,1366,682],{"class":92},[75,1368,1369],{"class":134},"width",[75,1371,1372],{"class":92},": ",[75,1374,759],{"class":134},[75,1376,1377],{"class":88},"em",[75,1379,1380],{"class":92},"; ",[75,1382,1383],{"class":134},"height",[75,1385,1372],{"class":92},[75,1387,759],{"class":134},[75,1389,1377],{"class":88},[75,1391,1380],{"class":92},[75,1393,1394],{"class":134},"vertical-align",[75,1396,1372],{"class":92},[75,1398,1399],{"class":134},"-0.125",[75,1401,1377],{"class":88},[75,1403,1380],{"class":92},[75,1405,1406],{"class":134},"fill",[75,1408,1372],{"class":92},[75,1410,1172],{"class":134},[75,1412,1380],{"class":92},[75,1414,1415],{"class":134},"flex-shrink",[75,1417,1372],{"class":92},[75,1419,416],{"class":134},[75,1421,1422],{"class":92},"; }\n",[14,1424,1425,1426,1429],{},"Finally remove the font's ",[18,1427,1428],{},"@font-face"," and its CSS. Leaving the stylesheet in place \"until everything is migrated\" is how many sites end up paying for both.",[31,1431,1433],{"id":1432},"a-hybrid-that-works","A Hybrid That Works",[14,1435,1436],{},"Most sites end up with a hybrid: the handful of icons in the header and footer inline, because they appear on every page and must paint with the first frame; everything else from a sprite, because it varies by page and benefits from caching. The Astro site inlined 6 chrome icons (1.3 KB compressed per page) and moved the other 90 to the sprite, which then was not needed at all on 70% of pages and so was not requested there. The build step writes a manifest of which icons each template uses, which also made it easy to delete 23 icons nothing referenced.",[31,1438,1440],{"id":1439},"measured-impact","Measured Impact",[1442,1443,1444,1463],"table",{},[1445,1446,1447],"thead",{},[1448,1449,1450,1454,1457,1460],"tr",{},[1451,1452,1453],"th",{},"Measure",[1451,1455,1456],{},"Icon font (Eleventy, before)",[1451,1458,1459],{},"Inline SVG (Eleventy)",[1451,1461,1462],{},"Sprite + 6 inline (Astro)",[1464,1465,1466,1481,1495,1508,1522,1534],"tbody",{},[1448,1467,1468,1472,1475,1478],{},[1469,1470,1471],"td",{},"Icon bytes, first visit (brotli)",[1469,1473,1474],{},"108 KB font + 6 KB CSS",[1469,1476,1477],{},"2.1 KB in HTML",[1469,1479,1480],{},"7.4 KB sprite + 1.3 KB inline",[1448,1482,1483,1486,1489,1492],{},[1469,1484,1485],{},"Icon bytes, later pages",[1469,1487,1488],{},"0 (cached)",[1469,1490,1491],{},"2.1 KB per page",[1469,1493,1494],{},"1.3 KB per page",[1448,1496,1497,1500,1503,1505],{},[1469,1498,1499],{},"Requests for icons",[1469,1501,1502],{},"2",[1469,1504,416],{},[1469,1506,1507],{},"0–1",[1448,1509,1510,1513,1516,1519],{},[1469,1511,1512],{},"Header icons painted after text (lab)",[1469,1514,1515],{},"400 ms",[1469,1517,1518],{},"0 ms",[1469,1520,1521],{},"0 ms (inline chrome)",[1448,1523,1524,1527,1530,1532],{},[1469,1525,1526],{},"axe-core icon violations",[1469,1528,1529],{},"38",[1469,1531,416],{},[1469,1533,416],{},[1448,1535,1536,1539,1542,1544],{},[1469,1537,1538],{},"LCP, lab (docs page)",[1469,1540,1541],{},"2.0 s",[1469,1543,1273],{},[1469,1545,1546],{},"1.6 s",[31,1548,1550],{"id":1549},"pitfalls-rollback","Pitfalls & Rollback",[36,1552,1553,1564,1576,1587,1597],{},[39,1554,1555,1559,1560,1563],{},[1556,1557,1558],"strong",{},"External sprites across origins."," ",[18,1561,1562],{},"\u003Cuse href>"," does not load sprites from another origin; serve the sprite from the same host.",[39,1565,1566,1569,1570,1572,1573,1575],{},[1556,1567,1568],{},"Duplicate IDs when inlining."," Icons with internal ",[18,1571,846],{}," attributes (gradients, clip paths) collide when repeated on one page; let ",[18,1574,46],{}," prefix IDs or avoid them in icons.",[39,1577,1578,1586],{},[1556,1579,1580,1581,1303,1583,1585],{},"Fixed ",[18,1582,1369],{},[18,1584,1383],{}," in the source."," Remove them so CSS controls size.",[39,1588,1589,1596],{},[1556,1590,1591,1592,1595],{},"Forgetting ",[18,1593,1594],{},"aria-hidden"," on decorative icons."," Screen readers may read the SVG title or path data.",[39,1598,1599,1602],{},[1556,1600,1601],{},"Rollback:"," the shortcode or component is the only integration point; pointing it back at the font markup restores the previous output.",[31,1604,1606],{"id":1605},"conclusion","Conclusion",[14,1608,1609,1610,1612],{},"Retire icon fonts. Inline the few icons every page uses so they paint with the first frame, and put the rest in a content-hashed sprite referenced with ",[18,1611,20],{},". On these sites that removed a 108 KB font, 38 accessibility violations and a 400 ms icon flash, for a couple of kilobytes of HTML per page.",[31,1614,1616],{"id":1615},"faq","FAQ",[1618,1619,1621],"h3",{"id":1620},"why-are-icon-fonts-a-poor-choice-today","Why are icon fonts a poor choice today?",[14,1623,1624],{},"They download a font file containing far more glyphs than the site uses, icons stay invisible or show fallback characters until the font loads, screen readers can announce the private-use characters, and readers who override fonts for accessibility lose the icons entirely. SVG avoids all four problems.",[1618,1626,1628],{"id":1627},"when-is-inline-svg-better-than-a-sprite","When is inline SVG better than a sprite?",[14,1630,1631],{},"When a page uses a small, fixed set of icons, typically fewer than about 20, that appear on every page. Inline SVG needs no request and paints with the HTML. A sprite becomes better when pages use many different icons or when repeating the markup on every page makes HTML noticeably larger.",[1618,1633,1635],{"id":1634},"can-a-sprite-be-styled-with-css","Can a sprite be styled with CSS?",[14,1637,1638],{},"Yes, when referenced with an svg element containing a use element. Paths that use fill=\"currentColor\" inherit the text colour, so icons follow themes and hover states. A sprite used as a CSS background image cannot be restyled this way.",[1618,1640,1642],{"id":1641},"how-do-i-make-svg-icons-accessible","How do I make SVG icons accessible?",[14,1644,1645],{},"Decorative icons next to a text label should have aria-hidden=\"true\". Icon-only buttons need an accessible name on the button, for example with aria-label or visually hidden text, and the SVG itself stays hidden from assistive technology.",[31,1647,1649],{"id":1648},"related","Related",[36,1651,1652,1660,1667,1672,1679],{},[39,1653,1654,1559,1657,1659],{},[1556,1655,1656],{},"Parent:",[26,1658,29],{"href":28}," — the full asset pipeline.",[39,1661,1662,1666],{},[26,1663,1665],{"href":1664},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page\u002F","Auditing Font Payload per Page"," — where icon fonts show up in font budgets.",[39,1668,1669,1671],{},[26,1670,1036],{"href":1035}," — caching the sprite for a year.",[39,1673,1674,1678],{},[26,1675,1677],{"href":1676},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults\u002F","Evaluating SSG Accessibility Defaults"," — icon accessibility in themes.",[39,1680,1681,1685],{},[26,1682,1684],{"href":1683},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites\u002F","Inlining Critical CSS on Static Sites"," — the same inline-versus-cached trade-off for CSS.",[1687,1688,1689],"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 .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 .snhLl, html code.shiki .snhLl{--shiki-default:#22863A;--shiki-default-font-weight:bold;--shiki-dark:#85E89D;--shiki-dark-font-weight:bold}",{"title":71,"searchDepth":85,"depth":85,"links":1691},[1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1708],{"id":33,"depth":85,"text":34},{"id":53,"depth":85,"text":54},{"id":486,"depth":85,"text":487},{"id":1191,"depth":85,"text":1192},{"id":1295,"depth":85,"text":1296},{"id":1331,"depth":85,"text":1332},{"id":1432,"depth":85,"text":1433},{"id":1439,"depth":85,"text":1440},{"id":1549,"depth":85,"text":1550},{"id":1605,"depth":85,"text":1606},{"id":1615,"depth":85,"text":1616,"children":1703},[1704,1705,1706,1707],{"id":1620,"depth":106,"text":1621},{"id":1627,"depth":106,"text":1628},{"id":1634,"depth":106,"text":1635},{"id":1641,"depth":106,"text":1642},{"id":1648,"depth":85,"text":1649},[1710,1712,1715,1716],{"name":1711,"item":346},"Home",{"name":1713,"item":1714},"Core Web Vitals Optimization for SSGs","\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002F",{"name":29,"item":28},{"name":5,"item":1717},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons\u002F","2026-09-25","Replace icon fonts on a static site with inline SVG or an external sprite, compare bytes, requests and paint timing, and build the sprite at build time.","md",[1722,1723,1724,1725],{"q":1621,"a":1624},{"q":1628,"a":1631},{"q":1635,"a":1638},{"q":1642,"a":1645},{},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons",{"title":5,"description":1719},"performance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons\u002Findex","article","cGvPZ_E0xyYSqCaHPuabDBZc8-_eP_CJbu_cvmZx7Mw",[1733,1736,1739,1742,1745,1748,1751,1754,1757,1760,1763,1766,1769,1772,1775,1778,1781,1784,1787,1790,1793,1796,1799,1802,1805,1808,1811,1814,1817,1820,1823,1826,1829,1832,1835,1838,1841,1844,1847,1850,1853,1856,1859,1862,1865,1868,1871,1874,1877,1880,1883,1886,1889,1892,1895,1898,1901,1904,1907,1910,1913,1916,1919,1922,1925,1928,1931,1934,1937,1940,1943,1946,1949,1952,1955,1958,1961,1964,1967,1970,1973,1976,1979,1982,1985,1988,1991,1994,1997,2000,2003,2006,2009,2012,2015,2018,2021,2024,2027,2030,2033,2036,2039,2042,2045,2048,2051,2054,2057,2060,2063,2066,2069,2072,2075,2078,2080,2083,2086,2089,2092,2095,2098,2101,2104,2107,2110,2113,2116,2119,2122,2125,2128,2131,2133,2136,2139,2142,2145,2148,2151,2154,2157,2160,2163,2166,2169,2172,2175,2178,2181,2183,2185,2188,2191,2194,2197,2198,2201,2204,2207,2210,2213,2216,2219,2222,2225,2228,2231,2234,2237,2239,2242,2245,2248,2251,2254,2257,2260,2263,2266,2269,2272,2275,2278,2281,2284,2287,2290,2293,2296,2299,2302,2305,2307,2310,2313,2316,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,2849,2852,2855,2858,2861,2864,2867,2870],{"path":1734,"title":1735},"\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":1737,"title":1738},"\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":1740,"title":1741},"\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":1743,"title":1744},"\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":1746,"title":1747},"\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":1749,"title":1750},"\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":1752,"title":1753},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1755,"title":1756},"\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":1758,"title":1759},"\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":1761,"title":1762},"\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":1764,"title":1765},"\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":1767,"title":1768},"\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":1770,"title":1771},"\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":1773,"title":1774},"\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":1776,"title":1777},"\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":1779,"title":1780},"\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":1782,"title":1783},"\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":1785,"title":1786},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1788,"title":1789},"\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":1791,"title":1792},"\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":1794,"title":1795},"\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":1797,"title":1798},"\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":1800,"title":1801},"\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":1803,"title":1804},"\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":1806,"title":1807},"\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":1809,"title":1810},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1812,"title":1813},"\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":1815,"title":1816},"\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":1818,"title":1819},"\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":1821,"title":1822},"\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":1824,"title":1825},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1827,"title":1828},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1830,"title":1831},"\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":1833,"title":1834},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1836,"title":1837},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1839,"title":1840},"\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":1842,"title":1843},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1845,"title":1846},"\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":1848,"title":1849},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1851,"title":1852},"\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":1854,"title":1855},"\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":1857,"title":1858},"\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":1860,"title":1861},"\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":1863,"title":1864},"\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":1866,"title":1867},"\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":1869,"title":1870},"\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":1872,"title":1873},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1875,"title":1876},"\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":1878,"title":1879},"\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":1881,"title":1882},"\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":1884,"title":1885},"\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":1887,"title":1888},"\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":1890,"title":1891},"\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":1893,"title":1894},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1896,"title":1897},"\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":1899,"title":1900},"\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":1902,"title":1903},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":1905,"title":1906},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":1908,"title":1909},"\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":1911,"title":1912},"\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":1914,"title":1915},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":1917,"title":1918},"\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":1920,"title":1921},"\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":1923,"title":1924},"\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":1926,"title":1927},"\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":1929,"title":1930},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1932,"title":1933},"\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":1935,"title":1936},"\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":1938,"title":1939},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1941,"title":1942},"\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":1944,"title":1945},"\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":1947,"title":1948},"\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":1950,"title":1951},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1953,"title":1954},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1956,"title":1957},"\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":1959,"title":1960},"\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":1962,"title":1963},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1965,"title":1966},"\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":1968,"title":1969},"\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":1971,"title":1972},"\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":1974,"title":1975},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":1977,"title":1978},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1980,"title":1981},"\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":1983,"title":1984},"\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":1986,"title":1987},"\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":1989,"title":1990},"\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":1992,"title":1993},"\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":1995,"title":1996},"\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":1998,"title":1999},"\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":2001,"title":2002},"\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":2004,"title":2005},"\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":2007,"title":2008},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2010,"title":2011},"\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":2013,"title":2014},"\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":2016,"title":2017},"\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":2019,"title":2020},"\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":2022,"title":2023},"\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":2025,"title":2026},"\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":2028,"title":2029},"\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":2031,"title":2032},"\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":2034,"title":2035},"\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":2037,"title":2038},"\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":2040,"title":2041},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2043,"title":2044},"\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":2046,"title":2047},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":2049,"title":2050},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2052,"title":2053},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2055,"title":2056},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2058,"title":2059},"\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":2061,"title":2062},"\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":2064,"title":2065},"\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":2067,"title":2068},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2070,"title":2071},"\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":2073,"title":2074},"\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":2076,"title":2077},"\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":2079,"title":1677},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults",{"path":2081,"title":2082},"\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":2084,"title":2085},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2087,"title":2088},"\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":2090,"title":2091},"\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":2093,"title":2094},"\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":2096,"title":2097},"\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":2099,"title":2100},"\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":2102,"title":2103},"\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":2105,"title":2106},"\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":2108,"title":2109},"\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":2111,"title":2112},"\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":2114,"title":2115},"\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":2117,"title":2118},"\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":2120,"title":2121},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2123,"title":2124},"\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":2126,"title":2127},"\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":2129,"title":2130},"\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":2132,"title":1036},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames",{"path":2134,"title":2135},"\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":2137,"title":2138},"\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":2140,"title":2141},"\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":2143,"title":2144},"\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":2146,"title":2147},"\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":2149,"title":2150},"\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":2152,"title":2153},"\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":2155,"title":2156},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2158,"title":2159},"\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":2161,"title":2162},"\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":2164,"title":2165},"\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":2167,"title":2168},"\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":2170,"title":2171},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2173,"title":2174},"\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":2176,"title":2177},"\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":2179,"title":2180},"\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":2182,"title":29},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization",{"path":2184,"title":1684},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites",{"path":2186,"title":2187},"\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":2189,"title":2190},"\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":2192,"title":2193},"\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":2195,"title":2196},"\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":1727,"title":5},{"path":2199,"title":2200},"\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":2202,"title":2203},"\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":2205,"title":2206},"\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":2208,"title":2209},"\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":2211,"title":2212},"\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":2214,"title":2215},"\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":2217,"title":2218},"\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":2220,"title":2221},"\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":2223,"title":2224},"\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":2226,"title":2227},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2229,"title":2230},"\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":2232,"title":2233},"\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":2235,"title":2236},"\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":2238,"title":1665},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page",{"path":2240,"title":2241},"\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":2243,"title":2244},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2246,"title":2247},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2249,"title":2250},"\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":2252,"title":2253},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2255,"title":2256},"\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":2258,"title":2259},"\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":2261,"title":2262},"\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":2264,"title":2265},"\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":2267,"title":2268},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2270,"title":2271},"\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":2273,"title":2274},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2276,"title":2277},"\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":2279,"title":2280},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2282,"title":2283},"\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":2285,"title":2286},"\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":2288,"title":2289},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2291,"title":2292},"\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":2294,"title":2295},"\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":2297,"title":2298},"\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":2300,"title":2301},"\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":2303,"title":2304},"\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":2306,"title":1713},"\u002Fperformance-optimization-core-web-vitals-for-ssgs",{"path":2308,"title":2309},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2311,"title":2312},"\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":2314,"title":2315},"\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":2317,"title":2318},"\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":2320,"title":2321},"\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":2323,"title":2324},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds","How to Reduce Bundle Size in Eleventy Builds",{"path":2326,"title":2327},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2329,"title":2330},"\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":2332,"title":2333},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2335,"title":2336},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2338,"title":2339},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2341,"title":2342},"\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":2344,"title":2345},"\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":2347,"title":2348},"\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":2350,"title":2351},"\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":2353,"title":2354},"\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":2356,"title":2357},"\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":2359,"title":2360},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2362,"title":2363},"\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":2365,"title":2366},"\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":2368,"title":2369},"\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":2371,"title":2372},"\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":2374,"title":2375},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2377,"title":2378},"\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":2380,"title":2381},"\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":2383,"title":2384},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2386,"title":2387},"\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":2389,"title":2390},"\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":2392,"title":2393},"\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":2395,"title":2396},"\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":2398,"title":2399},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-bundle-size-per-pull-request","Tracking Bundle Size per Pull Request",{"path":2401,"title":2402},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2404,"title":2405},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fwriting-a-performance-budget-that-fails-builds","Writing a Performance Budget That Fails Builds",{"path":2407,"title":2408},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2410,"title":2411},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2413,"title":2414},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2416,"title":2417},"\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":2419,"title":2420},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2422,"title":2423},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2425,"title":2426},"\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":2428,"title":2429},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2431,"title":2432},"\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":2434,"title":2435},"\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":2437,"title":2438},"\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":2440,"title":2441},"\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":2443,"title":2444},"\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":2446,"title":2447},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2449,"title":2450},"\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":2452,"title":2453},"\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":2455,"title":2456},"\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":2458,"title":2459},"\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":2461,"title":2462},"\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":2464,"title":2465},"\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":2467,"title":2468},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2470,"title":2471},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2473,"title":2474},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2476,"title":2477},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2479,"title":2480},"\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":2482,"title":2483},"\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":2485,"title":2486},"\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":2488,"title":2489},"\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":2491,"title":2492},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2494,"title":2495},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2497,"title":2498},"\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":2500,"title":2501},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2503,"title":2504},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2506,"title":2507},"\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":2509,"title":2510},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2512,"title":2513},"\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":2515,"title":2516},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2518,"title":2519},"\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":2521,"title":2522},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2524,"title":2525},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2527,"title":2528},"\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":2530,"title":2531},"\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":2533,"title":2534},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2536,"title":2537},"\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":2539,"title":2540},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2542,"title":2543},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2545,"title":2546},"\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":2548,"title":2549},"\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":2551,"title":2552},"\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":2554,"title":2555},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2557,"title":2558},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2560,"title":2561},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2563,"title":2564},"\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":2566,"title":2567},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2569,"title":2570},"\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":2572,"title":2573},"\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":2575,"title":2576},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2578,"title":2579},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2581,"title":2582},"\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":2584,"title":2585},"\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":2587,"title":2588},"\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":2590,"title":2591},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2593,"title":2594},"\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":2596,"title":2597},"\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":2599,"title":2600},"\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":2602,"title":2603},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2605,"title":2606},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2608,"title":2609},"\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":2611,"title":2612},"\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":2614,"title":2615},"\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":2617,"title":2618},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2620,"title":2621},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2623,"title":2624},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2626,"title":2627},"\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":2629,"title":2630},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2632,"title":2633},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2635,"title":2636},"\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":2638,"title":2639},"\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":2641,"title":2642},"\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":2644,"title":2645},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2647,"title":2648},"\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":2650,"title":2651},"\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":2653,"title":2654},"\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":2656,"title":2657},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2659,"title":2660},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2662,"title":2663},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2665,"title":2666},"\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":2668,"title":2669},"\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":2671,"title":2672},"\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":2674,"title":2675},"\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":2677,"title":2678},"\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":2680,"title":2681},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2683,"title":2684},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2686,"title":2687},"\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":2689,"title":2690},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2692,"title":2693},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2695,"title":2696},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2698,"title":2699},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2701,"title":2702},"\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":2704,"title":2705},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2707,"title":2708},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2710,"title":2711},"\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":2713,"title":2714},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2716,"title":2717},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2719,"title":2720},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2722,"title":2723},"\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":2725,"title":2726},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2728,"title":2729},"\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":2731,"title":2732},"\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":2734,"title":2735},"\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":2737,"title":2738},"\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":2740,"title":2741},"\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":2743,"title":2744},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2746,"title":2747},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2749,"title":2750},"\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":2752,"title":2753},"\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":2755,"title":2756},"\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":2758,"title":2759},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2761,"title":2762},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2764,"title":2765},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2767,"title":2768},"\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":2770,"title":2771},"\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":2773,"title":2774},"\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":2776,"title":2777},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2779,"title":2780},"\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":2782,"title":2783},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2785,"title":2786},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2788,"title":2789},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2791,"title":2792},"\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":2794,"title":2795},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2797,"title":2798},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2800,"title":2801},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2803,"title":2804},"\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":2806,"title":2807},"\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":2809,"title":2810},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2812,"title":2813},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2815,"title":2816},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2818,"title":2819},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2821,"title":2822},"\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":2824,"title":2825},"\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":2827,"title":2828},"\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":2830,"title":2831},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2833,"title":2834},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2836,"title":2837},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2839,"title":2840},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2842,"title":2843},"\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":2845,"title":2846},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2848,"title":1322},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci",{"path":2850,"title":2851},"\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":2853,"title":2854},"\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":2856,"title":2857},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2859,"title":2860},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2862,"title":2863},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2865,"title":2866},"\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":2868,"title":2869},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2871,"title":2872},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2874,"tools":2878},{"label":2875,"plural":2876,"u":2877},"Comparison","Comparisons","\u002Fguides\u002Fcomparisons\u002F",[],1790943192277]