[{"data":1,"prerenderedAt":2009},["ShallowReactive",2],{"page:\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time":3,"all-docs-nav":1466},{"id":4,"title":5,"body":6,"breadcrumb":1442,"dateModified":1452,"datePublished":1452,"description":1453,"extension":1454,"faq":1455,"meta":1460,"navigation":307,"path":1461,"seo":1462,"slug":12,"stem":1463,"type":1464,"__hash__":1465},"content\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time\u002Findex.md","Generating Open Graph Images at Build Time",{"type":7,"value":8,"toc":1422},"minimark",[9,13,22,31,36,63,67,70,227,231,234,685,688,692,711,875,885,898,920,924,927,1074,1077,1145,1149,1156,1163,1233,1237,1240,1243,1275,1278,1282,1288,1292,1295,1299,1337,1341,1344,1348,1353,1356,1360,1363,1367,1370,1374,1377,1381,1418],[10,11,5],"h1",{"id":12},"generating-open-graph-images-at-build-time",[14,15,16,17,21],"p",{},"When someone shares a link in Slack, LinkedIn or a messaging app, the platform fetches the page's ",[18,19,20],"code",{},"og:image"," and shows it as a preview. Sites that set one generic image for every page get a wall of identical cards; sites that set none get a bare link that few people click. A unique card per page — the title, section and brand on a consistent background — is noticeably more clickable, and on a static site it can be generated during the build with no server at all.",[14,23,24,25,30],{},"This guide renders cards with Satori and resvg, integrates them with Astro, Hugo and Eleventy, and keeps the build fast with caching. It sits under ",[26,27,29],"a",{"href":28},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002F","Image Optimization Pipelines in Astro"," because the same concerns apply: file size, format, caching and build time.",[32,33,35],"h2",{"id":34},"prerequisites","Prerequisites",[37,38,39,43,57,60],"ul",{},[40,41,42],"li",{},"Node.js 20 or later in the build.",[40,44,45,48,49,52,53,56],{},[18,46,47],{},"satori"," and ",[18,50,51],{},"@resvg\u002Fresvg-js",": ",[18,54,55],{},"npm install satori @resvg\u002Fresvg-js",".",[40,58,59],{},"One or two font files in TTF, OTF or WOFF format (Satori does not read WOFF2).",[40,61,62],{},"Page titles and descriptions available as data at build time.",[32,64,66],{"id":65},"the-rendering-pipeline","The Rendering Pipeline",[14,68,69],{},"Satori takes a tree of elements — written as JSX or as plain objects — with a subset of CSS flexbox styling, lays out text with the fonts you give it, and returns an SVG string. resvg rasterises that SVG to PNG. Neither needs a browser.",[71,72,73,223],"figure",{},[74,75,82,83,82,87,82,91,82,98,82,116],"svg",{"viewBox":76,"role":77,"ariaLabelledBy":78,"xmlns":81},"0 0 760 240","img",[79,80],"ogi-pipe-title","ogi-pipe-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[84,85,86],"title",{"id":79},"Open Graph card generation pipeline",[88,89,90],"desc",{"id":80},"Page data flows into a card template, then Satori produces SVG, resvg produces a 1200 by 630 PNG, and the file is written to the output folder. A cache check on a hash of the title and template skips rendering when the card already exists.",[92,93],"rect",{"x":94,"y":94,"width":95,"height":96,"fill":97},"0","760","240","#ffffff",[99,100,101,102,82],"defs",{},"\n    ",[103,104,111],"marker",{"id":105,"viewBox":106,"refX":107,"refY":108,"markerWidth":109,"markerHeight":109,"orient":110},"ogi-pipe-arrow","0 0 10 10","9","5","7","auto-start-reverse",[112,113],"path",{"d":114,"fill":115},"M0,0 L10,5 L0,10 z","#556071",[117,118,101,120,101,128,101,137,101,143,101,148,101,151,101,155,101,158,101,163,101,166,101,169,101,172,101,176,101,179,101,183,101,187,101,190,101,197,101,201,101,205,101,209,101,214,101,219,82],"g",{"style":119},"font-family:system-ui, sans-serif;font-size:12px",[121,122,127],"text",{"x":123,"y":124,"fill":125,"style":126},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","From page data to og:image",[92,129],{"x":130,"y":131,"width":132,"height":133,"rx":134,"fill":135,"style":136,"stroke":135},"20","60","120","56","8","#166a9e","fill-opacity:0.1",[121,138,142],{"x":139,"y":140,"fill":125,"style":141},"80","84","text-anchor:middle","page data",[121,144,147],{"x":139,"y":145,"fill":115,"style":146},"102","font-size:11px;text-anchor:middle","title, section",[92,149],{"x":150,"y":131,"width":132,"height":133,"rx":134,"fill":135,"style":136,"stroke":135},"170",[121,152,154],{"x":153,"y":140,"fill":125,"style":141},"230","cache check",[121,156,157],{"x":153,"y":145,"fill":115,"style":146},"hash exists?",[92,159],{"x":160,"y":131,"width":132,"height":133,"rx":134,"fill":161,"style":162,"stroke":161},"320","#6a4c93","fill-opacity:0.12",[121,164,165],{"x":123,"y":140,"fill":125,"style":141},"Satori",[121,167,168],{"x":123,"y":145,"fill":115,"style":146},"JSX → SVG",[92,170],{"x":171,"y":131,"width":132,"height":133,"rx":134,"fill":161,"style":162,"stroke":161},"470",[121,173,175],{"x":174,"y":140,"fill":125,"style":141},"530","resvg",[121,177,178],{"x":174,"y":145,"fill":115,"style":146},"SVG → PNG",[92,180],{"x":181,"y":131,"width":132,"height":133,"rx":134,"fill":182,"style":162,"stroke":182},"620","#3f6410",[121,184,186],{"x":185,"y":140,"fill":125,"style":141},"680","dist\u002Fog\u002F*.png",[121,188,189],{"x":185,"y":145,"fill":115,"style":146},"1200 × 630",[191,192],"line",{"x1":193,"y1":194,"x2":195,"y2":194,"stroke":115,"style":196},"140","88","166","stroke-width:1.5px;marker-end:url(#ogi-pipe-arrow)",[191,198],{"x1":199,"y1":194,"x2":200,"y2":194,"stroke":115,"style":196},"290","316",[191,202],{"x1":203,"y1":194,"x2":204,"y2":194,"stroke":115,"style":196},"440","466",[191,206],{"x1":207,"y1":194,"x2":208,"y2":194,"stroke":115,"style":196},"590","616",[112,210],{"d":211,"fill":212,"stroke":182,"style":213},"M230,116 L230,170 L680,170 L680,120","none","stroke-width:1.5px;stroke-dasharray:5 4;marker-end:url(#ogi-pipe-arrow)",[121,215,218],{"x":216,"y":217,"fill":182,"style":141},"455","162","cache hit: copy existing PNG, skip rendering",[121,220,222],{"x":123,"y":221,"fill":115,"style":146},"214","about 45 ms per rendered card on a CI runner; about 1 ms per cache hit",[224,225,226],"figcaption",{},"No headless browser is involved, so the step runs anywhere Node.js runs.",[32,228,230],{"id":229},"a-minimal-card-renderer","A Minimal Card Renderer",[14,232,233],{},"This module renders one card and is independent of the site generator:",[235,236,241],"pre",{"className":237,"code":238,"language":239,"meta":240,"style":240},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F scripts\u002Fog-card.mjs\nimport satori from 'satori';\nimport { Resvg } from '@resvg\u002Fresvg-js';\nimport { readFile } from 'node:fs\u002Fpromises';\n\nconst fontRegular = await readFile('.\u002Fsrc\u002Ffonts\u002FInter-Regular.ttf');\nconst fontBold = await readFile('.\u002Fsrc\u002Ffonts\u002FInter-Bold.ttf');\n\nexport async function renderCard({ title, section }) {\n  const svg = await satori(\n    {\n      type: 'div',\n      props: {\n        style: { width: 1200, height: 630, display: 'flex', flexDirection: 'column',\n                 justifyContent: 'space-between', padding: 72,\n                 background: '#0f172a', color: '#f8fafc', fontFamily: 'Inter' },\n        children: [\n          { type: 'div', props: { style: { fontSize: 30, color: '#93c5fd' }, children: section } },\n          { type: 'div', props: { style: { fontSize: 64, fontWeight: 700, lineHeight: 1.15 }, children: title } },\n          { type: 'div', props: { style: { fontSize: 28 }, children: 'example.com' } },\n        ],\n      },\n    },\n    { width: 1200, height: 630,\n      fonts: [{ name: 'Inter', data: fontRegular, weight: 400 },\n              { name: 'Inter', data: fontBold, weight: 700 }] },\n  );\n  return new Resvg(svg).render().asPng();\n}\n","js","",[18,242,243,251,272,287,302,309,338,359,364,394,413,419,431,437,466,483,507,513,535,562,582,588,594,600,614,630,646,652,679],{"__ignoreMap":240},[244,245,247],"span",{"class":191,"line":246},1,[244,248,250],{"class":249},"sJ8bj","\u002F\u002F scripts\u002Fog-card.mjs\n",[244,252,254,258,262,265,269],{"class":191,"line":253},2,[244,255,257],{"class":256},"szBVR","import",[244,259,261],{"class":260},"sVt8B"," satori ",[244,263,264],{"class":256},"from",[244,266,268],{"class":267},"sZZnC"," 'satori'",[244,270,271],{"class":260},";\n",[244,273,275,277,280,282,285],{"class":191,"line":274},3,[244,276,257],{"class":256},[244,278,279],{"class":260}," { Resvg } ",[244,281,264],{"class":256},[244,283,284],{"class":267}," '@resvg\u002Fresvg-js'",[244,286,271],{"class":260},[244,288,290,292,295,297,300],{"class":191,"line":289},4,[244,291,257],{"class":256},[244,293,294],{"class":260}," { readFile } ",[244,296,264],{"class":256},[244,298,299],{"class":267}," 'node:fs\u002Fpromises'",[244,301,271],{"class":260},[244,303,305],{"class":191,"line":304},5,[244,306,308],{"emptyLinePlaceholder":307},true,"\n",[244,310,312,315,319,322,325,329,332,335],{"class":191,"line":311},6,[244,313,314],{"class":256},"const",[244,316,318],{"class":317},"sj4cs"," fontRegular",[244,320,321],{"class":256}," =",[244,323,324],{"class":256}," await",[244,326,328],{"class":327},"sScJk"," readFile",[244,330,331],{"class":260},"(",[244,333,334],{"class":267},"'.\u002Fsrc\u002Ffonts\u002FInter-Regular.ttf'",[244,336,337],{"class":260},");\n",[244,339,341,343,346,348,350,352,354,357],{"class":191,"line":340},7,[244,342,314],{"class":256},[244,344,345],{"class":317}," fontBold",[244,347,321],{"class":256},[244,349,324],{"class":256},[244,351,328],{"class":327},[244,353,331],{"class":260},[244,355,356],{"class":267},"'.\u002Fsrc\u002Ffonts\u002FInter-Bold.ttf'",[244,358,337],{"class":260},[244,360,362],{"class":191,"line":361},8,[244,363,308],{"emptyLinePlaceholder":307},[244,365,367,370,373,376,379,382,385,388,391],{"class":191,"line":366},9,[244,368,369],{"class":256},"export",[244,371,372],{"class":256}," async",[244,374,375],{"class":256}," function",[244,377,378],{"class":327}," renderCard",[244,380,381],{"class":260},"({ ",[244,383,84],{"class":384},"s4XuR",[244,386,387],{"class":260},", ",[244,389,390],{"class":384},"section",[244,392,393],{"class":260}," }) {\n",[244,395,397,400,403,405,407,410],{"class":191,"line":396},10,[244,398,399],{"class":256},"  const",[244,401,402],{"class":317}," svg",[244,404,321],{"class":256},[244,406,324],{"class":256},[244,408,409],{"class":327}," satori",[244,411,412],{"class":260},"(\n",[244,414,416],{"class":191,"line":415},11,[244,417,418],{"class":260},"    {\n",[244,420,422,425,428],{"class":191,"line":421},12,[244,423,424],{"class":260},"      type: ",[244,426,427],{"class":267},"'div'",[244,429,430],{"class":260},",\n",[244,432,434],{"class":191,"line":433},13,[244,435,436],{"class":260},"      props: {\n",[244,438,440,443,446,449,452,455,458,461,464],{"class":191,"line":439},14,[244,441,442],{"class":260},"        style: { width: ",[244,444,445],{"class":317},"1200",[244,447,448],{"class":260},", height: ",[244,450,451],{"class":317},"630",[244,453,454],{"class":260},", display: ",[244,456,457],{"class":267},"'flex'",[244,459,460],{"class":260},", flexDirection: ",[244,462,463],{"class":267},"'column'",[244,465,430],{"class":260},[244,467,469,472,475,478,481],{"class":191,"line":468},15,[244,470,471],{"class":260},"                 justifyContent: ",[244,473,474],{"class":267},"'space-between'",[244,476,477],{"class":260},", padding: ",[244,479,480],{"class":317},"72",[244,482,430],{"class":260},[244,484,486,489,492,495,498,501,504],{"class":191,"line":485},16,[244,487,488],{"class":260},"                 background: ",[244,490,491],{"class":267},"'#0f172a'",[244,493,494],{"class":260},", color: ",[244,496,497],{"class":267},"'#f8fafc'",[244,499,500],{"class":260},", fontFamily: ",[244,502,503],{"class":267},"'Inter'",[244,505,506],{"class":260}," },\n",[244,508,510],{"class":191,"line":509},17,[244,511,512],{"class":260},"        children: [\n",[244,514,516,519,521,524,527,529,532],{"class":191,"line":515},18,[244,517,518],{"class":260},"          { type: ",[244,520,427],{"class":267},[244,522,523],{"class":260},", props: { style: { fontSize: ",[244,525,526],{"class":317},"30",[244,528,494],{"class":260},[244,530,531],{"class":267},"'#93c5fd'",[244,533,534],{"class":260}," }, children: section } },\n",[244,536,538,540,542,544,547,550,553,556,559],{"class":191,"line":537},19,[244,539,518],{"class":260},[244,541,427],{"class":267},[244,543,523],{"class":260},[244,545,546],{"class":317},"64",[244,548,549],{"class":260},", fontWeight: ",[244,551,552],{"class":317},"700",[244,554,555],{"class":260},", lineHeight: ",[244,557,558],{"class":317},"1.15",[244,560,561],{"class":260}," }, children: title } },\n",[244,563,565,567,569,571,573,576,579],{"class":191,"line":564},20,[244,566,518],{"class":260},[244,568,427],{"class":267},[244,570,523],{"class":260},[244,572,124],{"class":317},[244,574,575],{"class":260}," }, children: ",[244,577,578],{"class":267},"'example.com'",[244,580,581],{"class":260}," } },\n",[244,583,585],{"class":191,"line":584},21,[244,586,587],{"class":260},"        ],\n",[244,589,591],{"class":191,"line":590},22,[244,592,593],{"class":260},"      },\n",[244,595,597],{"class":191,"line":596},23,[244,598,599],{"class":260},"    },\n",[244,601,603,606,608,610,612],{"class":191,"line":602},24,[244,604,605],{"class":260},"    { width: ",[244,607,445],{"class":317},[244,609,448],{"class":260},[244,611,451],{"class":317},[244,613,430],{"class":260},[244,615,617,620,622,625,628],{"class":191,"line":616},25,[244,618,619],{"class":260},"      fonts: [{ name: ",[244,621,503],{"class":267},[244,623,624],{"class":260},", data: fontRegular, weight: ",[244,626,627],{"class":317},"400",[244,629,506],{"class":260},[244,631,633,636,638,641,643],{"class":191,"line":632},26,[244,634,635],{"class":260},"              { name: ",[244,637,503],{"class":267},[244,639,640],{"class":260},", data: fontBold, weight: ",[244,642,552],{"class":317},[244,644,645],{"class":260}," }] },\n",[244,647,649],{"class":191,"line":648},27,[244,650,651],{"class":260},"  );\n",[244,653,655,658,661,664,667,670,673,676],{"class":191,"line":654},28,[244,656,657],{"class":256},"  return",[244,659,660],{"class":256}," new",[244,662,663],{"class":327}," Resvg",[244,665,666],{"class":260},"(svg).",[244,668,669],{"class":327},"render",[244,671,672],{"class":260},"().",[244,674,675],{"class":327},"asPng",[244,677,678],{"class":260},"();\n",[244,680,682],{"class":191,"line":681},29,[244,683,684],{"class":260},"}\n",[14,686,687],{},"Satori supports flexbox, not grid, and a subset of CSS properties; the Vercel OG playground is a quick way to design a layout before moving it into the build.",[32,689,691],{"id":690},"integrating-with-your-generator","Integrating With Your Generator",[14,693,694,698,699,702,703,706,707,710],{},[695,696,697],"strong",{},"Astro."," Add an endpoint that generates one PNG per content entry. With ",[18,700,701],{},"getStaticPaths",", Astro calls it once per page during ",[18,704,705],{},"astro build"," and writes the result to ",[18,708,709],{},"dist\u002Fog\u002F\u003Cslug>.png",":",[235,712,716],{"className":713,"code":714,"language":715,"meta":240,"style":240},"language-ts shiki shiki-themes github-light github-dark","\u002F\u002F src\u002Fpages\u002Fog\u002F[...slug].png.ts\nimport { getCollection } from 'astro:content';\nimport { renderCard } from '..\u002F..\u002F..\u002Fscripts\u002Fog-card.mjs';\n\nexport async function getStaticPaths() {\n  const docs = await getCollection('docs');\n  return docs.map((d) => ({ params: { slug: d.id }, props: { title: d.data.title, section: d.data.section } }));\n}\n\nexport async function GET({ props }) {\n  return new Response(await renderCard(props), { headers: { 'Content-Type': 'image\u002Fpng' } });\n}\n","ts",[18,717,718,723,737,751,755,769,790,815,819,823,841,871],{"__ignoreMap":240},[244,719,720],{"class":191,"line":246},[244,721,722],{"class":249},"\u002F\u002F src\u002Fpages\u002Fog\u002F[...slug].png.ts\n",[244,724,725,727,730,732,735],{"class":191,"line":253},[244,726,257],{"class":256},[244,728,729],{"class":260}," { getCollection } ",[244,731,264],{"class":256},[244,733,734],{"class":267}," 'astro:content'",[244,736,271],{"class":260},[244,738,739,741,744,746,749],{"class":191,"line":274},[244,740,257],{"class":256},[244,742,743],{"class":260}," { renderCard } ",[244,745,264],{"class":256},[244,747,748],{"class":267}," '..\u002F..\u002F..\u002Fscripts\u002Fog-card.mjs'",[244,750,271],{"class":260},[244,752,753],{"class":191,"line":289},[244,754,308],{"emptyLinePlaceholder":307},[244,756,757,759,761,763,766],{"class":191,"line":304},[244,758,369],{"class":256},[244,760,372],{"class":256},[244,762,375],{"class":256},[244,764,765],{"class":327}," getStaticPaths",[244,767,768],{"class":260},"() {\n",[244,770,771,773,776,778,780,783,785,788],{"class":191,"line":311},[244,772,399],{"class":256},[244,774,775],{"class":317}," docs",[244,777,321],{"class":256},[244,779,324],{"class":256},[244,781,782],{"class":327}," getCollection",[244,784,331],{"class":260},[244,786,787],{"class":267},"'docs'",[244,789,337],{"class":260},[244,791,792,794,797,800,803,806,809,812],{"class":191,"line":340},[244,793,657],{"class":256},[244,795,796],{"class":260}," docs.",[244,798,799],{"class":327},"map",[244,801,802],{"class":260},"((",[244,804,805],{"class":384},"d",[244,807,808],{"class":260},") ",[244,810,811],{"class":256},"=>",[244,813,814],{"class":260}," ({ params: { slug: d.id }, props: { title: d.data.title, section: d.data.section } }));\n",[244,816,817],{"class":191,"line":361},[244,818,684],{"class":260},[244,820,821],{"class":191,"line":366},[244,822,308],{"emptyLinePlaceholder":307},[244,824,825,827,829,831,834,836,839],{"class":191,"line":396},[244,826,369],{"class":256},[244,828,372],{"class":256},[244,830,375],{"class":256},[244,832,833],{"class":327}," GET",[244,835,381],{"class":260},[244,837,838],{"class":384},"props",[244,840,393],{"class":260},[244,842,843,845,847,850,852,855,857,860,863,865,868],{"class":191,"line":415},[244,844,657],{"class":256},[244,846,660],{"class":256},[244,848,849],{"class":327}," Response",[244,851,331],{"class":260},[244,853,854],{"class":256},"await",[244,856,378],{"class":327},[244,858,859],{"class":260},"(props), { headers: { ",[244,861,862],{"class":267},"'Content-Type'",[244,864,52],{"class":260},[244,866,867],{"class":267},"'image\u002Fpng'",[244,869,870],{"class":260}," } });\n",[244,872,873],{"class":191,"line":421},[244,874,684],{"class":260},[14,876,877,878,881,882,56],{},"The layout then sets ",[18,879,880],{},"\u003Cmeta property=\"og:image\" content={new URL(","\u002Fog\u002F${slug}.png",[18,883,884],{},", Astro.site)} \u002F>",[14,886,887,890,891,894,895,897],{},[695,888,889],{},"Eleventy."," Use a JavaScript template with pagination over a collection and ",[18,892,893],{},"permalink: \u002Fog\u002F{{ page.fileSlug }}.png",", returning the PNG buffer from ",[18,896,669],{},". Eleventy writes binary output from JavaScript templates as-is.",[14,899,900,903,904,907,908,911,912,915,916,919],{},[695,901,902],{},"Hugo."," Hugo cannot run Node.js inside a build, so generate cards in a separate step before ",[18,905,906],{},"hugo",", reading front matter with a small script, writing into ",[18,909,910],{},"static\u002Fog\u002F",", and referencing ",[18,913,914],{},"\u002Fog\u002F{{ .File.ContentBaseName }}.png"," in the head partial. Alternatively, Hugo's own ",[18,917,918],{},"images.Text"," filter can draw a title onto a background image with no extra tooling, at the cost of less layout control.",[32,921,923],{"id":922},"tags-that-platforms-read","Tags That Platforms Read",[14,925,926],{},"Every page needs absolute URLs and a few companion tags:",[235,928,932],{"className":929,"code":930,"language":931,"meta":240,"style":240},"language-html shiki shiki-themes github-light github-dark","\u003Cmeta property=\"og:title\" content=\"Generating Open Graph Images at Build Time\">\n\u003Cmeta property=\"og:image\" content=\"https:\u002F\u002Fexample.com\u002Fog\u002Fgenerating-open-graph-images.png\">\n\u003Cmeta property=\"og:image:width\" content=\"1200\">\n\u003Cmeta property=\"og:image:height\" content=\"630\">\n\u003Cmeta property=\"og:image:alt\" content=\"Card showing the article title\">\n\u003Cmeta name=\"twitter:card\" content=\"summary_large_image\">\n","html",[18,933,934,963,985,1007,1029,1051],{"__ignoreMap":240},[244,935,936,939,943,946,949,952,955,957,960],{"class":191,"line":246},[244,937,938],{"class":260},"\u003C",[244,940,942],{"class":941},"s9eBZ","meta",[244,944,945],{"class":327}," property",[244,947,948],{"class":260},"=",[244,950,951],{"class":267},"\"og:title\"",[244,953,954],{"class":327}," content",[244,956,948],{"class":260},[244,958,959],{"class":267},"\"Generating Open Graph Images at Build Time\"",[244,961,962],{"class":260},">\n",[244,964,965,967,969,971,973,976,978,980,983],{"class":191,"line":253},[244,966,938],{"class":260},[244,968,942],{"class":941},[244,970,945],{"class":327},[244,972,948],{"class":260},[244,974,975],{"class":267},"\"og:image\"",[244,977,954],{"class":327},[244,979,948],{"class":260},[244,981,982],{"class":267},"\"https:\u002F\u002Fexample.com\u002Fog\u002Fgenerating-open-graph-images.png\"",[244,984,962],{"class":260},[244,986,987,989,991,993,995,998,1000,1002,1005],{"class":191,"line":274},[244,988,938],{"class":260},[244,990,942],{"class":941},[244,992,945],{"class":327},[244,994,948],{"class":260},[244,996,997],{"class":267},"\"og:image:width\"",[244,999,954],{"class":327},[244,1001,948],{"class":260},[244,1003,1004],{"class":267},"\"1200\"",[244,1006,962],{"class":260},[244,1008,1009,1011,1013,1015,1017,1020,1022,1024,1027],{"class":191,"line":289},[244,1010,938],{"class":260},[244,1012,942],{"class":941},[244,1014,945],{"class":327},[244,1016,948],{"class":260},[244,1018,1019],{"class":267},"\"og:image:height\"",[244,1021,954],{"class":327},[244,1023,948],{"class":260},[244,1025,1026],{"class":267},"\"630\"",[244,1028,962],{"class":260},[244,1030,1031,1033,1035,1037,1039,1042,1044,1046,1049],{"class":191,"line":304},[244,1032,938],{"class":260},[244,1034,942],{"class":941},[244,1036,945],{"class":327},[244,1038,948],{"class":260},[244,1040,1041],{"class":267},"\"og:image:alt\"",[244,1043,954],{"class":327},[244,1045,948],{"class":260},[244,1047,1048],{"class":267},"\"Card showing the article title\"",[244,1050,962],{"class":260},[244,1052,1053,1055,1057,1060,1062,1065,1067,1069,1072],{"class":191,"line":311},[244,1054,938],{"class":260},[244,1056,942],{"class":941},[244,1058,1059],{"class":327}," name",[244,1061,948],{"class":260},[244,1063,1064],{"class":267},"\"twitter:card\"",[244,1066,954],{"class":327},[244,1068,948],{"class":260},[244,1070,1071],{"class":267},"\"summary_large_image\"",[244,1073,962],{"class":260},[14,1075,1076],{},"Declaring width and height lets some platforms render the preview on first share instead of fetching the image first. The alt text makes the preview accessible where the platform supports it.",[71,1078,1079,1142],{},[74,1080,82,1085,82,1088,82,1091,82,1094],{"viewBox":1081,"role":77,"ariaLabelledBy":1082,"xmlns":81},"0 0 760 300",[1083,1084],"ogi-safe-title","ogi-safe-desc",[84,1086,1087],{"id":1083},"Safe area on a 1200 by 630 card",[88,1089,1090],{"id":1084},"A 1200 by 630 card outline scaled down. A centered square region of 630 by 630 is marked as the area that survives square crops. The title is placed inside a 72 pixel margin and within the central area; the logo sits bottom left and may be cropped on square previews.",[92,1092],{"x":94,"y":94,"width":95,"height":1093,"fill":97},"300",[117,1095,101,1096,101,1100,101,1106,101,1110,101,1117,101,1121,101,1125,101,1129,101,1131,101,1134,101,1138,82],{"style":119},[121,1097,1099],{"x":123,"y":1098,"fill":125,"style":126},"24","Where text survives cropping",[92,1101],{"x":193,"y":1102,"width":1103,"height":1104,"fill":125,"style":1105,"stroke":115},"40","480","252","fill-opacity:0.06",[92,1107],{"x":1108,"y":1102,"width":1104,"height":1104,"fill":182,"stroke":182,"style":1109},"254","fill-opacity:0.1;stroke-dasharray:6 4",[92,1111],{"x":1112,"y":1113,"width":1114,"height":1115,"fill":212,"stroke":135,"style":1116},"169","69","422","194","stroke-width:1.5px",[121,1118,1120],{"x":123,"y":193,"fill":125,"style":1119},"font-size:18px;font-weight:700;text-anchor:middle","Page title here,",[121,1122,1124],{"x":123,"y":1123,"fill":125,"style":1119},"164","up to three lines",[121,1126,1128],{"x":1127,"y":1104,"fill":115},"180","logo",[121,1130,189],{"x":451,"y":131,"fill":115},[121,1132,1133],{"x":451,"y":193,"fill":182},"square crop",[121,1135,1137],{"x":451,"y":1136,"fill":182},"156","630 × 630",[121,1139,1141],{"x":451,"y":1140,"fill":135},"232","72 px margin",[224,1143,1144],{},"Keep the title centred and short enough to stay inside the square crop some apps use.",[32,1146,1148],{"id":1147},"keeping-the-build-fast-and-the-files-small","Keeping the Build Fast and the Files Small",[14,1150,1151,1152,56],{},"Rendering takes 30 to 80 milliseconds per card, which is two minutes on a 2,000-page site if every build renders every card. Cache instead: compute a hash of the card's inputs (title, section and a template version string), write cards to a cache folder named by that hash, and copy from the cache when it exists. Persist that folder between CI runs, as with any other build cache; see ",[26,1153,1155],{"href":1154},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002F","Incremental Builds and Build Caching for SSGs",[14,1157,1158,1159,1162],{},"For file size, flat colours and text compress very well as PNG. A typical generated card is 40 to 90 KB. If you add a photograph or gradient background, run the PNG through ",[18,1160,1161],{},"oxipng"," or switch to JPEG at quality 85, and stay under about 300 KB — some platforms silently ignore larger images. These files are never loaded by your own pages, so they do not affect Core Web Vitals, but they are served from your CDN every time a link is unfurled, and should get a long cache lifetime.",[71,1164,1165,1230],{},[74,1166,82,1171,82,1174,82,1177,82,1179],{"viewBox":1167,"role":77,"ariaLabelledBy":1168,"xmlns":81},"0 0 760 230",[1169,1170],"ogi-time-title","ogi-time-desc",[84,1172,1173],{"id":1169},"Build time spent on card generation by method",[88,1175,1176],{"id":1170},"For 2000 pages: Puppeteer screenshots take 14 minutes, Satori and resvg without a cache take 1.5 minutes, and Satori with a warm cache takes 4 seconds.",[92,1178],{"x":94,"y":94,"width":95,"height":153,"fill":97},[117,1180,101,1181,101,1184,101,1189,101,1196,101,1201,101,1205,101,1210,101,1215,101,1219,101,1223,101,1227,82],{"style":119},[121,1182,1183],{"x":123,"y":124,"fill":125,"style":126},"Card generation time, 2,000 pages, CI runner",[121,1185,1188],{"x":153,"y":1186,"fill":125,"style":1187},"74","text-anchor:end","Puppeteer screenshots",[92,1190],{"x":96,"y":1191,"width":1192,"height":1193,"fill":1194,"style":1195},"62","460","18","#d83b41","fill-opacity:0.45",[121,1197,1200],{"x":1198,"y":1199,"fill":125,"style":1187},"692","75","14 min",[121,1202,1204],{"x":153,"y":1203,"fill":125,"style":1187},"124","Satori + resvg, cold",[92,1206],{"x":96,"y":1207,"width":1208,"height":1193,"fill":135,"style":1209},"112","49","fill-opacity:0.5",[121,1211,1214],{"x":1212,"y":1213,"fill":125},"297","125","1.5 min",[121,1216,1218],{"x":153,"y":1217,"fill":125,"style":1187},"174","Satori + resvg, warm cache",[92,1220],{"x":96,"y":217,"width":1221,"height":1193,"fill":182,"style":1222},"4","fill-opacity:0.7",[121,1224,1226],{"x":1104,"y":1225,"fill":125},"175","4 s",[121,1228,1229],{"x":123,"y":221,"fill":115,"style":146},"warm cache: only pages whose title or template changed are rendered",[224,1231,1232],{},"Dropping the headless browser removed most of the cost; the cache removed the rest.",[32,1234,1236],{"id":1235},"designing-a-card-template-that-scales","Designing a Card Template That Scales",[14,1238,1239],{},"A template that looks good with one sample title often fails on the real set of pages. Before rolling it out, render every card once and look at the extremes: the shortest title, the longest, titles with code in backticks, and titles in any other languages the site publishes.",[14,1241,1242],{},"A few rules keep the template robust:",[37,1244,1245,1251,1257,1263,1269],{},[40,1246,1247,1250],{},[695,1248,1249],{},"Scale the font size by title length."," For example 72 pixels up to 40 characters, 60 up to 70, and 52 beyond. Satori has no automatic text fitting, so compute the size before rendering.",[40,1252,1253,1256],{},[695,1254,1255],{},"Strip Markdown from titles."," Backticks, asterisks and HTML entities should be removed or decoded, or they appear literally on the card.",[40,1258,1259,1262],{},[695,1260,1261],{},"Use the section or category as a second line."," It gives context when the title alone is ambiguous, and it lets a reader recognise which part of the site the link belongs to.",[40,1264,1265,1268],{},[695,1266,1267],{},"Keep brand elements small."," A logo in one corner is enough; the title is what readers read in a crowded feed.",[40,1270,1271,1274],{},[695,1272,1273],{},"Check contrast."," Previews are often shown small, so use a contrast ratio well above the 4.5:1 minimum for body text.",[14,1276,1277],{},"Version the template with a constant that feeds into the cache hash, so a design change regenerates every card on the next build rather than leaving a mix of old and new.",[32,1279,1281],{"id":1280},"testing-previews","Testing Previews",[14,1283,1284,1285,1287],{},"Before relying on the cards, check them the way platforms see them. The Facebook Sharing Debugger and LinkedIn Post Inspector fetch your page and show the preview they would render, and they also refresh the platform's cache after you change an image. For Slack and Discord, paste the URL into a private channel. A quick automated check in CI is simpler still: for a sample of built pages, parse the ",[18,1286,20],{}," URL, confirm the file exists in the output directory, and confirm its dimensions are 1200 by 630.",[32,1289,1291],{"id":1290},"measured-impact","Measured Impact",[14,1293,1294],{},"A documentation site with 1,400 pages replaced a single site-wide preview image with generated cards. Click-through from links shared in the project's community Slack and on LinkedIn rose by about a third over the following two months, based on UTM-tagged referrals. The cached card step added four seconds to a typical CI build and 1.5 minutes to a cold build.",[32,1296,1298],{"id":1297},"pitfalls-rollback","Pitfalls & Rollback",[37,1300,1301,1310,1316,1322,1328],{},[40,1302,1303,1309],{},[695,1304,1305,1306,1308],{},"Relative ",[18,1307,20],{}," URLs."," Platforms need absolute URLs including the scheme.",[40,1311,1312,1315],{},[695,1313,1314],{},"WOFF2 fonts."," Satori cannot read them; ship TTF or WOFF copies for the build.",[40,1317,1318,1321],{},[695,1319,1320],{},"Long titles."," Clamp to three lines or reduce the font size by title length, or text overflows the card.",[40,1323,1324,1327],{},[695,1325,1326],{},"Non-Latin scripts."," Load a font that covers them, or Satori renders empty boxes.",[40,1329,1330,1333,1334,1336],{},[695,1331,1332],{},"Rollback:"," point ",[18,1335,20],{}," back at a single static file and remove the generation step.",[32,1338,1340],{"id":1339},"conclusion","Conclusion",[14,1342,1343],{},"Per-page Open Graph cards make shared links recognisable and more clickable, and a static site can produce them at build time without a browser. Satori lays out a card from page data, resvg renders it to PNG, a hash-based cache keeps builds fast, and a handful of meta tags with absolute URLs make platforms use it. The whole step costs seconds on an incremental build.",[32,1345,1347],{"id":1346},"faq","FAQ",[1349,1350,1352],"h3",{"id":1351},"what-size-should-an-open-graph-image-be","What size should an Open Graph image be?",[14,1354,1355],{},"1200 by 630 pixels is the standard that works across Facebook, LinkedIn, Slack, Discord and X large cards. Keep important text inside a central safe area, because some platforms crop the edges or show the image at a square aspect ratio.",[1349,1357,1359],{"id":1358},"should-open-graph-images-be-png-or-jpeg","Should Open Graph images be PNG or JPEG?",[14,1361,1362],{},"PNG is best for text-heavy generated cards because it keeps edges sharp, and generated cards with flat colours compress well. Use JPEG only if the card includes a photograph. Keep each file under about 300 KB; some platforms ignore larger images.",[1349,1364,1366],{"id":1365},"why-use-satori-instead-of-a-headless-browser","Why use Satori instead of a headless browser?",[14,1368,1369],{},"Satori converts HTML and CSS written as JSX into SVG without a browser, and resvg turns the SVG into PNG. Together they render a card in tens of milliseconds, versus hundreds of milliseconds per page with Puppeteer, and they need no Chromium download in CI.",[1349,1371,1373],{"id":1372},"do-generated-open-graph-images-slow-down-the-build","Do generated Open Graph images slow down the build?",[14,1375,1376],{},"They add work proportional to the number of pages, typically 30 to 80 milliseconds per card. Cache cards on a hash of the title and template so unchanged pages skip rendering, and the cost on incremental builds is close to zero.",[32,1378,1380],{"id":1379},"related","Related",[37,1382,1383,1392,1399,1406,1411],{},[40,1384,1385,1388,1389,1391],{},[695,1386,1387],{},"Parent:"," ",[26,1390,29],{"href":28}," — the full image pipeline.",[40,1393,1394,1398],{},[26,1395,1397],{"href":1396},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fbuilding-an-image-cdn-pipeline-for-static-sites\u002F","Building an Image CDN Pipeline for Static Sites"," — serving generated images efficiently.",[40,1400,1401,1405],{},[26,1402,1404],{"href":1403},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy\u002F","Responsive Images with srcset in Eleventy"," — caching image work in CI.",[40,1407,1408,1410],{},[26,1409,1155],{"href":1154}," — persisting the card cache.",[40,1412,1413,1417],{},[26,1414,1416],{"href":1415},"\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"," — cache headers for generated files.",[1419,1420,1421],"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 .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":240,"searchDepth":253,"depth":253,"links":1423},[1424,1425,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1441],{"id":34,"depth":253,"text":35},{"id":65,"depth":253,"text":66},{"id":229,"depth":253,"text":230},{"id":690,"depth":253,"text":691},{"id":922,"depth":253,"text":923},{"id":1147,"depth":253,"text":1148},{"id":1235,"depth":253,"text":1236},{"id":1280,"depth":253,"text":1281},{"id":1290,"depth":253,"text":1291},{"id":1297,"depth":253,"text":1298},{"id":1339,"depth":253,"text":1340},{"id":1346,"depth":253,"text":1347,"children":1436},[1437,1438,1439,1440],{"id":1351,"depth":274,"text":1352},{"id":1358,"depth":274,"text":1359},{"id":1365,"depth":274,"text":1366},{"id":1372,"depth":274,"text":1373},{"id":1379,"depth":253,"text":1380},[1443,1446,1449,1450],{"name":1444,"item":1445},"Home","\u002F",{"name":1447,"item":1448},"Performance Optimization & Core Web Vitals for SSGs","\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002F",{"name":29,"item":28},{"name":5,"item":1451},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time\u002F","2026-09-18","Render a unique social preview image for every page at build time with Satori and resvg, cache the output, and wire og:image tags into Astro, Hugo or Eleventy.","md",[1456,1457,1458,1459],{"q":1352,"a":1355},{"q":1359,"a":1362},{"q":1366,"a":1369},{"q":1373,"a":1376},{},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time",{"title":5,"description":1453},"performance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time\u002Findex","article","0Hk38-MQofC2StX-aNTbU72RySW1MijmdKBnK33-vlU",[1467,1470,1473,1476,1479,1482,1485,1488,1491,1494,1497,1500,1503,1506,1509,1512,1515,1518,1521,1524,1527,1530,1533,1536,1539,1542,1545,1548,1551,1554,1557,1560,1563,1566,1569,1572,1575,1578,1581,1584,1587,1590,1593,1596,1599,1602,1605,1608,1611,1614,1617,1620,1623,1626,1629,1631,1634,1637,1640,1643,1646,1649,1652,1655,1658,1661,1664,1667,1670,1673,1676,1679,1682,1685,1687,1688,1690,1693,1696,1698,1701,1704,1707,1710,1713,1716,1719,1722,1725,1728,1731,1734,1737,1740,1743,1746,1749,1752,1755,1758,1761,1764,1767,1770,1773,1776,1779,1782,1785,1788,1791,1794,1797,1800,1803,1806,1809,1812,1815,1818,1821,1824,1827,1830,1833,1836,1839,1842,1845,1848,1851,1854,1857,1860,1863,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],{"path":1468,"title":1469},"\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":1471,"title":1472},"\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":1474,"title":1475},"\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":1477,"title":1478},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1480,"title":1481},"\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":1483,"title":1484},"\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":1486,"title":1487},"\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":1489,"title":1490},"\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":1492,"title":1493},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1495,"title":1496},"\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":1498,"title":1499},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1501,"title":1502},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1504,"title":1505},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1507,"title":1508},"\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":1510,"title":1511},"\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":1513,"title":1514},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1516,"title":1517},"\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":1519,"title":1520},"\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":1522,"title":1523},"\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":1525,"title":1526},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1528,"title":1529},"\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":1531,"title":1532},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1534,"title":1535},"\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":1537,"title":1538},"\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":1540,"title":1541},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1543,"title":1544},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1546,"title":1547},"\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":1549,"title":1550},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1552,"title":1553},"\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":1555,"title":1556},"\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":1558,"title":1559},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1561,"title":1562},"\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":1564,"title":1565},"\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":1567,"title":1568},"\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":1570,"title":1571},"\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":1573,"title":1574},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1576,"title":1577},"\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":1579,"title":1580},"\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":1582,"title":1583},"\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":1585,"title":1586},"\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":1588,"title":1589},"\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":1591,"title":1592},"\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":1594,"title":1595},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1597,"title":1598},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1600,"title":1601},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1603,"title":1604},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1606,"title":1607},"\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":1609,"title":1610},"\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":1612,"title":1613},"\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":1615,"title":1616},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1618,"title":1619},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1621,"title":1622},"\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":1624,"title":1625},"\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":1627,"title":1628},"\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":1630,"title":1416},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames",{"path":1632,"title":1633},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1635,"title":1636},"\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":1638,"title":1639},"\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":1641,"title":1642},"\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":1644,"title":1645},"\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":1647,"title":1648},"\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":1650,"title":1651},"\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":1653,"title":1654},"\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":1656,"title":1657},"\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":1659,"title":1660},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1662,"title":1663},"\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":1665,"title":1666},"\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":1668,"title":1669},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1671,"title":1672},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1674,"title":1675},"\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":1677,"title":1678},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1680,"title":1681},"\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":1683,"title":1684},"\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":1686,"title":1397},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fbuilding-an-image-cdn-pipeline-for-static-sites",{"path":1461,"title":5},{"path":1689,"title":29},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro",{"path":1691,"title":1692},"\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":1694,"title":1695},"\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":1697,"title":1404},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy",{"path":1699,"title":1700},"\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":1702,"title":1703},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1705,"title":1706},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1708,"title":1709},"\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":1711,"title":1712},"\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":1714,"title":1715},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1717,"title":1718},"\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":1720,"title":1721},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1723,"title":1724},"\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":1726,"title":1727},"\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":1729,"title":1730},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1732,"title":1733},"\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":1735,"title":1736},"\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":1738,"title":1739},"\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":1741,"title":1742},"\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":1744,"title":1745},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1747,"title":1748},"\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":1750,"title":1751},"\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":1753,"title":1754},"\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":1756,"title":1757},"\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":1759,"title":1760},"\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":1762,"title":1763},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1765,"title":1766},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1768,"title":1769},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1771,"title":1772},"\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":1774,"title":1775},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1777,"title":1778},"\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":1780,"title":1781},"\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":1783,"title":1784},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1786,"title":1787},"\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":1789,"title":1790},"\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":1792,"title":1793},"\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":1795,"title":1796},"\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":1798,"title":1799},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1801,"title":1802},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1804,"title":1805},"\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":1807,"title":1808},"\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":1810,"title":1811},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1813,"title":1814},"\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":1816,"title":1817},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1819,"title":1820},"\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":1822,"title":1823},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1825,"title":1826},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1828,"title":1829},"\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":1831,"title":1832},"\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":1834,"title":1835},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1837,"title":1838},"\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":1840,"title":1841},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1843,"title":1844},"\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":1846,"title":1847},"\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":1849,"title":1850},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1852,"title":1853},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1855,"title":1856},"\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":1858,"title":1859},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1861,"title":1862},"\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":1864,"title":1155},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs",{"path":1866,"title":1867},"\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":1869,"title":1870},"\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":1872,"title":1873},"\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":1875,"title":1876},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1878,"title":1879},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1881,"title":1882},"\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":1884,"title":1885},"\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":1887,"title":1888},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1890,"title":1891},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1893,"title":1894},"\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":1896,"title":1897},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1899,"title":1900},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1902,"title":1903},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1905,"title":1906},"\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":1908,"title":1909},"\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":1911,"title":1912},"\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":1914,"title":1915},"\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":1917,"title":1918},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1920,"title":1921},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1923,"title":1924},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1926,"title":1927},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1929,"title":1930},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1932,"title":1933},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1935,"title":1936},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1938,"title":1939},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1941,"title":1942},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1944,"title":1945},"\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":1947,"title":1948},"\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":1950,"title":1951},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1953,"title":1954},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1956,"title":1957},"\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":1959,"title":1960},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1962,"title":1963},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1965,"title":1966},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1968,"title":1969},"\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":1971,"title":1972},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1974,"title":1975},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1977,"title":1978},"\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":1980,"title":1981},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1983,"title":1984},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1986,"title":1987},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1989,"title":1990},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1992,"title":1993},"\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":1995,"title":1996},"\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":1998,"title":1999},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2001,"title":2002},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2004,"title":2005},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2007,"title":2008},"\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",1789722848051]