[{"data":1,"prerenderedAt":1699},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites":3,"all-docs-nav":1158},{"id":4,"title":5,"body":6,"breadcrumb":1135,"dateModified":1144,"datePublished":1144,"description":1145,"extension":1146,"faq":1147,"meta":1152,"navigation":574,"path":1153,"seo":1154,"slug":12,"stem":1155,"type":1156,"__hash__":1157},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites\u002Findex.md","Canary Releases for Static Sites",{"type":7,"value":8,"toc":1117},"minimark",[9,13,17,26,31,52,56,219,231,235,247,371,387,391,394,742,749,753,760,786,866,873,876,880,883,986,989,993,996,1000,1032,1036,1039,1043,1048,1051,1055,1058,1062,1065,1069,1072,1076,1113],[10,11,5],"h1",{"id":12},"canary-releases-for-static-sites",[14,15,16],"p",{},"Static sites are already safer to deploy than most software: deploys are atomic, previous versions stay available, and rolling back takes seconds. What they lack is a gap between \"deployed\" and \"everyone has it\". A deploy that breaks the search box on Safari, doubles the JavaScript bundle or ships a CSS change that hides the navigation on small screens reaches all readers at once, and stays live until someone notices and rolls back.",[14,18,19,20,25],{},"A canary release closes that gap. The new build goes to a small share of readers first — say 5% — while metrics compare them with everyone else. If errors, missing assets or Core Web Vitals get worse, the canary is stopped before most readers ever see it. This guide shows how to run canaries for static sites with Cloudflare Workers gradual deployments or a small edge split, how to keep readers on one version, and what to measure. It is part of ",[21,22,24],"a",{"href":23},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002F","Rollbacks and Deploy Safety for Static Sites",".",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,42,49],"ul",{},[35,36,37,38,25],"li",{},"A static site with content-hashed asset filenames — see ",[21,39,41],{"href":40},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames\u002F","Cache Busting with Content-Hashed Filenames",[35,43,44,45,25],{},"Real user monitoring for errors and Core Web Vitals — see ",[21,46,48],{"href":47},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data\u002F","Building a Core Web Vitals Dashboard from RUM Data",[35,50,51],{},"A host that can split traffic, or an edge function in front of the site.",[27,53,55],{"id":54},"how-a-canary-works","How a Canary Works",[57,58,59,215],"figure",{},[60,61,68,69,68,73,68,77,68,84,68,102],"svg",{"viewBox":62,"role":63,"ariaLabelledBy":64,"xmlns":67},"0 0 760 270","img",[65,66],"csr-flow-title","csr-flow-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[70,71,72],"title",{"id":65},"Canary traffic split for a static site",[74,75,76],"desc",{"id":66},"Incoming requests reach an edge router. Visitors without a version cookie are assigned 95 percent to the stable version and 5 percent to the canary, and the choice is stored in a cookie. Later requests follow the cookie. Both versions send RUM beacons tagged with their version to a comparison dashboard.",[78,79],"rect",{"x":80,"y":80,"width":81,"height":82,"fill":83},"0","760","270","#ffffff",[85,86,87,88,68],"defs",{},"\n    ",[89,90,97],"marker",{"id":91,"viewBox":92,"refX":93,"refY":94,"markerWidth":95,"markerHeight":95,"orient":96},"csr-flow-arrow","0 0 10 10","9","5","7","auto-start-reverse",[98,99],"path",{"d":100,"fill":101},"M0,0 L10,5 L0,10 z","#556071",[103,104,87,106,87,114,87,122,87,128,87,136,87,139,87,144,87,151,87,157,87,161,87,165,87,169,87,173,87,178,87,183,87,187,87,193,87,199,87,203,87,209,87,211,68],"g",{"style":105},"font-family:system-ui, sans-serif;font-size:12px",[107,108,113],"text",{"x":109,"y":110,"fill":111,"style":112},"380","26","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Sticky 95 \u002F 5 split with version-tagged metrics",[78,115],{"x":116,"y":117,"width":118,"height":119,"rx":120,"fill":101,"style":121,"stroke":101},"20","104","120","50","8","fill-opacity:0.1",[107,123,127],{"x":124,"y":125,"fill":111,"style":126},"80","134","text-anchor:middle","requests",[78,129],{"x":130,"y":131,"width":132,"height":133,"rx":120,"fill":134,"style":135,"stroke":134},"190","94","160","70","#6a4c93","fill-opacity:0.12",[107,137,138],{"x":82,"y":118,"fill":111,"style":126},"edge router",[107,140,143],{"x":82,"y":141,"fill":101,"style":142},"140","font-size:11px;text-anchor:middle","cookie or random assign",[78,145],{"x":146,"y":147,"width":148,"height":149,"rx":120,"fill":150,"style":135,"stroke":150},"410","54","170","56","#166a9e",[107,152,156],{"x":153,"y":154,"fill":111,"style":155},"495","78","font-weight:700;text-anchor:middle","stable (95%)",[107,158,160],{"x":153,"y":159,"fill":101,"style":142},"96","version a1b2c3",[78,162],{"x":146,"y":163,"width":148,"height":149,"rx":120,"fill":164,"style":135,"stroke":164},"150","#8a6d0f",[107,166,168],{"x":153,"y":167,"fill":111,"style":155},"174","canary (5%)",[107,170,172],{"x":153,"y":171,"fill":101,"style":142},"192","version d4e5f6",[78,174],{"x":175,"y":176,"width":118,"height":149,"rx":120,"fill":177,"style":135,"stroke":177},"620","102","#3f6410",[107,179,182],{"x":180,"y":181,"fill":111,"style":126},"680","126","RUM compare",[107,184,186],{"x":180,"y":185,"fill":101,"style":142},"144","errors, vitals",[188,189],"line",{"x1":141,"y1":190,"x2":191,"y2":190,"stroke":101,"style":192},"129","186","stroke-width:1.5px;marker-end:url(#csr-flow-arrow)",[188,194],{"x1":195,"y1":196,"x2":197,"y2":198,"stroke":101,"style":192},"350","116","406","84",[188,200],{"x1":195,"y1":201,"x2":197,"y2":202,"stroke":101,"style":192},"142","176",[188,204],{"x1":205,"y1":198,"x2":206,"y2":207,"stroke":101,"style":208},"580","616","118","stroke-width:1.5px;stroke-dasharray:4 3;marker-end:url(#csr-flow-arrow)",[188,210],{"x1":205,"y1":202,"x2":206,"y2":201,"stroke":101,"style":208},[107,212,214],{"x":109,"y":213,"fill":101,"style":142},"248","the version cookie keeps each reader's HTML and assets from the same build",[216,217,218],"figcaption",{},"Stickiness and version-tagged metrics are what make a canary safe and readable.",[14,220,221,222,226,227,230],{},"Two properties matter more than the split itself. The assignment must be ",[223,224,225],"strong",{},"sticky",": a reader who gets the canary's HTML must also get the canary's CSS and JavaScript, or pages with hashed filenames break. And metrics must be ",[223,228,229],{},"tagged by version",", so the canary group can be compared with the stable group rather than with last week.",[27,232,234],{"id":233},"option-1-cloudflare-workers-gradual-deployments","Option 1: Cloudflare Workers Gradual Deployments",[14,236,237,238,242,243,246],{},"Sites served by a Worker with static assets can use Workers' built-in versions. ",[239,240,241],"code",{},"wrangler versions upload"," creates a new version without sending traffic to it; ",[239,244,245],{},"wrangler versions deploy"," splits traffic between versions by percentage:",[248,249,254],"pre",{"className":250,"code":251,"language":252,"meta":253,"style":253},"language-bash shiki shiki-themes github-light github-dark","npx wrangler versions upload --message \"$(git log -1 --format=%s)\"\nnpx wrangler versions deploy \u003Cnew-version-id>@5% \u003Ccurrent-version-id>@95% -y\n# later, after checks\nnpx wrangler versions deploy \u003Cnew-version-id>@100% -y\n","bash","",[239,255,256,296,340,347],{"__ignoreMap":253},[257,258,260,264,268,271,274,278,281,284,287,290,293],"span",{"class":188,"line":259},1,[257,261,263],{"class":262},"sScJk","npx",[257,265,267],{"class":266},"sZZnC"," wrangler",[257,269,270],{"class":266}," versions",[257,272,273],{"class":266}," upload",[257,275,277],{"class":276},"sj4cs"," --message",[257,279,280],{"class":266}," \"$(",[257,282,283],{"class":262},"git",[257,285,286],{"class":266}," log ",[257,288,289],{"class":276},"-1",[257,291,292],{"class":276}," --format=%s",[257,294,295],{"class":266},")\"\n",[257,297,299,301,303,305,308,312,315,319,322,325,327,330,332,334,337],{"class":188,"line":298},2,[257,300,263],{"class":262},[257,302,267],{"class":266},[257,304,270],{"class":266},[257,306,307],{"class":266}," deploy",[257,309,311],{"class":310},"szBVR"," \u003C",[257,313,314],{"class":266},"new-version-i",[257,316,318],{"class":317},"sVt8B","d",[257,320,321],{"class":310},">",[257,323,324],{"class":266},"@5%",[257,326,311],{"class":310},[257,328,329],{"class":266},"current-version-i",[257,331,318],{"class":317},[257,333,321],{"class":310},[257,335,336],{"class":266},"@95%",[257,338,339],{"class":276}," -y\n",[257,341,343],{"class":188,"line":342},3,[257,344,346],{"class":345},"sJ8bj","# later, after checks\n",[257,348,350,352,354,356,358,360,362,364,366,369],{"class":188,"line":349},4,[257,351,263],{"class":262},[257,353,267],{"class":266},[257,355,270],{"class":266},[257,357,307],{"class":266},[257,359,311],{"class":310},[257,361,314],{"class":266},[257,363,318],{"class":317},[257,365,321],{"class":310},[257,367,368],{"class":266},"@100%",[257,370,339],{"class":276},[14,372,373,374,377,378,381,382,386],{},"To make the split sticky, set ",[223,375,376],{},"version affinity",": a request header or cookie that Cloudflare uses to keep the same client on the same version. Set ",[239,379,380],{},"Cloudflare-Workers-Version-Overrides"," for testing a specific version, and enable session affinity via a request key so a reader stays on the version they first received. Each version's static assets are served with that version, so HTML and assets always match. See ",[21,383,385],{"href":384},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets\u002F","Migrating from Cloudflare Pages to Workers Static Assets"," if the site is still on Pages.",[27,388,390],{"id":389},"option-2-an-edge-split-by-cookie","Option 2: An Edge Split by Cookie",[14,392,393],{},"On other hosts, an edge function in front of two deployments does the same. Deploy the canary build to a separate origin or path — a preview URL works — and route by cookie:",[248,395,399],{"className":396,"code":397,"language":398,"meta":253,"style":253},"language-ts shiki shiki-themes github-light github-dark","export default async (request: Request) => {\n  const cookie = request.headers.get('Cookie') ?? '';\n  let version = \u002Fsite_version=(stable|canary)\u002F.exec(cookie)?.[1];\n  const assign = !version;\n  if (!version) version = Math.random() \u003C 0.05 ? 'canary' : 'stable';\n\n  const origin = version === 'canary' ? 'https:\u002F\u002Fcanary.example-preview.com' : 'https:\u002F\u002Fstable.example-origin.com';\n  const url = new URL(request.url);\n  const res = await fetch(new Request(origin + url.pathname + url.search, request));\n  const out = new Response(res.body, res);\n  if (assign) out.headers.append('Set-Cookie', `site_version=${version}; Path=\u002F; Max-Age=86400; Secure; SameSite=Lax`);\n  out.headers.set('X-Site-Version', version);\n  return out;\n};\n","ts",[239,400,401,434,468,509,524,569,576,605,624,661,679,710,727,736],{"__ignoreMap":253},[257,402,403,406,409,412,415,419,422,425,428,431],{"class":188,"line":259},[257,404,405],{"class":310},"export",[257,407,408],{"class":310}," default",[257,410,411],{"class":310}," async",[257,413,414],{"class":317}," (",[257,416,418],{"class":417},"s4XuR","request",[257,420,421],{"class":310},":",[257,423,424],{"class":262}," Request",[257,426,427],{"class":317},") ",[257,429,430],{"class":310},"=>",[257,432,433],{"class":317}," {\n",[257,435,436,439,442,445,448,451,454,457,459,462,465],{"class":188,"line":298},[257,437,438],{"class":310},"  const",[257,440,441],{"class":276}," cookie",[257,443,444],{"class":310}," =",[257,446,447],{"class":317}," request.headers.",[257,449,450],{"class":262},"get",[257,452,453],{"class":317},"(",[257,455,456],{"class":266},"'Cookie'",[257,458,427],{"class":317},[257,460,461],{"class":310},"??",[257,463,464],{"class":266}," ''",[257,466,467],{"class":317},";\n",[257,469,470,473,476,479,482,486,489,492,495,497,500,503,506],{"class":188,"line":342},[257,471,472],{"class":310},"  let",[257,474,475],{"class":317}," version ",[257,477,478],{"class":310},"=",[257,480,481],{"class":266}," \u002F",[257,483,485],{"class":484},"sA_wV","site_version=(stable",[257,487,488],{"class":310},"|",[257,490,491],{"class":484},"canary)",[257,493,494],{"class":266},"\u002F",[257,496,25],{"class":317},[257,498,499],{"class":262},"exec",[257,501,502],{"class":317},"(cookie)?.[",[257,504,505],{"class":276},"1",[257,507,508],{"class":317},"];\n",[257,510,511,513,516,518,521],{"class":188,"line":349},[257,512,438],{"class":310},[257,514,515],{"class":276}," assign",[257,517,444],{"class":310},[257,519,520],{"class":310}," !",[257,522,523],{"class":317},"version;\n",[257,525,527,530,532,535,538,540,543,546,549,552,555,558,561,564,567],{"class":188,"line":526},5,[257,528,529],{"class":310},"  if",[257,531,414],{"class":317},[257,533,534],{"class":310},"!",[257,536,537],{"class":317},"version) version ",[257,539,478],{"class":310},[257,541,542],{"class":317}," Math.",[257,544,545],{"class":262},"random",[257,547,548],{"class":317},"() ",[257,550,551],{"class":310},"\u003C",[257,553,554],{"class":276}," 0.05",[257,556,557],{"class":310}," ?",[257,559,560],{"class":266}," 'canary'",[257,562,563],{"class":310}," :",[257,565,566],{"class":266}," 'stable'",[257,568,467],{"class":317},[257,570,572],{"class":188,"line":571},6,[257,573,575],{"emptyLinePlaceholder":574},true,"\n",[257,577,579,581,584,586,588,591,593,595,598,600,603],{"class":188,"line":578},7,[257,580,438],{"class":310},[257,582,583],{"class":276}," origin",[257,585,444],{"class":310},[257,587,475],{"class":317},[257,589,590],{"class":310},"===",[257,592,560],{"class":266},[257,594,557],{"class":310},[257,596,597],{"class":266}," 'https:\u002F\u002Fcanary.example-preview.com'",[257,599,563],{"class":310},[257,601,602],{"class":266}," 'https:\u002F\u002Fstable.example-origin.com'",[257,604,467],{"class":317},[257,606,608,610,613,615,618,621],{"class":188,"line":607},8,[257,609,438],{"class":310},[257,611,612],{"class":276}," url",[257,614,444],{"class":310},[257,616,617],{"class":310}," new",[257,619,620],{"class":262}," URL",[257,622,623],{"class":317},"(request.url);\n",[257,625,627,629,632,634,637,640,642,645,647,650,653,656,658],{"class":188,"line":626},9,[257,628,438],{"class":310},[257,630,631],{"class":276}," res",[257,633,444],{"class":310},[257,635,636],{"class":310}," await",[257,638,639],{"class":262}," fetch",[257,641,453],{"class":317},[257,643,644],{"class":310},"new",[257,646,424],{"class":262},[257,648,649],{"class":317},"(origin ",[257,651,652],{"class":310},"+",[257,654,655],{"class":317}," url.pathname ",[257,657,652],{"class":310},[257,659,660],{"class":317}," url.search, request));\n",[257,662,664,666,669,671,673,676],{"class":188,"line":663},10,[257,665,438],{"class":310},[257,667,668],{"class":276}," out",[257,670,444],{"class":310},[257,672,617],{"class":310},[257,674,675],{"class":262}," Response",[257,677,678],{"class":317},"(res.body, res);\n",[257,680,682,684,687,690,692,695,698,701,704,707],{"class":188,"line":681},11,[257,683,529],{"class":310},[257,685,686],{"class":317}," (assign) out.headers.",[257,688,689],{"class":262},"append",[257,691,453],{"class":317},[257,693,694],{"class":266},"'Set-Cookie'",[257,696,697],{"class":317},", ",[257,699,700],{"class":266},"`site_version=${",[257,702,703],{"class":317},"version",[257,705,706],{"class":266},"}; Path=\u002F; Max-Age=86400; Secure; SameSite=Lax`",[257,708,709],{"class":317},");\n",[257,711,713,716,719,721,724],{"class":188,"line":712},12,[257,714,715],{"class":317},"  out.headers.",[257,717,718],{"class":262},"set",[257,720,453],{"class":317},[257,722,723],{"class":266},"'X-Site-Version'",[257,725,726],{"class":317},", version);\n",[257,728,730,733],{"class":188,"line":729},13,[257,731,732],{"class":310},"  return",[257,734,735],{"class":317}," out;\n",[257,737,739],{"class":188,"line":738},14,[257,740,741],{"class":317},"};\n",[14,743,744,745,748],{},"Add ",[239,746,747],{},"Vary: Cookie"," or bypass the CDN cache for HTML during the canary, or the CDN may serve one version's HTML to both groups. Hashed assets can stay cacheable: their names differ between builds, so they never collide. Netlify's split testing between branch deploys implements the same pattern without code.",[27,750,752],{"id":751},"what-to-measure","What to Measure",[14,754,755,756,759],{},"Tag every RUM beacon and error report with the build version. Expose it in the HTML at build time — a ",[239,757,758],{},"\u003Cmeta name=\"build\" content=\"d4e5f6\">"," tag — and read it in the monitoring snippet. Then compare the two groups on:",[32,761,762,768,774,780],{},[35,763,764,767],{},[223,765,766],{},"JavaScript error rate"," per page view.",[35,769,770,773],{},[223,771,772],{},"404 rate on asset requests",", which catches missing or misnamed files.",[35,775,776,779],{},[223,777,778],{},"Core Web Vitals"," — LCP, INP and CLS at the 75th percentile.",[35,781,782,785],{},[223,783,784],{},"Key actions"," — search usage, sign-ups, clicks on the main call to action.",[57,787,788,863],{},[60,789,68,794,68,797,68,800,68,803],{"viewBox":790,"role":63,"ariaLabelledBy":791,"xmlns":67},"0 0 760 260",[792,793],"csr-cmp-title","csr-cmp-desc",[70,795,796],{"id":792},"A canary that failed its comparison",[74,798,799],{"id":793},"During a two-hour canary, the stable version had 0.2 JavaScript errors per 1,000 page views and INP p75 of 140 milliseconds. The canary had 6.8 errors per 1,000 views and INP of 310 milliseconds, both beyond the thresholds, so it was stopped and traffic returned to stable.",[78,801],{"x":80,"y":80,"width":81,"height":802,"fill":83},"260",[103,804,87,805,87,809,87,815,87,820,87,823,87,829,87,833,87,837,87,841,87,846,87,851,87,856,87,860,68],{"style":105},[107,806,808],{"x":109,"y":807,"fill":111,"style":112},"28","Stable vs canary, first two hours",[188,810],{"x1":811,"y1":812,"x2":813,"y2":812,"stroke":101,"style":814},"60","200","700","stroke-width:1.5px",[78,816],{"x":118,"y":817,"width":124,"height":818,"fill":150,"style":819},"194","6","fill-opacity:0.5",[107,821,822],{"x":132,"y":191,"fill":111,"style":126},"0.2",[78,824],{"x":825,"y":826,"width":124,"height":827,"fill":828,"style":819},"220","64","136","#d83b41",[107,830,832],{"x":802,"y":831,"fill":111,"style":126},"58","6.8",[107,834,836],{"x":835,"y":825,"fill":101,"style":126},"210","JS errors \u002F 1,000 views",[78,838],{"x":839,"y":840,"width":124,"height":133,"fill":150,"style":819},"460","130",[107,842,845],{"x":843,"y":844,"fill":111,"style":126},"500","124","140 ms",[78,847],{"x":848,"y":849,"width":124,"height":850,"fill":828,"style":819},"560","45","155",[107,852,855],{"x":853,"y":854,"fill":111,"style":126},"600","39","310 ms",[107,857,859],{"x":858,"y":825,"fill":101,"style":126},"550","INP p75",[107,861,862],{"x":109,"y":213,"fill":101,"style":142},"blue: stable · red: canary (5% of traffic) — stopped at 2 h, 95% of readers never affected",[216,864,865],{},"Comparing the two groups side by side made the regression obvious within hours.",[14,867,868,869,872],{},"Also give the team a way to see the canary on demand. A query parameter or header that forces the canary version — Workers' version override header, or a ",[239,870,871],{},"?version=canary"," rule in the edge router that sets the cookie — lets reviewers and support staff check the new build in production before it reaches everyone, without waiting to be assigned by chance.",[14,874,875],{},"Decide thresholds before the canary starts — for example, error rate no more than 1.5 times stable, INP no more than 20% worse — so the decision to promote or stop is mechanical, not a debate.",[27,877,879],{"id":878},"automating-promotion","Automating Promotion",[14,881,882],{},"A canary that someone has to remember to promote tends to sit at 5% for days. Automate it in the deploy workflow: after deploying at 5%, wait a fixed time — 30 minutes to a few hours depending on traffic — query the monitoring API for the comparison, and either promote to 100% or roll back. Low-traffic sites may need a larger canary share or a longer wait to collect enough data for a meaningful comparison; a canary with 40 page views proves nothing.",[57,884,885,983],{},[60,886,68,891,68,894,68,897,68,900,68,907],{"viewBox":887,"role":63,"ariaLabelledBy":888,"xmlns":67},"0 0 760 240",[889,890],"csr-auto-title","csr-auto-desc",[70,892,893],{"id":889},"Automated canary timeline",[74,895,896],{"id":890},"After merge, the new version is uploaded and deployed at 5 percent. After a two-hour observation window, the workflow queries the monitoring API. If all metrics are within thresholds, it promotes to 100 percent. If any metric breaches, it sets the canary to 0 percent and opens an issue with the comparison.",[78,898],{"x":80,"y":80,"width":81,"height":899,"fill":83},"240",[85,901,87,902,68],{},[89,903,905],{"id":904,"viewBox":92,"refX":93,"refY":94,"markerWidth":95,"markerHeight":95,"orient":96},"csr-auto-arrow",[98,906],{"d":100,"fill":101},[103,908,87,909,87,912,87,915,87,918,87,920,87,925,87,928,87,931,87,935,87,938,87,942,87,947,87,950,87,953,87,958,87,961,87,966,87,970,87,976,87,979,68],{"style":105},[107,910,911],{"x":109,"y":110,"fill":111,"style":112},"Merge to full rollout without a human in the loop",[78,913],{"x":116,"y":914,"width":118,"height":119,"rx":120,"fill":101,"style":121,"stroke":101},"90",[107,916,917],{"x":124,"y":118,"fill":111,"style":126},"merge",[78,919],{"x":148,"y":914,"width":840,"height":119,"rx":120,"fill":164,"style":135,"stroke":164},[107,921,924],{"x":922,"y":923,"fill":111,"style":126},"235","112","deploy at 5%",[107,926,927],{"x":922,"y":840,"fill":101,"style":142},"versions deploy",[78,929],{"x":930,"y":914,"width":163,"height":119,"rx":120,"fill":134,"style":135,"stroke":134},"330",[107,932,934],{"x":933,"y":923,"fill":111,"style":126},"405","observe 2 h",[107,936,937],{"x":933,"y":840,"fill":101,"style":142},"query RUM API",[78,939],{"x":940,"y":941,"width":812,"height":119,"rx":120,"fill":177,"style":135,"stroke":177},"540","44",[107,943,946],{"x":944,"y":945,"fill":177,"style":155},"640","66","within thresholds",[107,948,949],{"x":944,"y":198,"fill":111,"style":126},"promote to 100%",[78,951],{"x":940,"y":827,"width":812,"height":119,"rx":120,"fill":828,"style":952,"stroke":828},"fill-opacity:0.08",[107,954,957],{"x":944,"y":955,"fill":956,"style":155},"158","#b32b30","threshold breached",[107,959,960],{"x":944,"y":202,"fill":111,"style":126},"0% + open an issue",[188,962],{"x1":141,"y1":963,"x2":964,"y2":963,"stroke":101,"style":965},"115","166","stroke-width:1.5px;marker-end:url(#csr-auto-arrow)",[188,967],{"x1":968,"y1":963,"x2":969,"y2":963,"stroke":101,"style":965},"300","326",[188,971],{"x1":972,"y1":973,"x2":974,"y2":975,"stroke":101,"style":965},"480","105","536","72",[188,977],{"x1":972,"y1":978,"x2":974,"y2":955,"stroke":101,"style":965},"125",[107,980,982],{"x":109,"y":981,"fill":101,"style":142},"222","content-only builds can skip straight to 100% through a separate fast path",[216,984,985],{},"Thresholds agreed in advance turn the promote-or-stop decision into a script.",[14,987,988],{},"Record each canary's outcome and comparison numbers in the deployment log. Over a few months that history shows whether the thresholds are too loose (regressions slipping through) or too tight (healthy releases stopped), and gives a factual basis for adjusting them.",[27,990,992],{"id":991},"measured-impact","Measured Impact",[14,994,995],{},"A documentation site with about 400,000 monthly page views moved its production deploys to Workers gradual deployments with a 5% canary for two hours and automatic promotion. In the first six months, 3 of 140 deploys were stopped by the canary: a search script that threw on Safari, a bundle that doubled in size after a dependency update, and a CSS change that hid the sidebar on tablets. Each affected about 5% of readers for under two hours, where previously such issues had typically been live for everyone for half a day before a reader reported them.",[27,997,999],{"id":998},"pitfalls-rollback","Pitfalls & Rollback",[32,1001,1002,1008,1014,1020,1026],{},[35,1003,1004,1007],{},[223,1005,1006],{},"Non-sticky routing."," Mixed versions break hashed assets; always pin readers with a cookie or affinity key.",[35,1009,1010,1013],{},[223,1011,1012],{},"Cached HTML across versions."," Vary on the version cookie or skip HTML caching during the canary.",[35,1015,1016,1019],{},[223,1017,1018],{},"Untagged metrics."," Without a version tag, the canary's problems are diluted into site-wide averages.",[35,1021,1022,1025],{},[223,1023,1024],{},"Content deploys."," A typo fix does not need two hours of canary; allow a fast path for content-only builds.",[35,1027,1028,1031],{},[223,1029,1030],{},"Rollback:"," set the canary share to 0% or deploy the stable version at 100%; readers with the canary cookie return on their next request.",[27,1033,1035],{"id":1034},"conclusion","Conclusion",[14,1037,1038],{},"Canary releases give static sites the one safety property atomic deploys lack: a bad build reaches a few readers, not all of them. Split traffic with Workers gradual deployments or a small cookie-based edge router, keep each reader on one version, tag metrics with the build version, compare the groups against thresholds agreed in advance, and promote or roll back automatically. The cost is a short delay before a release reaches everyone.",[27,1040,1042],{"id":1041},"faq","FAQ",[1044,1045,1047],"h3",{"id":1046},"why-would-a-static-site-need-canary-releases","Why would a static site need canary releases?",[14,1049,1050],{},"Static deploys are atomic and easy to roll back, but a bad deploy still reaches every reader until someone notices. A canary sends a small share of traffic to the new version first, so broken JavaScript, a CSS regression or a performance drop affects a few percent of readers and is caught by metrics before full rollout.",[1044,1052,1054],{"id":1053},"how-do-i-keep-a-reader-on-the-same-version-during-a-canary","How do I keep a reader on the same version during a canary?",[14,1056,1057],{},"Assign each visitor to a version once, store the choice in a cookie, and route later requests by that cookie. Otherwise a reader can load HTML from one version and CSS or JavaScript from the other, which breaks pages with hashed asset names.",[1044,1059,1061],{"id":1060},"what-should-i-monitor-during-a-canary","What should I monitor during a canary?",[14,1063,1064],{},"Compare the canary with the stable version on JavaScript error rate, 404 rate for assets, Core Web Vitals from real users, and key conversions such as search usage or sign-ups. Tag every beacon with the version so the two groups can be compared directly.",[1044,1066,1068],{"id":1067},"which-platforms-support-canary-releases-for-static-sites","Which platforms support canary releases for static sites?",[14,1070,1071],{},"Cloudflare Workers offers gradual deployments that split traffic between versions by percentage. Netlify offers split testing between branch deploys. On other hosts, a small edge function or CDN rule that routes by cookie to two origins or path prefixes achieves the same.",[27,1073,1075],{"id":1074},"related","Related",[32,1077,1078,1087,1094,1101,1108],{},[35,1079,1080,1083,1084,1086],{},[223,1081,1082],{},"Parent:"," ",[21,1085,24],{"href":23}," — every deploy safety technique.",[35,1088,1089,1093],{},[21,1090,1092],{"href":1091},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-a-bad-static-deploy-in-under-a-minute\u002F","Rolling Back a Bad Static Deploy in Under a Minute"," — when the canary is not enough.",[35,1095,1096,1100],{},[21,1097,1099],{"href":1098},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites\u002F","Feature Flags on Static Sites"," — releasing features separately from deploys.",[35,1102,1103,1107],{},[21,1104,1106],{"href":1105},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads\u002F","Atomic Deploys vs Incremental Uploads"," — why version consistency matters.",[35,1109,1110,1112],{},[21,1111,48],{"href":47}," — the comparison data.",[1114,1115,1116],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}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 .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 .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}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 .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sA_wV, html code.shiki .sA_wV{--shiki-default:#032F62;--shiki-dark:#DBEDFF}",{"title":253,"searchDepth":298,"depth":298,"links":1118},[1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1134],{"id":29,"depth":298,"text":30},{"id":54,"depth":298,"text":55},{"id":233,"depth":298,"text":234},{"id":389,"depth":298,"text":390},{"id":751,"depth":298,"text":752},{"id":878,"depth":298,"text":879},{"id":991,"depth":298,"text":992},{"id":998,"depth":298,"text":999},{"id":1034,"depth":298,"text":1035},{"id":1041,"depth":298,"text":1042,"children":1129},[1130,1131,1132,1133],{"id":1046,"depth":342,"text":1047},{"id":1053,"depth":342,"text":1054},{"id":1060,"depth":342,"text":1061},{"id":1067,"depth":342,"text":1068},{"id":1074,"depth":298,"text":1075},[1136,1138,1141,1142],{"name":1137,"item":494},"Home",{"name":1139,"item":1140},"Production-Ready Deployment & CI\u002FCD Workflows","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":24,"item":23},{"name":5,"item":1143},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites\u002F","2026-09-18","Send a small share of traffic to a new static build before everyone gets it, using Worker gradual deployments or an edge split, and watch errors and vitals.","md",[1148,1149,1150,1151],{"q":1047,"a":1050},{"q":1054,"a":1057},{"q":1061,"a":1064},{"q":1068,"a":1071},{},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites",{"title":5,"description":1145},"production-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites\u002Findex","article","EvNrx3cvMl7igji9pwzh2MKV_WHVrwMROQ1wf1cdgyc",[1159,1162,1165,1168,1171,1174,1177,1180,1183,1186,1189,1192,1195,1198,1201,1204,1207,1210,1213,1216,1219,1222,1225,1228,1231,1234,1237,1240,1243,1246,1249,1252,1255,1258,1261,1264,1267,1270,1273,1276,1279,1282,1285,1288,1291,1294,1297,1300,1303,1306,1309,1312,1315,1318,1321,1323,1326,1329,1332,1335,1338,1341,1344,1347,1350,1353,1356,1359,1362,1365,1368,1371,1374,1377,1380,1383,1386,1389,1392,1395,1398,1401,1404,1407,1410,1413,1416,1419,1422,1425,1428,1431,1434,1437,1440,1443,1446,1449,1452,1455,1458,1461,1464,1467,1470,1473,1476,1479,1482,1485,1488,1491,1494,1497,1500,1503,1506,1509,1511,1514,1517,1520,1523,1526,1529,1532,1535,1538,1541,1544,1547,1550,1553,1556,1559,1562,1565,1568,1571,1574,1577,1579,1582,1585,1588,1591,1594,1597,1600,1603,1606,1609,1612,1615,1618,1621,1624,1627,1629,1630,1632,1634,1636,1639,1642,1645,1648,1651,1654,1657,1660,1663,1666,1669,1672,1675,1678,1681,1684,1687,1690,1693,1696],{"path":1160,"title":1161},"\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":1163,"title":1164},"\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":1166,"title":1167},"\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":1169,"title":1170},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1172,"title":1173},"\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":1175,"title":1176},"\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":1178,"title":1179},"\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":1181,"title":1182},"\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":1184,"title":1185},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1187,"title":1188},"\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":1190,"title":1191},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1193,"title":1194},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1196,"title":1197},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1199,"title":1200},"\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":1202,"title":1203},"\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":1205,"title":1206},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1208,"title":1209},"\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":1211,"title":1212},"\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":1214,"title":1215},"\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":1217,"title":1218},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1220,"title":1221},"\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":1223,"title":1224},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1226,"title":1227},"\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":1229,"title":1230},"\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":1232,"title":1233},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1235,"title":1236},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1238,"title":1239},"\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":1241,"title":1242},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1244,"title":1245},"\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":1247,"title":1248},"\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":1250,"title":1251},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1253,"title":1254},"\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":1256,"title":1257},"\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":1259,"title":1260},"\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":1262,"title":1263},"\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":1265,"title":1266},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1268,"title":1269},"\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":1271,"title":1272},"\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":1274,"title":1275},"\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":1277,"title":1278},"\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":1280,"title":1281},"\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":1283,"title":1284},"\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":1286,"title":1287},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1289,"title":1290},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1292,"title":1293},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1295,"title":1296},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1298,"title":1299},"\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":1301,"title":1302},"\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":1304,"title":1305},"\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":1307,"title":1308},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1310,"title":1311},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1313,"title":1314},"\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":1316,"title":1317},"\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":1319,"title":1320},"\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":1322,"title":41},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames",{"path":1324,"title":1325},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1327,"title":1328},"\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":1330,"title":1331},"\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":1333,"title":1334},"\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":1336,"title":1337},"\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":1339,"title":1340},"\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":1342,"title":1343},"\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":1345,"title":1346},"\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":1348,"title":1349},"\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":1351,"title":1352},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1354,"title":1355},"\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":1357,"title":1358},"\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":1360,"title":1361},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1363,"title":1364},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1366,"title":1367},"\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":1369,"title":1370},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1372,"title":1373},"\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":1375,"title":1376},"\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":1378,"title":1379},"\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":1381,"title":1382},"\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":1384,"title":1385},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1387,"title":1388},"\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":1390,"title":1391},"\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":1393,"title":1394},"\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":1396,"title":1397},"\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":1399,"title":1400},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1402,"title":1403},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1405,"title":1406},"\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":1408,"title":1409},"\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":1411,"title":1412},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1414,"title":1415},"\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":1417,"title":1418},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1420,"title":1421},"\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":1423,"title":1424},"\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":1426,"title":1427},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1429,"title":1430},"\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":1432,"title":1433},"\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":1435,"title":1436},"\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":1438,"title":1439},"\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":1441,"title":1442},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1444,"title":1445},"\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":1447,"title":1448},"\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":1450,"title":1451},"\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":1453,"title":1454},"\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":1456,"title":1457},"\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":1459,"title":1460},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1462,"title":1463},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1465,"title":1466},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1468,"title":1469},"\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":1471,"title":1472},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1474,"title":1475},"\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":1477,"title":1478},"\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":1480,"title":1481},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1483,"title":1484},"\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":1486,"title":1487},"\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":1489,"title":1490},"\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":1492,"title":1493},"\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":1495,"title":1496},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1498,"title":1499},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1501,"title":1502},"\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":1504,"title":1505},"\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":1507,"title":1508},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1510,"title":385},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets",{"path":1512,"title":1513},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1515,"title":1516},"\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":1518,"title":1519},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1521,"title":1522},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1524,"title":1525},"\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":1527,"title":1528},"\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":1530,"title":1531},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1533,"title":1534},"\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":1536,"title":1537},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1539,"title":1540},"\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":1542,"title":1543},"\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":1545,"title":1546},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1548,"title":1549},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1551,"title":1552},"\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":1554,"title":1555},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1557,"title":1558},"\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":1560,"title":1561},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":1563,"title":1564},"\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":1566,"title":1567},"\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":1569,"title":1570},"\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":1572,"title":1573},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1575,"title":1576},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1578,"title":48},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data",{"path":1580,"title":1581},"\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":1583,"title":1584},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1586,"title":1587},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1589,"title":1590},"\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":1592,"title":1593},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1595,"title":1596},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1598,"title":1599},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1601,"title":1602},"\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":1604,"title":1605},"\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":1607,"title":1608},"\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":1610,"title":1611},"\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":1613,"title":1614},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1616,"title":1617},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1619,"title":1620},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1622,"title":1623},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1625,"title":1626},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1628,"title":1106},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads",{"path":1153,"title":5},{"path":1631,"title":1099},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites",{"path":1633,"title":24},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites",{"path":1635,"title":1092},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-a-bad-static-deploy-in-under-a-minute",{"path":1637,"title":1638},"\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":1640,"title":1641},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1643,"title":1644},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1646,"title":1647},"\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":1649,"title":1650},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1652,"title":1653},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1655,"title":1656},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1658,"title":1659},"\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":1661,"title":1662},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1664,"title":1665},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1667,"title":1668},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront","Deploying a Static Site to S3 and CloudFront",{"path":1670,"title":1671},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1673,"title":1674},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1676,"title":1677},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1679,"title":1680},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1682,"title":1683},"\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":1685,"title":1686},"\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":1688,"title":1689},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1691,"title":1692},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1694,"title":1695},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1697,"title":1698},"\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",1789722848250]