[{"data":1,"prerenderedAt":2635},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes":3,"all-docs-nav":1485,"filed:\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes":2626},{"id":4,"title":5,"body":6,"breadcrumb":1461,"dateModified":1471,"datePublished":1471,"description":1472,"extension":1473,"faq":1474,"meta":1479,"navigation":607,"path":1480,"seo":1481,"slug":12,"stem":1482,"type":1483,"__hash__":1484},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes\u002Findex.md","Rolling Back S3 and CloudFront Deploys With Versioned Prefixes",{"type":7,"value":8,"toc":1441},"minimark",[9,13,28,40,45,58,62,72,222,226,229,479,482,486,755,774,905,909,912,1050,1053,1057,1064,1068,1082,1089,1093,1104,1108,1115,1210,1308,1312,1356,1360,1363,1367,1372,1375,1379,1382,1386,1389,1393,1396,1400,1437],[10,11,5],"h1",{"id":12},"rolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes",[14,15,16,17,21,22,27],"p",{},"Managed static hosts make deploys atomic and rollbacks instant: every deployment is kept, and switching between them is a pointer change. A static site on S3 and CloudFront gets neither by default. ",[18,19,20],"code",{},"aws s3 sync"," uploads and deletes files one at a time, so for a minute or two the bucket holds half of each build, and rolling back means syncing the old build again with the same exposure. An incident from exactly that exposure is described in ",[23,24,26],"a",{"href":25},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets\u002F","Recovering From a Deploy That Deleted Live Assets",".",[14,29,30,31,35,36,27],{},"Versioned prefixes give S3 the managed-host model: upload each complete build to its own prefix, then switch the live site to it in one step. This guide sets it up for an Astro documentation site with a CloudFront Function and CloudFront KeyValueStore holding the current build ID, so a deploy or rollback is one key update that takes effect in seconds. It belongs to ",[23,32,34],{"href":33},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002F","Rollbacks and Deploy Safety for Static Sites","; the base setup is in ",[23,37,39],{"href":38},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront\u002F","Deploying a Static Site to S3 and CloudFront",[41,42,44],"h2",{"id":43},"prerequisites","Prerequisites",[46,47,48,52,55],"ul",{},[49,50,51],"li",{},"An S3 bucket behind a CloudFront distribution with origin access control.",[49,53,54],{},"A CI role with permission to write to the bucket, update a CloudFront KeyValueStore and create invalidations.",[49,56,57],{},"Hashed filenames for assets, so builds' assets never collide.",[41,59,61],{"id":60},"the-layout","The Layout",[63,64,70],"pre",{"className":65,"code":67,"language":68,"meta":69},[66],"language-text","s3:\u002F\u002Facme-docs\u002F\n  builds\u002F\n    3f9a1c2\u002F   ← previous build, complete\n    8b41e07\u002F   ← current build, complete\n    c72d5aa\u002F   ← new build, being uploaded\n","text","",[18,71,67],{"__ignoreMap":69},[73,74,75,218],"figure",{},[76,77,84,85,84,89,84,93,84,100,84,203],"svg",{"viewBox":78,"role":79,"ariaLabelledBy":80,"xmlns":83},"0 0 760 383","img",[81,82],"vprefix-layout-title","vprefix-layout-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[86,87,88],"title",{"id":81},"How a request is routed to the current build prefix",[90,91,92],"desc",{"id":82},"Four layers. The reader requests docs install on the production hostname. A CloudFront Function reads the current build ID from the KeyValueStore and rewrites the path to builds slash the build ID slash docs install index.html. CloudFront fetches that object from S3 on a cache miss. S3 holds each build complete under its own prefix.",[94,95],"rect",{"x":96,"y":96,"width":97,"height":98,"fill":99},"0","760","383","#ffffff",[101,102,104,105,104,115,104,122,104,127,104,130,104,134,104,137,104,143,104,150,104,156,104,161,104,167,104,171,104,175,104,179,104,183,104,187,104,191,104,195,104,199,84],"g",{"style":103},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[94,106],{"x":107,"y":108,"width":109,"height":110,"rx":111,"fill":112,"stroke":113,"style":114},"40.0","60.0","440.0","57.2","8","#f8fafc","#d9e2ef","stroke-width:1.5px",[116,117],"path",{"d":118,"fill":119,"stroke":120,"style":121},"M260.0 119.2 L260.0 139.2","none","#556071","stroke-width:2px;marker-end:url(#vprefix-layout-arrow)",[94,123],{"x":107,"y":124,"width":109,"height":110,"rx":111,"fill":125,"opacity":126,"stroke":125,"style":114},"143.2","#6a4c93","0.14",[116,128],{"d":129,"fill":119,"stroke":120,"style":121},"M260.0 202.4 L260.0 222.4",[94,131],{"x":107,"y":132,"width":109,"height":110,"rx":111,"fill":133,"opacity":126,"stroke":133,"style":114},"226.4","#1982c4",[116,135],{"d":136,"fill":119,"stroke":120,"style":121},"M260.0 285.6 L260.0 305.6",[94,138],{"x":107,"y":139,"width":109,"height":110,"rx":111,"fill":140,"opacity":141,"stroke":142,"style":114},"309.6","#8ac926","0.2","#5a8a16",[68,144,149],{"x":145,"y":146,"fill":147,"style":148},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","Request path through the prefix switch",[68,151,155],{"x":152,"y":153,"fill":147,"style":154},"260.0","86.4","font-size:13px;text-anchor:middle;font-weight:700","Request: \u002Fdocs\u002Finstall\u002F",[68,157,160],{"x":152,"y":158,"fill":120,"style":159},"103.3","font-size:11px;text-anchor:middle","production hostname",[68,162,166],{"x":163,"y":164,"fill":120,"style":165},"504.0","92.6","font-size:11.5px;text-anchor:start","unchanged URLs",[68,168,170],{"x":152,"y":169,"fill":147,"style":154},"169.5","CloudFront Function",[68,172,174],{"x":152,"y":173,"fill":120,"style":159},"186.4","reads current = 8b41e07",[68,176,178],{"x":163,"y":177,"fill":120,"style":165},"175.8","viewer request rewrite",[68,180,182],{"x":152,"y":181,"fill":147,"style":154},"252.7","CloudFront cache",[68,184,186],{"x":152,"y":185,"fill":120,"style":159},"269.6","keyed by original URL",[68,188,190],{"x":163,"y":189,"fill":120,"style":165},"259.0","invalidate HTML on switch",[68,192,194],{"x":152,"y":193,"fill":147,"style":154},"335.9","S3: builds\u002F8b41e07\u002F…",[68,196,198],{"x":152,"y":197,"fill":120,"style":159},"352.8","complete build",[68,200,202],{"x":163,"y":201,"fill":120,"style":165},"342.2","previous builds kept",[204,205,104,206,84],"defs",{},[207,208,214,215,104],"marker",{"id":209,"viewBox":210,"refX":111,"refY":211,"markerWidth":212,"markerHeight":212,"orient":213},"vprefix-layout-arrow","0 0 10 10","5","7","auto-start-reverse","\n      ",[116,216],{"d":217,"fill":120},"M0 0 L10 5 L0 10 z",[219,220,221],"figcaption",{},"Changing one value in the KeyValueStore moves every request to a different complete build.",[41,223,225],{"id":224},"step-1-the-edge-function","Step 1: The Edge Function",[14,227,228],{},"A CloudFront Function on viewer requests reads the current build from a KeyValueStore and prefixes the path. It also handles directory indexes, which S3's REST endpoint does not:",[63,230,234],{"className":231,"code":232,"language":233,"meta":69,"style":69},"language-js shiki shiki-themes github-light github-dark","import cf from 'cloudfront';\nconst kvs = cf.kvs();\nasync function handler(event) {\n  const req = event.request;\n  const build = await kvs.get('current');\n  let uri = req.uri;\n  if (uri.endsWith('\u002F')) uri += 'index.html';\n  else if (!uri.split('\u002F').pop().includes('.')) uri += '\u002Findex.html';\n  req.uri = `\u002Fbuilds\u002F${build}${uri}`;\n  return req;\n}\n","js",[18,235,236,259,282,304,318,345,360,388,439,464,473],{"__ignoreMap":69},[237,238,241,245,249,252,256],"span",{"class":239,"line":240},"line",1,[237,242,244],{"class":243},"szBVR","import",[237,246,248],{"class":247},"sVt8B"," cf ",[237,250,251],{"class":243},"from",[237,253,255],{"class":254},"sZZnC"," 'cloudfront'",[237,257,258],{"class":247},";\n",[237,260,262,265,269,272,275,279],{"class":239,"line":261},2,[237,263,264],{"class":243},"const",[237,266,268],{"class":267},"sj4cs"," kvs",[237,270,271],{"class":243}," =",[237,273,274],{"class":247}," cf.",[237,276,278],{"class":277},"sScJk","kvs",[237,280,281],{"class":247},"();\n",[237,283,285,288,291,294,297,301],{"class":239,"line":284},3,[237,286,287],{"class":243},"async",[237,289,290],{"class":243}," function",[237,292,293],{"class":277}," handler",[237,295,296],{"class":247},"(",[237,298,300],{"class":299},"s4XuR","event",[237,302,303],{"class":247},") {\n",[237,305,307,310,313,315],{"class":239,"line":306},4,[237,308,309],{"class":243},"  const",[237,311,312],{"class":267}," req",[237,314,271],{"class":243},[237,316,317],{"class":247}," event.request;\n",[237,319,321,323,326,328,331,334,337,339,342],{"class":239,"line":320},5,[237,322,309],{"class":243},[237,324,325],{"class":267}," build",[237,327,271],{"class":243},[237,329,330],{"class":243}," await",[237,332,333],{"class":247}," kvs.",[237,335,336],{"class":277},"get",[237,338,296],{"class":247},[237,340,341],{"class":254},"'current'",[237,343,344],{"class":247},");\n",[237,346,348,351,354,357],{"class":239,"line":347},6,[237,349,350],{"class":243},"  let",[237,352,353],{"class":247}," uri ",[237,355,356],{"class":243},"=",[237,358,359],{"class":247}," req.uri;\n",[237,361,363,366,369,372,374,377,380,383,386],{"class":239,"line":362},7,[237,364,365],{"class":243},"  if",[237,367,368],{"class":247}," (uri.",[237,370,371],{"class":277},"endsWith",[237,373,296],{"class":247},[237,375,376],{"class":254},"'\u002F'",[237,378,379],{"class":247},")) uri ",[237,381,382],{"class":243},"+=",[237,384,385],{"class":254}," 'index.html'",[237,387,258],{"class":247},[237,389,391,394,397,400,403,406,409,411,413,416,419,422,425,427,430,432,434,437],{"class":239,"line":390},8,[237,392,393],{"class":243},"  else",[237,395,396],{"class":243}," if",[237,398,399],{"class":247}," (",[237,401,402],{"class":243},"!",[237,404,405],{"class":247},"uri.",[237,407,408],{"class":277},"split",[237,410,296],{"class":247},[237,412,376],{"class":254},[237,414,415],{"class":247},").",[237,417,418],{"class":277},"pop",[237,420,421],{"class":247},"().",[237,423,424],{"class":277},"includes",[237,426,296],{"class":247},[237,428,429],{"class":254},"'.'",[237,431,379],{"class":247},[237,433,382],{"class":243},[237,435,436],{"class":254}," '\u002Findex.html'",[237,438,258],{"class":247},[237,440,442,445,447,450,453,456,459,462],{"class":239,"line":441},9,[237,443,444],{"class":247},"  req.uri ",[237,446,356],{"class":243},[237,448,449],{"class":254}," `\u002Fbuilds\u002F${",[237,451,452],{"class":247},"build",[237,454,455],{"class":254},"}${",[237,457,458],{"class":247},"uri",[237,460,461],{"class":254},"}`",[237,463,258],{"class":247},[237,465,467,470],{"class":239,"line":466},10,[237,468,469],{"class":243},"  return",[237,471,472],{"class":247}," req;\n",[237,474,476],{"class":239,"line":475},11,[237,477,478],{"class":247},"}\n",[14,480,481],{},"The function runs in under a millisecond per request at the edge. KeyValueStore reads are local to the edge location; updates propagate globally within seconds.",[41,483,485],{"id":484},"step-2-deploy-upload-verify-switch","Step 2: Deploy = Upload, Verify, Switch",[63,487,491],{"className":488,"code":489,"language":490,"meta":69,"style":69},"language-sh shiki shiki-themes github-light github-dark","BUILD=$(git rev-parse --short HEAD)\naws s3 sync dist \"s3:\u002F\u002F$BUCKET\u002Fbuilds\u002F$BUILD\u002F\" \\\n  --exclude '*.html' --cache-control 'public, max-age=31536000, immutable'\naws s3 sync dist \"s3:\u002F\u002F$BUCKET\u002Fbuilds\u002F$BUILD\u002F\" \\\n  --exclude '*' --include '*.html' --cache-control 'public, max-age=0, s-maxage=3600, must-revalidate'\n\n# verify the new build directly before switching (internal header lets the function pick a build)\nnode scripts\u002Fverify-build.mjs --build \"$BUILD\"\n\nETAG=$(aws cloudfront-keyvaluestore describe-key-value-store --kvs-arn \"$KVS\" --query ETag --output text)\naws cloudfront-keyvaluestore put-key --kvs-arn \"$KVS\" --key current --value \"$BUILD\" --if-match \"$ETAG\"\naws cloudfront create-invalidation --distribution-id \"$DIST\" --paths '\u002F*.html' '\u002F*\u002F' '\u002F'\n","sh",[18,492,493,518,550,564,586,603,609,615,634,638,680,722],{"__ignoreMap":69},[237,494,495,498,500,503,506,509,512,515],{"class":239,"line":240},[237,496,497],{"class":247},"BUILD",[237,499,356],{"class":243},[237,501,502],{"class":247},"$(",[237,504,505],{"class":277},"git",[237,507,508],{"class":254}," rev-parse",[237,510,511],{"class":267}," --short",[237,513,514],{"class":254}," HEAD",[237,516,517],{"class":247},")\n",[237,519,520,523,526,529,532,535,538,541,544,547],{"class":239,"line":261},[237,521,522],{"class":277},"aws",[237,524,525],{"class":254}," s3",[237,527,528],{"class":254}," sync",[237,530,531],{"class":254}," dist",[237,533,534],{"class":254}," \"s3:\u002F\u002F",[237,536,537],{"class":247},"$BUCKET",[237,539,540],{"class":254},"\u002Fbuilds\u002F",[237,542,543],{"class":247},"$BUILD",[237,545,546],{"class":254},"\u002F\"",[237,548,549],{"class":267}," \\\n",[237,551,552,555,558,561],{"class":239,"line":284},[237,553,554],{"class":267},"  --exclude",[237,556,557],{"class":254}," '*.html'",[237,559,560],{"class":267}," --cache-control",[237,562,563],{"class":254}," 'public, max-age=31536000, immutable'\n",[237,565,566,568,570,572,574,576,578,580,582,584],{"class":239,"line":306},[237,567,522],{"class":277},[237,569,525],{"class":254},[237,571,528],{"class":254},[237,573,531],{"class":254},[237,575,534],{"class":254},[237,577,537],{"class":247},[237,579,540],{"class":254},[237,581,543],{"class":247},[237,583,546],{"class":254},[237,585,549],{"class":267},[237,587,588,590,593,596,598,600],{"class":239,"line":320},[237,589,554],{"class":267},[237,591,592],{"class":254}," '*'",[237,594,595],{"class":267}," --include",[237,597,557],{"class":254},[237,599,560],{"class":267},[237,601,602],{"class":254}," 'public, max-age=0, s-maxage=3600, must-revalidate'\n",[237,604,605],{"class":239,"line":347},[237,606,608],{"emptyLinePlaceholder":607},true,"\n",[237,610,611],{"class":239,"line":362},[237,612,614],{"class":613},"sJ8bj","# verify the new build directly before switching (internal header lets the function pick a build)\n",[237,616,617,620,623,626,629,631],{"class":239,"line":390},[237,618,619],{"class":277},"node",[237,621,622],{"class":254}," scripts\u002Fverify-build.mjs",[237,624,625],{"class":267}," --build",[237,627,628],{"class":254}," \"",[237,630,543],{"class":247},[237,632,633],{"class":254},"\"\n",[237,635,636],{"class":239,"line":441},[237,637,608],{"emptyLinePlaceholder":607},[237,639,640,643,645,647,649,652,655,658,660,663,666,669,672,675,678],{"class":239,"line":466},[237,641,642],{"class":247},"ETAG",[237,644,356],{"class":243},[237,646,502],{"class":247},[237,648,522],{"class":277},[237,650,651],{"class":254}," cloudfront-keyvaluestore",[237,653,654],{"class":254}," describe-key-value-store",[237,656,657],{"class":267}," --kvs-arn",[237,659,628],{"class":254},[237,661,662],{"class":247},"$KVS",[237,664,665],{"class":254},"\"",[237,667,668],{"class":267}," --query",[237,670,671],{"class":254}," ETag",[237,673,674],{"class":267}," --output",[237,676,677],{"class":254}," text",[237,679,517],{"class":247},[237,681,682,684,686,689,691,693,695,697,700,703,706,708,710,712,715,717,720],{"class":239,"line":475},[237,683,522],{"class":277},[237,685,651],{"class":254},[237,687,688],{"class":254}," put-key",[237,690,657],{"class":267},[237,692,628],{"class":254},[237,694,662],{"class":247},[237,696,665],{"class":254},[237,698,699],{"class":267}," --key",[237,701,702],{"class":254}," current",[237,704,705],{"class":267}," --value",[237,707,628],{"class":254},[237,709,543],{"class":247},[237,711,665],{"class":254},[237,713,714],{"class":267}," --if-match",[237,716,628],{"class":254},[237,718,719],{"class":247},"$ETAG",[237,721,633],{"class":254},[237,723,725,727,730,733,736,738,741,743,746,749,752],{"class":239,"line":724},12,[237,726,522],{"class":277},[237,728,729],{"class":254}," cloudfront",[237,731,732],{"class":254}," create-invalidation",[237,734,735],{"class":267}," --distribution-id",[237,737,628],{"class":254},[237,739,740],{"class":247},"$DIST",[237,742,665],{"class":254},[237,744,745],{"class":267}," --paths",[237,747,748],{"class":254}," '\u002F*.html'",[237,750,751],{"class":254}," '\u002F*\u002F'",[237,753,754],{"class":254}," '\u002F'\n",[14,756,757,758,761,762,765,766,769,770,773],{},"The live site keeps serving the previous build until ",[18,759,760],{},"put-key",". The verification step requests 30 pages and their assets from the new prefix through a staging hostname whose function reads a ",[18,763,764],{},"preview"," key instead of ",[18,767,768],{},"current",", so the exact files that will go live are tested first. ",[18,771,772],{},"--if-match"," makes concurrent deploys fail safely instead of overwriting each other.",[73,775,776,902],{},[76,777,84,782,84,785,84,788,84,791,84,895],{"viewBox":778,"role":79,"ariaLabelledBy":779,"xmlns":83},"0 0 760 168",[780,781],"vprefix-deploy-title","vprefix-deploy-desc",[86,783,784],{"id":780},"Steps of a deploy with versioned prefixes, and the rollback path",[90,786,787],{"id":781},"Five steps. Upload the new build to its own prefix while the old one keeps serving. Verify the new prefix through a staging hostname. Update the current key in the KeyValueStore to the new build ID. Invalidate cached HTML. To roll back, set the key back to the previous build ID and invalidate again.",[94,789],{"x":96,"y":96,"width":97,"height":790,"fill":99},"168",[101,792,104,793,104,799,104,802,104,806,104,809,104,812,104,818,104,821,104,827,104,830,104,833,104,838,104,842,104,846,104,850,104,853,104,856,104,858,104,861,104,864,104,869,104,873,104,877,104,881,104,887,104,891,84],{"style":103},[94,794],{"x":795,"y":796,"width":797,"height":798,"rx":111,"fill":133,"opacity":126,"stroke":133,"style":114},"20.0","64.0","116.8","88.4",[94,800],{"x":801,"y":796,"width":797,"height":798,"rx":111,"fill":125,"opacity":126,"stroke":125,"style":114},"170.8",[116,803],{"d":804,"fill":119,"stroke":120,"style":805},"M138.8 108.2 L166.8 108.2","stroke-width:2px;marker-end:url(#vprefix-deploy-arrow)",[94,807],{"x":808,"y":796,"width":797,"height":798,"rx":111,"fill":140,"opacity":141,"stroke":142,"style":114},"321.6",[116,810],{"d":811,"fill":119,"stroke":120,"style":805},"M289.6 108.2 L317.6 108.2",[94,813],{"x":814,"y":796,"width":797,"height":798,"rx":111,"fill":815,"opacity":816,"stroke":817,"style":114},"472.4","#ffca3a","0.24","#a97b00",[116,819],{"d":820,"fill":119,"stroke":120,"style":805},"M440.4 108.2 L468.4 108.2",[94,822],{"x":823,"y":796,"width":797,"height":798,"rx":111,"fill":824,"opacity":825,"stroke":826,"style":114},"623.2","#ff595e","0.12","#d83b41",[116,828],{"d":829,"fill":119,"stroke":120,"style":805},"M591.2 108.2 L619.2 108.2",[68,831,832],{"x":145,"y":146,"fill":147,"style":148},"Deploy and rollback are the same operation",[68,834,837],{"x":835,"y":836,"fill":147,"style":154},"78.4","97.5","Upload to",[68,839,841],{"x":835,"y":840,"fill":147,"style":154},"114.4","builds\u002FID",[68,843,845],{"x":835,"y":844,"fill":120,"style":159},"131.3","old build still live",[68,847,849],{"x":848,"y":836,"fill":147,"style":154},"229.2","Verify via",[68,851,852],{"x":848,"y":840,"fill":147,"style":154},"staging",[68,854,855],{"x":848,"y":844,"fill":120,"style":159},"30 pages + assets",[68,857,760],{"x":145,"y":836,"fill":147,"style":154},[68,859,860],{"x":145,"y":840,"fill":147,"style":154},"current=ID",[68,862,863],{"x":145,"y":844,"fill":120,"style":159},"switch in seconds",[68,865,868],{"x":866,"y":867,"fill":147,"style":154},"530.8","90.4","Invalidate",[68,870,872],{"x":866,"y":871,"fill":147,"style":154},"107.3","HTML",[68,874,876],{"x":866,"y":875,"fill":120,"style":159},"124.2","cached pages",[68,878,880],{"x":866,"y":879,"fill":120,"style":159},"138.5","refresh",[68,882,886],{"x":883,"y":884,"fill":147,"style":885},"681.6","98.5","font-size:10.5px;text-anchor:middle;font-weight:700","Rollback:",[68,888,890],{"x":883,"y":889,"fill":147,"style":885},"112.2","put-key previous",[68,892,894],{"x":883,"y":893,"fill":120,"style":159},"125.8","+ invalidate",[204,896,104,897,84],{},[207,898,214,900,104],{"id":899,"viewBox":210,"refX":111,"refY":211,"markerWidth":212,"markerHeight":212,"orient":213},"vprefix-deploy-arrow",[116,901],{"d":217,"fill":120},[219,903,904],{},"A rollback skips the upload and verification entirely, because the previous build is still complete in S3.",[41,906,908],{"id":907},"step-3-rollback","Step 3: Rollback",[14,910,911],{},"Rolling back is setting the key to the previous build ID and invalidating HTML:",[63,913,915],{"className":488,"code":914,"language":490,"meta":69,"style":69},"PREV=$(aws s3 ls \"s3:\u002F\u002F$BUCKET\u002Fbuilds\u002F\" | awk '{print $2}' | tr -d \u002F | grep -v \"$CURRENT\" | tail -1)   # or read from deploy log\naws cloudfront-keyvaluestore put-key --kvs-arn \"$KVS\" --key current --value \"$PREV\" --if-match \"$ETAG\"\naws cloudfront create-invalidation --distribution-id \"$DIST\" --paths '\u002F*.html' '\u002F*\u002F' '\u002F'\n",[18,916,917,989,1026],{"__ignoreMap":69},[237,918,919,922,924,926,928,930,933,935,937,940,943,946,949,951,954,957,960,962,965,968,970,973,975,977,980,983,986],{"class":239,"line":240},[237,920,921],{"class":247},"PREV",[237,923,356],{"class":243},[237,925,502],{"class":247},[237,927,522],{"class":277},[237,929,525],{"class":254},[237,931,932],{"class":254}," ls",[237,934,534],{"class":254},[237,936,537],{"class":247},[237,938,939],{"class":254},"\u002Fbuilds\u002F\"",[237,941,942],{"class":243}," |",[237,944,945],{"class":277}," awk",[237,947,948],{"class":254}," '{print $2}'",[237,950,942],{"class":243},[237,952,953],{"class":277}," tr",[237,955,956],{"class":267}," -d",[237,958,959],{"class":254}," \u002F",[237,961,942],{"class":243},[237,963,964],{"class":277}," grep",[237,966,967],{"class":267}," -v",[237,969,628],{"class":254},[237,971,972],{"class":247},"$CURRENT",[237,974,665],{"class":254},[237,976,942],{"class":243},[237,978,979],{"class":277}," tail",[237,981,982],{"class":267}," -1",[237,984,985],{"class":247},")   ",[237,987,988],{"class":613},"# or read from deploy log\n",[237,990,991,993,995,997,999,1001,1003,1005,1007,1009,1011,1013,1016,1018,1020,1022,1024],{"class":239,"line":261},[237,992,522],{"class":277},[237,994,651],{"class":254},[237,996,688],{"class":254},[237,998,657],{"class":267},[237,1000,628],{"class":254},[237,1002,662],{"class":247},[237,1004,665],{"class":254},[237,1006,699],{"class":267},[237,1008,702],{"class":254},[237,1010,705],{"class":267},[237,1012,628],{"class":254},[237,1014,1015],{"class":247},"$PREV",[237,1017,665],{"class":254},[237,1019,714],{"class":267},[237,1021,628],{"class":254},[237,1023,719],{"class":247},[237,1025,633],{"class":254},[237,1027,1028,1030,1032,1034,1036,1038,1040,1042,1044,1046,1048],{"class":239,"line":284},[237,1029,522],{"class":277},[237,1031,729],{"class":254},[237,1033,732],{"class":254},[237,1035,735],{"class":267},[237,1037,628],{"class":254},[237,1039,740],{"class":247},[237,1041,665],{"class":254},[237,1043,745],{"class":267},[237,1045,748],{"class":254},[237,1047,751],{"class":254},[237,1049,754],{"class":254},[14,1051,1052],{},"A GitHub Actions workflow with a manual trigger and a build-ID input wraps it, listing the last ten builds with their commit messages. Readers with HTML cached at the edge get the rolled-back HTML once the invalidation completes, typically within a minute; assets for both builds exist, so nothing in between breaks.",[41,1054,1056],{"id":1055},"step-4-pruning-old-builds","Step 4: Pruning Old Builds",[14,1058,1059,1060,1063],{},"Each build is about 180 MB (mostly images). A scheduled job keeps the last 10 builds and any build deployed in the last 14 days, and deletes the rest. Because hashed assets are duplicated across build prefixes, storage is higher than with a single synced folder — about 1.8 GB for ten builds, around $0.04 a month at standard S3 pricing. A variant that stores hashed assets in one shared ",[18,1061,1062],{},"assets\u002F"," prefix and only HTML per build cuts that to a few hundred megabytes, at the cost of a slightly more complex function.",[41,1065,1067],{"id":1066},"testing-a-build-before-it-goes-live","Testing a Build Before It Goes Live",[14,1069,1070,1071,765,1073,1075,1076,1078,1079,1081],{},"The staging hostname is the quiet benefit of this layout. It is a second CloudFront distribution — or a second alternate domain name on the same one — whose function reads the ",[18,1072,764],{},[18,1074,768],{},". The deploy sets ",[18,1077,764],{}," to the new build first, runs the verification suite, Lighthouse CI and a short visual comparison against that hostname, and only then sets ",[18,1080,768],{},". Because both hostnames serve the very same objects from the same prefix, what passed on staging is byte-for-byte what readers get. Previously, checks ran against a local build, and differences in headers, redirects and CDN behaviour only showed up after a deploy.",[14,1083,1084,1085,1088],{},"The staging hostname sends ",[18,1086,1087],{},"X-Robots-Tag: noindex"," from a response headers policy, and its CloudFront distribution is restricted to the company's IP ranges with a WAF rule, so it never becomes a second public copy of the site.",[41,1090,1092],{"id":1091},"recording-what-is-live","Recording What Is Live",[14,1094,1095,1096,1099,1100,1103],{},"The KeyValueStore holds the current build ID, but people need more than a hash. Each deploy writes a small JSON record — build ID, commit, author, time, verification results — to a ",[18,1097,1098],{},"deploys\u002F"," prefix, and the rollback workflow reads the last ten records to offer a readable list. The same record is exposed at ",[18,1101,1102],{},"\u002F_build.json"," on the site, which the post-deploy checks and the support team use to confirm which build a reader saw.",[41,1105,1107],{"id":1106},"measured-impact","Measured Impact",[14,1109,1110,1111,1114],{},"Compared with the previous ",[18,1112,1113],{},"aws s3 sync --delete"," deploys:",[1116,1117,1118,1137],"table",{},[1119,1120,1121],"thead",{},[1122,1123,1124,1128,1131,1134],"tr",{},[1125,1126,1127],"th",{},"Measure",[1125,1129,1130],{},"Sync deploys",[1125,1132,1133],{},"Versioned prefixes",[1125,1135,1136],{},"Source",[1138,1139,1140,1154,1168,1182,1196],"tbody",{},[1122,1141,1142,1146,1149,1151],{},[1143,1144,1145],"td",{},"Window with mixed old\u002Fnew files",[1143,1147,1148],{},"40–110 s per deploy",[1143,1150,96],{},[1143,1152,1153],{},"Deploy logs",[1122,1155,1156,1159,1162,1165],{},[1143,1157,1158],{},"Rollback time (decision to live)",[1143,1160,1161],{},"4–6 min (rebuild + sync)",[1143,1163,1164],{},"35 s (key + invalidation)",[1143,1166,1167],{},"Runbook drills",[1122,1169,1170,1173,1176,1179],{},[1143,1171,1172],{},"Asset 404s after deploys",[1143,1174,1175],{},"up to 6% (incident)",[1143,1177,1178],{},"\u003C0.01%",[1143,1180,1181],{},"CloudFront metrics",[1122,1183,1184,1187,1190,1193],{},[1143,1185,1186],{},"Builds testable before going live",[1143,1188,1189],{},"No",[1143,1191,1192],{},"Yes (staging hostname)",[1143,1194,1195],{},"—",[1122,1197,1198,1201,1204,1207],{},[1143,1199,1200],{},"Storage",[1143,1202,1203],{},"180 MB",[1143,1205,1206],{},"1.8 GB (10 builds)",[1143,1208,1209],{},"S3 metrics",[73,1211,1212,1305],{},[76,1213,84,1218,84,1221,84,1224,84,1227],{"viewBox":1214,"role":79,"ariaLabelledBy":1215,"xmlns":83},"0 0 760 196",[1216,1217],"vprefix-rollback-title","vprefix-rollback-desc",[86,1219,1220],{"id":1216},"Seconds from rollback decision to the old build serving, before and after",[90,1222,1223],{"id":1217},"Paired bars. With sync deploys, a rollback took 300 seconds on average across five drills, and with versioned prefixes 35 seconds. The time readers could see mixed files during a deploy went from 75 seconds on average to 0.",[94,1225],{"x":96,"y":96,"width":97,"height":1226,"fill":99},"196",[101,1228,104,1229,104,1238,104,1242,104,1249,104,1253,104,1257,104,1261,104,1264,104,1267,104,1271,104,1274,104,1278,104,1285,104,1291,104,1295,104,1300,84],{"style":103},[94,1230],{"x":1231,"y":1232,"width":1233,"height":1234,"rx":1235,"fill":824,"opacity":1236,"stroke":826,"style":1237},"250.8","50.0","14.0","12.0","2","0.3","stroke-width:1px",[94,1239],{"x":1240,"y":1232,"width":1233,"height":1234,"rx":1235,"fill":140,"opacity":1241,"stroke":142,"style":1237},"376.4","0.4",[94,1243],{"x":1244,"y":1245,"width":1246,"height":1247,"rx":1248,"fill":824,"opacity":1236,"stroke":826,"style":1237},"230.0","82.0","460.9","16.0","3",[94,1250],{"x":1244,"y":1251,"width":1252,"height":1247,"rx":1248,"fill":140,"opacity":1241,"stroke":142,"style":1237},"102.0","53.8",[94,1254],{"x":1244,"y":1255,"width":1256,"height":1247,"rx":1248,"fill":824,"opacity":1236,"stroke":826,"style":1237},"134.0","115.2",[94,1258],{"x":1244,"y":1259,"width":1260,"height":1247,"rx":1248,"fill":140,"opacity":1241,"stroke":142,"style":1237},"154.0","3.0",[116,1262],{"d":1263,"fill":119,"stroke":120,"style":114},"M230.0 78.0 L230.0 176.0",[68,1265,1266],{"x":145,"y":146,"fill":147,"style":148},"Rollback time in drills",[68,1268,1130],{"x":1269,"y":108,"fill":120,"style":1270},"270.8","font-size:12px;text-anchor:start",[68,1272,1133],{"x":1273,"y":108,"fill":120,"style":1270},"396.4",[68,1275,1277],{"x":795,"y":1276,"fill":147,"style":1270},"105.2","Rollback time",[68,1279,1284],{"x":1280,"y":1281,"fill":1282,"style":1283},"697.9","94.5","#b32b30","font-size:11.5px;text-anchor:start;font-weight:700","300 s",[68,1286,1290],{"x":1287,"y":1288,"fill":1289,"style":1283},"290.8","114.5","#3f6410","35 s",[68,1292,1294],{"x":795,"y":1293,"fill":147,"style":1270},"157.2","Mixed-file window per deploy",[68,1296,1299],{"x":1297,"y":1298,"fill":1282,"style":1283},"352.2","146.5","75 s",[68,1301,1304],{"x":1302,"y":1303,"fill":1289,"style":1283},"240.0","166.5","0 s",[219,1306,1307],{},"Five rollback drills each; mixed-file window from deploy logs, averaged over 20 deploys.",[41,1309,1311],{"id":1310},"pitfalls-rollback","Pitfalls & Rollback",[46,1313,1314,1325,1331,1337,1346],{},[49,1315,1316,1320,1321,1324],{},[1317,1318,1319],"strong",{},"Forgetting directory indexes."," S3's REST endpoint does not resolve ",[18,1322,1323],{},"index.html","; the function must.",[49,1326,1327,1330],{},[1317,1328,1329],{},"Switching before the upload finishes."," Verify the new prefix, then switch.",[49,1332,1333,1336],{},[1317,1334,1335],{},"Not invalidating HTML after a switch."," The cache is keyed by URL and keeps old pages.",[49,1338,1339,1342,1343,1345],{},[1317,1340,1341],{},"Concurrent deploys."," Use ",[18,1344,772],{}," on the key update.",[49,1347,1348,1350,1351,1355],{},[1317,1349,886],{}," this setup ",[1352,1353,1354],"em",{},"is"," the rollback mechanism; the previous build stays complete until pruned.",[41,1357,1359],{"id":1358},"conclusion","Conclusion",[14,1361,1362],{},"Uploading each build to its own S3 prefix and pointing CloudFront at it through a CloudFront Function and KeyValueStore gives an S3-hosted static site the deploy model of a managed host: no window of mixed files, a full build verified before it goes live, and rollback in 35 seconds by changing one key. The cost is a few cents a month of extra storage for kept builds.",[41,1364,1366],{"id":1365},"faq","FAQ",[1368,1369,1371],"h3",{"id":1370},"why-are-s3-sync-deploys-not-atomic","Why are S3 sync deploys not atomic?",[14,1373,1374],{},"A sync uploads and deletes files one by one over many seconds or minutes. During that time the bucket holds a mix of old and new files, so readers can receive new HTML that references assets not yet uploaded, or old HTML whose assets were just deleted. Rolling back means syncing the old build again, which has the same problem in reverse.",[1368,1376,1378],{"id":1377},"how-do-versioned-prefixes-make-deploys-atomic","How do versioned prefixes make deploys atomic?",[14,1380,1381],{},"Each build is uploaded in full to its own prefix, such as builds slash a commit hash, while the live site keeps serving the previous prefix. When the upload is complete, one change points the site at the new prefix. Readers see either the old build or the new one, never a mix, and the previous prefix stays intact for rollback.",[1368,1383,1385],{"id":1384},"how-is-the-switch-between-prefixes-made","How is the switch between prefixes made?",[14,1387,1388],{},"Either by changing the CloudFront distribution's origin path, which takes a few minutes to propagate, or by a CloudFront Function or Lambda at the edge that reads the current build identifier from a key value store and rewrites request paths, which switches in seconds. This guide uses a CloudFront Function with KeyValueStore.",[1368,1390,1392],{"id":1391},"what-happens-to-cached-files-when-the-prefix-changes","What happens to cached files when the prefix changes?",[14,1394,1395],{},"CloudFront caches by request URL, not by origin path, so HTML cached from the old prefix is served until it expires or is invalidated. Invalidate HTML after switching. Hashed assets have unique names, so old and new builds' assets never collide in the cache.",[41,1397,1399],{"id":1398},"related","Related",[46,1401,1402,1411,1418,1423,1430],{},[49,1403,1404,1407,1408,1410],{},[1317,1405,1406],{},"Parent:"," ",[23,1409,34],{"href":33}," — safe deploys in general.",[49,1412,1413,1417],{},[23,1414,1416],{"href":1415},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads\u002F","Atomic Deploys vs Incremental Uploads"," — why atomicity matters.",[49,1419,1420,1422],{},[23,1421,26],{"href":25}," — the incident this prevents.",[49,1424,1425,1429],{},[23,1426,1428],{"href":1427},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects\u002F","CloudFront Functions for Redirects"," — other uses of the same function.",[49,1431,1432,1436],{},[23,1433,1435],{"href":1434},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites\u002F","Blue-Green Deploys for Static Sites"," — a related pattern with two environments.",[1438,1439,1440],"style",{},"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 .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":69,"searchDepth":261,"depth":261,"links":1442},[1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1460],{"id":43,"depth":261,"text":44},{"id":60,"depth":261,"text":61},{"id":224,"depth":261,"text":225},{"id":484,"depth":261,"text":485},{"id":907,"depth":261,"text":908},{"id":1055,"depth":261,"text":1056},{"id":1066,"depth":261,"text":1067},{"id":1091,"depth":261,"text":1092},{"id":1106,"depth":261,"text":1107},{"id":1310,"depth":261,"text":1311},{"id":1358,"depth":261,"text":1359},{"id":1365,"depth":261,"text":1366,"children":1455},[1456,1457,1458,1459],{"id":1370,"depth":284,"text":1371},{"id":1377,"depth":284,"text":1378},{"id":1384,"depth":284,"text":1385},{"id":1391,"depth":284,"text":1392},{"id":1398,"depth":261,"text":1399},[1462,1465,1468,1469],{"name":1463,"item":1464},"Home","\u002F",{"name":1466,"item":1467},"Production-Ready Deployment & CI\u002FCD for SSGs","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":34,"item":33},{"name":5,"item":1470},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes\u002F","2026-10-02","Make S3 and CloudFront deploys atomic by uploading each build to its own prefix and switching CloudFront's origin path, so a rollback takes one config change.","md",[1475,1476,1477,1478],{"q":1371,"a":1374},{"q":1378,"a":1381},{"q":1385,"a":1388},{"q":1392,"a":1395},{},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes",{"title":5,"description":1472},"production-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes\u002Findex","article","jypQ5s3qfGXJBmA0dXBt2_rNI8NShqAU_8vx433pSbU",[1486,1489,1492,1495,1498,1501,1504,1507,1510,1513,1516,1519,1522,1525,1528,1531,1534,1537,1540,1543,1546,1549,1552,1555,1558,1561,1564,1567,1570,1573,1576,1579,1582,1585,1588,1591,1594,1597,1600,1603,1606,1609,1612,1615,1618,1621,1624,1627,1630,1633,1636,1639,1642,1645,1648,1651,1654,1657,1660,1663,1666,1669,1672,1675,1678,1681,1684,1687,1690,1693,1696,1699,1702,1705,1708,1711,1714,1717,1720,1723,1726,1729,1732,1735,1738,1741,1744,1747,1750,1753,1756,1759,1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792,1795,1798,1801,1804,1807,1810,1813,1816,1819,1822,1825,1828,1831,1834,1837,1840,1843,1846,1849,1852,1855,1858,1861,1864,1867,1870,1873,1876,1879,1882,1885,1888,1891,1894,1897,1900,1903,1906,1909,1912,1915,1918,1921,1924,1927,1930,1933,1936,1939,1942,1945,1948,1951,1954,1957,1960,1963,1966,1969,1972,1975,1978,1981,1984,1987,1990,1993,1996,1999,2002,2005,2008,2011,2014,2017,2020,2023,2026,2029,2032,2035,2038,2041,2044,2047,2050,2053,2056,2059,2062,2065,2068,2071,2074,2077,2080,2083,2086,2089,2092,2095,2098,2101,2104,2107,2110,2113,2116,2119,2122,2125,2128,2131,2134,2137,2140,2143,2146,2149,2152,2155,2158,2161,2164,2167,2170,2173,2176,2179,2182,2185,2188,2191,2194,2197,2200,2203,2206,2209,2212,2215,2218,2221,2224,2227,2230,2233,2236,2239,2242,2245,2248,2251,2254,2257,2260,2263,2266,2269,2272,2275,2278,2281,2284,2287,2290,2293,2296,2299,2302,2305,2308,2311,2314,2317,2320,2323,2326,2329,2332,2335,2338,2341,2344,2347,2350,2353,2356,2359,2362,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,2468,2470,2473,2476,2478,2481,2484,2486,2489,2492,2493,2496,2499,2502,2505,2508,2511,2514,2517,2520,2523,2526,2529,2532,2535,2538,2541,2543,2545,2548,2551,2554,2557,2560,2563,2566,2569,2572,2575,2578,2581,2584,2587,2590,2593,2596,2599,2602,2605,2608,2611,2614,2617,2620,2623],{"path":1487,"title":1488},"\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":1490,"title":1491},"\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":1493,"title":1494},"\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":1496,"title":1497},"\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":1499,"title":1500},"\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":1502,"title":1503},"\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":1505,"title":1506},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1508,"title":1509},"\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":1511,"title":1512},"\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":1514,"title":1515},"\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":1517,"title":1518},"\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":1520,"title":1521},"\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":1523,"title":1524},"\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":1526,"title":1527},"\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":1529,"title":1530},"\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":1532,"title":1533},"\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":1535,"title":1536},"\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":1538,"title":1539},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1541,"title":1542},"\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":1544,"title":1545},"\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":1547,"title":1548},"\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":1550,"title":1551},"\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":1553,"title":1554},"\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":1556,"title":1557},"\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":1559,"title":1560},"\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":1562,"title":1563},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1565,"title":1566},"\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":1568,"title":1569},"\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":1571,"title":1572},"\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":1574,"title":1575},"\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":1577,"title":1578},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1580,"title":1581},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1583,"title":1584},"\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":1586,"title":1587},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1589,"title":1590},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1592,"title":1593},"\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":1595,"title":1596},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1598,"title":1599},"\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":1601,"title":1602},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1604,"title":1605},"\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":1607,"title":1608},"\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":1610,"title":1611},"\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":1613,"title":1614},"\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":1616,"title":1617},"\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":1619,"title":1620},"\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":1622,"title":1623},"\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":1625,"title":1626},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1628,"title":1629},"\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":1631,"title":1632},"\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":1634,"title":1635},"\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":1637,"title":1638},"\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":1640,"title":1641},"\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":1643,"title":1644},"\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":1646,"title":1647},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1649,"title":1650},"\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":1652,"title":1653},"\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":1655,"title":1656},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":1658,"title":1659},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":1661,"title":1662},"\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":1664,"title":1665},"\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":1667,"title":1668},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":1670,"title":1671},"\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":1673,"title":1674},"\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":1676,"title":1677},"\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":1679,"title":1680},"\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":1682,"title":1683},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1685,"title":1686},"\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":1688,"title":1689},"\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":1691,"title":1692},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1694,"title":1695},"\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":1697,"title":1698},"\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":1700,"title":1701},"\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":1703,"title":1704},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1706,"title":1707},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1709,"title":1710},"\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":1712,"title":1713},"\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":1715,"title":1716},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1718,"title":1719},"\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":1721,"title":1722},"\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":1724,"title":1725},"\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":1727,"title":1728},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":1730,"title":1731},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1733,"title":1734},"\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":1736,"title":1737},"\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":1739,"title":1740},"\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":1742,"title":1743},"\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":1745,"title":1746},"\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":1748,"title":1749},"\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":1751,"title":1752},"\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":1754,"title":1755},"\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":1757,"title":1758},"\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":1760,"title":1761},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1763,"title":1764},"\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":1766,"title":1767},"\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":1769,"title":1770},"\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":1772,"title":1773},"\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":1775,"title":1776},"\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":1778,"title":1779},"\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":1781,"title":1782},"\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":1784,"title":1785},"\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":1787,"title":1788},"\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":1790,"title":1791},"\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":1793,"title":1794},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":1796,"title":1797},"\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":1799,"title":1800},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1802,"title":1803},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1805,"title":1806},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1808,"title":1809},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1811,"title":1812},"\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":1814,"title":1815},"\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":1817,"title":1818},"\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":1820,"title":1821},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":1823,"title":1824},"\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":1826,"title":1827},"\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":1829,"title":1830},"\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":1832,"title":1833},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1835,"title":1836},"\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":1838,"title":1839},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1841,"title":1842},"\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":1844,"title":1845},"\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":1847,"title":1848},"\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":1850,"title":1851},"\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":1853,"title":1854},"\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":1856,"title":1857},"\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":1859,"title":1860},"\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":1862,"title":1863},"\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":1865,"title":1866},"\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":1868,"title":1869},"\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":1871,"title":1872},"\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":1874,"title":1875},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":1877,"title":1878},"\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":1880,"title":1881},"\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":1883,"title":1884},"\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":1886,"title":1887},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames","Cache Busting with Content-Hashed Filenames",{"path":1889,"title":1890},"\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":1892,"title":1893},"\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":1895,"title":1896},"\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":1898,"title":1899},"\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":1901,"title":1902},"\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":1904,"title":1905},"\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":1907,"title":1908},"\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":1910,"title":1911},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1913,"title":1914},"\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":1916,"title":1917},"\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":1919,"title":1920},"\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":1922,"title":1923},"\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":1925,"title":1926},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":1928,"title":1929},"\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":1931,"title":1932},"\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":1934,"title":1935},"\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":1937,"title":1938},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":1940,"title":1941},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites","Inlining Critical CSS on Static Sites",{"path":1943,"title":1944},"\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":1946,"title":1947},"\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":1949,"title":1950},"\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":1952,"title":1953},"\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":1955,"title":1956},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons","SVG Icon Sprites vs Inline Icons",{"path":1958,"title":1959},"\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":1961,"title":1962},"\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":1964,"title":1965},"\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":1967,"title":1968},"\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":1970,"title":1971},"\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":1973,"title":1974},"\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":1976,"title":1977},"\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":1979,"title":1980},"\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":1982,"title":1983},"\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":1985,"title":1986},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1988,"title":1989},"\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":1991,"title":1992},"\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":1994,"title":1995},"\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":1997,"title":1998},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2000,"title":2001},"\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":2003,"title":2004},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2006,"title":2007},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2009,"title":2010},"\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":2012,"title":2013},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2015,"title":2016},"\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":2018,"title":2019},"\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":2021,"title":2022},"\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":2024,"title":2025},"\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":2027,"title":2028},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2030,"title":2031},"\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":2033,"title":2034},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2036,"title":2037},"\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":2039,"title":2040},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2042,"title":2043},"\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":2045,"title":2046},"\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":2048,"title":2049},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2051,"title":2052},"\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":2054,"title":2055},"\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":2057,"title":2058},"\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":2060,"title":2061},"\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":2063,"title":2064},"\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":2066,"title":2067},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2069,"title":2070},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2072,"title":2073},"\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":2075,"title":2076},"\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":2078,"title":2079},"\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":2081,"title":2082},"\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":2084,"title":2085},"\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":2087,"title":2088},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2090,"title":2091},"\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":2093,"title":2094},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2096,"title":2097},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2099,"title":2100},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2102,"title":2103},"\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":2105,"title":2106},"\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":2108,"title":2109},"\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":2111,"title":2112},"\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":2114,"title":2115},"\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":2117,"title":2118},"\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":2120,"title":2121},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2123,"title":2124},"\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":2126,"title":2127},"\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":2129,"title":2130},"\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":2132,"title":2133},"\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":2135,"title":2136},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2138,"title":2139},"\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":2141,"title":2142},"\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":2144,"title":2145},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2147,"title":2148},"\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":2150,"title":2151},"\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":2153,"title":2154},"\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":2156,"title":2157},"\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":2159,"title":2160},"\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":2162,"title":2163},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2165,"title":2166},"\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":2168,"title":2169},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2171,"title":2172},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2174,"title":2175},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2177,"title":2178},"\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":2180,"title":2181},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2183,"title":2184},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2186,"title":2187},"\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":2189,"title":2190},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2192,"title":2193},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-in-astro-without-hurting-vitals","View Transitions in Astro Without Hurting Vitals",{"path":2195,"title":2196},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites","View Transitions on Multi-Page Static Sites",{"path":2198,"title":2199},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fauditing-third-party-scripts-with-lighthouse","Auditing Third-Party Scripts With Lighthouse",{"path":2201,"title":2202},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffacades-for-chat-widgets-and-maps","Facades for Chat Widgets and Maps",{"path":2204,"title":2205},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffixing-main-thread-blocking-from-chat-widgets","Fixing Main-Thread Blocking From Chat Widgets",{"path":2207,"title":2208},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2210,"title":2211},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Flazy-loading-youtube-embeds-on-static-sites","Lazy-Loading YouTube Embeds on Static Sites",{"path":2213,"title":2214},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Floading-google-tag-manager-without-hurting-inp","Loading Google Tag Manager Without Hurting INP",{"path":2216,"title":2217},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking","Measuring Third-Party Cost with Request Blocking",{"path":2219,"title":2220},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fprivacy-friendly-analytics-compared-by-page-weight","Privacy-Friendly Analytics Compared by Page Weight",{"path":2222,"title":2223},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Frunning-third-party-scripts-in-a-web-worker-with-partytown","Running Third-Party Scripts in a Web Worker with Partytown",{"path":2225,"title":2226},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fself-hosting-analytics-to-cut-third-party-requests","Self-Hosting Analytics to Cut Third-Party Requests",{"path":2228,"title":2229},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2231,"title":2232},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2234,"title":2235},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2237,"title":2238},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2240,"title":2241},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcustom-domains-and-tls-on-cloudflare-pages","Custom Domains and TLS on Cloudflare Pages",{"path":2243,"title":2244},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-astro-to-cloudflare-workers-static-assets","Deploying Astro to Cloudflare Workers Static Assets",{"path":2246,"title":2247},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-hugo-to-cloudflare-pages-and-workers","Deploying Hugo to Cloudflare Pages and Workers",{"path":2249,"title":2250},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-to-cloudflare-from-github-actions-with-wrangler","Deploying to Cloudflare From GitHub Actions With Wrangler",{"path":2252,"title":2253},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2255,"title":2256},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2258,"title":2259},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets","Migrating from Cloudflare Pages to Workers Static Assets",{"path":2261,"title":2262},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2264,"title":2265},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2267,"title":2268},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fdocs-as-code-review-workflow-for-writers","Docs-as-Code Review Workflow for Writers",{"path":2270,"title":2271},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2273,"title":2274},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fgit-based-cms-options-for-static-sites-compared","Git-Based CMS Options for Static Sites Compared",{"path":2276,"title":2277},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2279,"title":2280},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fmanaging-images-in-docs-as-code-repos","Managing Images in Docs-as-Code Repos",{"path":2282,"title":2283},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2285,"title":2286},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2288,"title":2289},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduling-content-publication-with-cron-triggered-builds","Scheduling Content Publication With Cron-Triggered Builds",{"path":2291,"title":2292},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build","Wiring a Headless CMS to a Static Build",{"path":2294,"title":2295},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2297,"title":2298},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fcaching-node-modules-in-github-actions-for-faster-ssg-builds","Caching node_modules in GitHub Actions",{"path":2300,"title":2301},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2303,"title":2304},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2306,"title":2307},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-multiple-environments-from-one-workflow","Deploying to Multiple Environments From One Workflow",{"path":2309,"title":2310},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Ffixing-flaky-static-site-builds-in-github-actions","Fixing Flaky Static Site Builds in GitHub Actions",{"path":2312,"title":2313},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fhow-to-set-up-github-actions-for-hugo-deployments","GitHub Actions for Hugo Deployments",{"path":2315,"title":2316},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2318,"title":2319},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2321,"title":2322},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2324,"title":2325},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpublishing-any-generator-to-github-pages-with-actions","Publishing Any Generator to GitHub Pages With Actions",{"path":2327,"title":2328},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2330,"title":2331},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fbuild-caching-on-netlify-and-vercel","Build Caching on Netlify and Vercel",{"path":2333,"title":2334},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fcaching-hugo-builds-in-github-actions","Caching Hugo Builds in GitHub Actions",{"path":2336,"title":2337},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2339,"title":2340},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2342,"title":2343},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Ffixing-stale-pages-from-incremental-builds","Fixing Stale Pages From Incremental Builds",{"path":2345,"title":2346},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer","Incremental Builds in Astro with the Content Layer",{"path":2348,"title":2349},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-rebuild-times-across-astro-eleventy-and-hugo","Incremental Rebuild Times Across Astro, Eleventy and Hugo",{"path":2351,"title":2352},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2354,"title":2355},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fmeasuring-build-time-regressions-in-ci","Measuring Build-Time Regressions in CI",{"path":2357,"title":2358},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fremote-caching-with-turborepo-for-ssg-monorepos","Remote Caching with Turborepo for SSG Monorepos",{"path":2360,"title":2361},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fsharing-build-cache-across-ci-runners","Sharing Build Cache Across CI Runners",{"path":2363,"title":1466},"\u002Fproduction-ready-deployment-cicd-workflows",{"path":2365,"title":2366},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2368,"title":2369},"\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":2371,"title":2372},"\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":2374,"title":2375},"\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":2377,"title":2378},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2380,"title":2381},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2383,"title":2384},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2386,"title":2387},"\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":2389,"title":2390},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2392,"title":2393},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2395,"title":2396},"\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":2398,"title":2399},"\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":2401,"title":2402},"\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":2404,"title":2405},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2407,"title":2408},"\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":2410,"title":2411},"\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":2413,"title":2414},"\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":2416,"title":2417},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2419,"title":2420},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2422,"title":2423},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2425,"title":2426},"\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":2428,"title":2429},"\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":2431,"title":2432},"\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":2434,"title":2435},"\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":2437,"title":2438},"\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":2440,"title":2441},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2443,"title":2444},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2446,"title":2447},"\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":2449,"title":2450},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2452,"title":2453},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2455,"title":2456},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2458,"title":2459},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2461,"title":2462},"\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":2464,"title":2465},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2467,"title":1416},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads",{"path":2469,"title":1435},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites",{"path":2471,"title":2472},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2474,"title":2475},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2477,"title":34},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites",{"path":2479,"title":2480},"\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":2482,"title":2483},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2485,"title":26},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets",{"path":2487,"title":2488},"\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":2490,"title":2491},"\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":1480,"title":5},{"path":2494,"title":2495},"\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":2497,"title":2498},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2500,"title":2501},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2503,"title":2504},"\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":2506,"title":2507},"\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":2509,"title":2510},"\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":2512,"title":2513},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2515,"title":2516},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2518,"title":2519},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2521,"title":2522},"\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":2524,"title":2525},"\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":2527,"title":2528},"\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":2530,"title":2531},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2533,"title":2534},"\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":2536,"title":2537},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2539,"title":2540},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2542,"title":1428},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects",{"path":2544,"title":39},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront",{"path":2546,"title":2547},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2549,"title":2550},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2552,"title":2553},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2555,"title":2556},"\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":2558,"title":2559},"\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":2561,"title":2562},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2564,"title":2565},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2567,"title":2568},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2570,"title":2571},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2573,"title":2574},"\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":2576,"title":2577},"\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":2579,"title":2580},"\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":2582,"title":2583},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2585,"title":2586},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2588,"title":2589},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2591,"title":2592},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2594,"title":2595},"\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":2597,"title":2598},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2600,"title":2601},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci","Accessibility Testing with axe and pa11y in CI",{"path":2603,"title":2604},"\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":2606,"title":2607},"\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":2609,"title":2610},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2612,"title":2613},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2615,"title":2616},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2618,"title":2619},"\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":2621,"title":2622},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2624,"title":2625},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2627,"tools":2631},{"label":2628,"plural":2629,"u":2630},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[2632],{"label":2633,"u":2634},"AWS (S3 and CloudFront)","\u002Ftools\u002Faws\u002F",1790943197294]