[{"data":1,"prerenderedAt":3318},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites":3,"all-docs-nav":2170,"filed:\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites":3309},{"id":4,"title":5,"body":6,"breadcrumb":2145,"dateModified":2155,"datePublished":2155,"description":2156,"extension":2157,"faq":2158,"meta":2163,"navigation":2164,"path":2165,"seo":2166,"slug":12,"stem":2167,"type":2168,"__hash__":2169},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites\u002Findex.md","Netlify Edge Functions for Static Sites",{"type":7,"value":8,"toc":2126},"minimark",[9,13,26,40,45,61,65,76,274,284,435,439,446,911,967,978,982,992,1224,1242,1246,1253,1546,1549,1676,1680,1683,1751,1757,1896,1900,1917,1921,1990,1994,2040,2044,2047,2051,2056,2059,2063,2066,2070,2073,2077,2080,2084,2122],[10,11,5],"h1",{"id":12},"netlify-edge-functions-for-static-sites",[14,15,16,17,21,22,25],"p",{},"Netlify's static hosting covers most of what a static site needs with configuration alone: ",[18,19,20],"code",{},"_redirects",", ",[18,23,24],{},"_headers",", deploy previews, forms. Some requirements sit just beyond configuration — a banner that depends on the reader's country, a rewrite based on a cookie, a header value computed per request, an HTML tweak that should apply to every page without rebuilding. Netlify Edge Functions run small TypeScript functions at the edge before the static file is served, with access to the request, the static response, geolocation and cookies.",[14,27,28,29,34,35,39],{},"This guide adds three edge functions to a static marketing site on Netlify — a geolocation-based notice, a cookie-driven rewrite for a pricing experiment, and an HTML transform that injects a build-time banner — scopes them to the paths that need them, keeps static caching intact where possible, and measures the latency they add. It is part of ",[30,31,33],"a",{"href":32},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002F","Netlify vs Vercel Deployment Strategies",", and the Cloudflare equivalent is ",[30,36,38],{"href":37},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware\u002F","Cloudflare Pages Functions Middleware",".",[41,42,44],"h2",{"id":43},"prerequisites","Prerequisites",[46,47,48,52,58],"ul",{},[49,50,51],"li",{},"A static site deployed on Netlify (any generator).",[49,53,54,55,39],{},"Netlify CLI 17+ for local development with ",[18,56,57],{},"netlify dev",[49,59,60],{},"A clear list of what must happen at request time and could not happen at build time.",[41,62,64],{"id":63},"how-edge-functions-fit-in","How Edge Functions Fit In",[14,66,67,68,71,72,75],{},"Edge functions live in ",[18,69,70],{},"netlify\u002Fedge-functions\u002F"," and declare the paths they run on. For each request, Netlify runs matching edge functions in order; each can return a response directly or call ",[18,73,74],{},"context.next()"," to continue to the static file (or a later function), then modify what comes back:",[77,78,83],"pre",{"className":79,"code":80,"language":81,"meta":82,"style":82},"language-ts shiki shiki-themes github-light github-dark","\u002F\u002F netlify\u002Fedge-functions\u002Fexample.ts\nimport type { Config, Context } from '@netlify\u002Fedge-functions';\nexport default async (request: Request, context: Context) => {\n  const response = await context.next();\n  response.headers.set('X-Edge', 'on');\n  return response;\n};\nexport const config: Config = { path: '\u002F*', excludedPath: ['\u002Fassets\u002F*', '\u002Fimg\u002F*', '\u002F*.css', '\u002F*.js'] };\n","ts","",[18,84,85,94,118,163,188,211,220,226],{"__ignoreMap":82},[86,87,90],"span",{"class":88,"line":89},"line",1,[86,91,93],{"class":92},"sJ8bj","\u002F\u002F netlify\u002Fedge-functions\u002Fexample.ts\n",[86,95,97,101,104,108,111,115],{"class":88,"line":96},2,[86,98,100],{"class":99},"szBVR","import",[86,102,103],{"class":99}," type",[86,105,107],{"class":106},"sVt8B"," { Config, Context } ",[86,109,110],{"class":99},"from",[86,112,114],{"class":113},"sZZnC"," '@netlify\u002Fedge-functions'",[86,116,117],{"class":106},";\n",[86,119,121,124,127,130,133,137,140,144,146,149,151,154,157,160],{"class":88,"line":120},3,[86,122,123],{"class":99},"export",[86,125,126],{"class":99}," default",[86,128,129],{"class":99}," async",[86,131,132],{"class":106}," (",[86,134,136],{"class":135},"s4XuR","request",[86,138,139],{"class":99},":",[86,141,143],{"class":142},"sScJk"," Request",[86,145,21],{"class":106},[86,147,148],{"class":135},"context",[86,150,139],{"class":99},[86,152,153],{"class":142}," Context",[86,155,156],{"class":106},") ",[86,158,159],{"class":99},"=>",[86,161,162],{"class":106}," {\n",[86,164,166,169,173,176,179,182,185],{"class":88,"line":165},4,[86,167,168],{"class":99},"  const",[86,170,172],{"class":171},"sj4cs"," response",[86,174,175],{"class":99}," =",[86,177,178],{"class":99}," await",[86,180,181],{"class":106}," context.",[86,183,184],{"class":142},"next",[86,186,187],{"class":106},"();\n",[86,189,191,194,197,200,203,205,208],{"class":88,"line":190},5,[86,192,193],{"class":106},"  response.headers.",[86,195,196],{"class":142},"set",[86,198,199],{"class":106},"(",[86,201,202],{"class":113},"'X-Edge'",[86,204,21],{"class":106},[86,206,207],{"class":113},"'on'",[86,209,210],{"class":106},");\n",[86,212,214,217],{"class":88,"line":213},6,[86,215,216],{"class":99},"  return",[86,218,219],{"class":106}," response;\n",[86,221,223],{"class":88,"line":222},7,[86,224,225],{"class":106},"};\n",[86,227,229,231,234,237,239,242,244,247,250,253,256,258,261,263,266,268,271],{"class":88,"line":228},8,[86,230,123],{"class":99},[86,232,233],{"class":99}," const",[86,235,236],{"class":171}," config",[86,238,139],{"class":99},[86,240,241],{"class":142}," Config",[86,243,175],{"class":99},[86,245,246],{"class":106}," { path: ",[86,248,249],{"class":113},"'\u002F*'",[86,251,252],{"class":106},", excludedPath: [",[86,254,255],{"class":113},"'\u002Fassets\u002F*'",[86,257,21],{"class":106},[86,259,260],{"class":113},"'\u002Fimg\u002F*'",[86,262,21],{"class":106},[86,264,265],{"class":113},"'\u002F*.css'",[86,267,21],{"class":106},[86,269,270],{"class":113},"'\u002F*.js'",[86,272,273],{"class":106},"] };\n",[14,275,276,279,280,283],{},[18,277,278],{},"excludedPath"," keeps the function off assets, so images and scripts are served straight from the CDN. Declaring paths in the function file rather than ",[18,281,282],{},"netlify.toml"," keeps the scope next to the code.",[285,286,287,431],"figure",{},[288,289,296,297,296,301,296,305,296,312,296,416],"svg",{"viewBox":290,"role":291,"ariaLabelledBy":292,"xmlns":295},"0 0 760 383","img",[293,294],"nef-order-title","nef-order-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[298,299,300],"title",{"id":293},"Order of processing for a request on Netlify with edge functions",[302,303,304],"desc",{"id":294},"A request arrives at a Netlify edge node. Edge functions whose paths match run first, in declared order. When a function calls context.next, redirect and rewrite rules from _redirects apply, then the static file is served with _headers. The response passes back through each function, which can modify it before it reaches the reader.",[306,307],"rect",{"x":308,"y":308,"width":309,"height":310,"fill":311},"0","760","383","#ffffff",[313,314,316,317,316,327,316,334,316,338,316,341,316,347,316,350,316,356,316,364,316,370,316,375,316,381,316,384,316,388,316,392,316,396,316,400,316,404,316,408,316,412,296],"g",{"style":315},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[306,318],{"x":319,"y":320,"width":321,"height":322,"rx":323,"fill":324,"opacity":325,"stroke":324,"style":326},"40.0","60.0","440.0","57.2","8","#6a4c93","0.14","stroke-width:1.5px",[328,329],"path",{"d":330,"fill":331,"stroke":332,"style":333},"M260.0 119.2 L260.0 139.2","none","#556071","stroke-width:2px;marker-end:url(#nef-order-arrow)",[306,335],{"x":319,"y":336,"width":321,"height":322,"rx":323,"fill":337,"opacity":325,"stroke":337,"style":326},"143.2","#1982c4",[328,339],{"d":340,"fill":331,"stroke":332,"style":333},"M260.0 202.4 L260.0 222.4",[306,342],{"x":319,"y":343,"width":321,"height":322,"rx":323,"fill":344,"opacity":345,"stroke":346,"style":326},"226.4","#8ac926","0.2","#5a8a16",[328,348],{"d":349,"fill":331,"stroke":332,"style":333},"M260.0 285.6 L260.0 305.6",[306,351],{"x":319,"y":352,"width":321,"height":322,"rx":323,"fill":353,"opacity":354,"stroke":355,"style":326},"309.6","#ffca3a","0.24","#a97b00",[357,358,363],"text",{"x":359,"y":360,"fill":361,"style":362},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","Where edge functions run in a Netlify request",[357,365,369],{"x":366,"y":367,"fill":361,"style":368},"260.0","86.4","font-size:13px;text-anchor:middle;font-weight:700","Edge functions",[357,371,374],{"x":366,"y":372,"fill":332,"style":373},"103.3","font-size:11px;text-anchor:middle","matching paths only",[357,376,380],{"x":377,"y":378,"fill":332,"style":379},"504.0","92.6","font-size:11.5px;text-anchor:start","geo notice, pricing rewrite, banner",[357,382,20],{"x":366,"y":383,"fill":361,"style":368},"169.5",[357,385,387],{"x":366,"y":386,"fill":332,"style":373},"186.4","redirects and rewrites",[357,389,391],{"x":377,"y":390,"fill":332,"style":379},"175.8","after context.next()",[357,393,395],{"x":366,"y":394,"fill":361,"style":368},"252.7","Static file + _headers",[357,397,399],{"x":366,"y":398,"fill":332,"style":373},"269.6","from the CDN",[357,401,403],{"x":377,"y":402,"fill":332,"style":379},"259.0","cached as usual",[357,405,407],{"x":366,"y":406,"fill":361,"style":368},"335.9","Response back through functions",[357,409,411],{"x":366,"y":410,"fill":332,"style":373},"352.8","modify on the way out",[357,413,415],{"x":377,"y":414,"fill":332,"style":379},"342.2","headers or HTML transforms",[417,418,316,419,296],"defs",{},[420,421,427,428,316],"marker",{"id":422,"viewBox":423,"refX":323,"refY":424,"markerWidth":425,"markerHeight":425,"orient":426},"nef-order-arrow","0 0 10 10","5","7","auto-start-reverse","\n      ",[328,429],{"d":430,"fill":332},"M0 0 L10 5 L0 10 z",[432,433,434],"figcaption",{},"Functions wrap the static response; with excludedPath, assets bypass them entirely.",[41,436,438],{"id":437},"function-1-a-country-specific-notice","Function 1: A Country-Specific Notice",[14,440,441,442,445],{},"The site needed to show EU readers a short note about data residency on the pricing page. Rather than detecting location in client JavaScript (which needs a geolocation API call and shifts the layout when the note appears), an edge function adds a class to ",[18,443,444],{},"\u003Chtml>"," based on Netlify's geolocation, and CSS shows or hides the note, which is already in the static HTML:",[77,447,449],{"className":79,"code":448,"language":81,"meta":82,"style":82},"\u002F\u002F netlify\u002Fedge-functions\u002Fgeo-class.ts\nimport type { Config, Context } from '@netlify\u002Fedge-functions';\nconst EU = new Set(['AT','BE','BG','HR','CY','CZ','DK','EE','FI','FR','DE','GR','HU','IE','IT','LV','LT','LU','MT','NL','PL','PT','RO','SK','SI','ES','SE']);\nexport default async (_req: Request, context: Context) => {\n  const res = await context.next();\n  if (!res.headers.get('content-type')?.includes('text\u002Fhtml')) return res;\n  const region = EU.has(context.geo?.country?.code ?? '') ? 'eu' : 'other';\n  const html = (await res.text()).replace('\u003Chtml ', `\u003Chtml data-region=\"${region}\" `);\n  const out = new Response(html, res);\n  out.headers.set('Cache-Control', 'public, max-age=0, must-revalidate');\n  out.headers.set('Vary', 'Accept-Encoding');\n  out.headers.set('Netlify-Vary', 'header=x-country');\n  return out;\n};\nexport const config: Config = { path: '\u002Fpricing\u002F' };\n",[18,450,451,456,470,626,657,674,715,756,799,817,837,856,875,883,888],{"__ignoreMap":82},[86,452,453],{"class":88,"line":89},[86,454,455],{"class":92},"\u002F\u002F netlify\u002Fedge-functions\u002Fgeo-class.ts\n",[86,457,458,460,462,464,466,468],{"class":88,"line":96},[86,459,100],{"class":99},[86,461,103],{"class":99},[86,463,107],{"class":106},[86,465,110],{"class":99},[86,467,114],{"class":113},[86,469,117],{"class":106},[86,471,472,475,478,480,483,486,489,492,495,498,500,503,505,508,510,513,515,518,520,523,525,528,530,533,535,538,540,543,545,548,550,553,555,558,560,563,565,568,570,573,575,578,580,583,585,588,590,593,595,598,600,603,605,608,610,613,615,618,620,623],{"class":88,"line":120},[86,473,474],{"class":99},"const",[86,476,477],{"class":171}," EU",[86,479,175],{"class":99},[86,481,482],{"class":99}," new",[86,484,485],{"class":142}," Set",[86,487,488],{"class":106},"([",[86,490,491],{"class":113},"'AT'",[86,493,494],{"class":106},",",[86,496,497],{"class":113},"'BE'",[86,499,494],{"class":106},[86,501,502],{"class":113},"'BG'",[86,504,494],{"class":106},[86,506,507],{"class":113},"'HR'",[86,509,494],{"class":106},[86,511,512],{"class":113},"'CY'",[86,514,494],{"class":106},[86,516,517],{"class":113},"'CZ'",[86,519,494],{"class":106},[86,521,522],{"class":113},"'DK'",[86,524,494],{"class":106},[86,526,527],{"class":113},"'EE'",[86,529,494],{"class":106},[86,531,532],{"class":113},"'FI'",[86,534,494],{"class":106},[86,536,537],{"class":113},"'FR'",[86,539,494],{"class":106},[86,541,542],{"class":113},"'DE'",[86,544,494],{"class":106},[86,546,547],{"class":113},"'GR'",[86,549,494],{"class":106},[86,551,552],{"class":113},"'HU'",[86,554,494],{"class":106},[86,556,557],{"class":113},"'IE'",[86,559,494],{"class":106},[86,561,562],{"class":113},"'IT'",[86,564,494],{"class":106},[86,566,567],{"class":113},"'LV'",[86,569,494],{"class":106},[86,571,572],{"class":113},"'LT'",[86,574,494],{"class":106},[86,576,577],{"class":113},"'LU'",[86,579,494],{"class":106},[86,581,582],{"class":113},"'MT'",[86,584,494],{"class":106},[86,586,587],{"class":113},"'NL'",[86,589,494],{"class":106},[86,591,592],{"class":113},"'PL'",[86,594,494],{"class":106},[86,596,597],{"class":113},"'PT'",[86,599,494],{"class":106},[86,601,602],{"class":113},"'RO'",[86,604,494],{"class":106},[86,606,607],{"class":113},"'SK'",[86,609,494],{"class":106},[86,611,612],{"class":113},"'SI'",[86,614,494],{"class":106},[86,616,617],{"class":113},"'ES'",[86,619,494],{"class":106},[86,621,622],{"class":113},"'SE'",[86,624,625],{"class":106},"]);\n",[86,627,628,630,632,634,636,639,641,643,645,647,649,651,653,655],{"class":88,"line":165},[86,629,123],{"class":99},[86,631,126],{"class":99},[86,633,129],{"class":99},[86,635,132],{"class":106},[86,637,638],{"class":135},"_req",[86,640,139],{"class":99},[86,642,143],{"class":142},[86,644,21],{"class":106},[86,646,148],{"class":135},[86,648,139],{"class":99},[86,650,153],{"class":142},[86,652,156],{"class":106},[86,654,159],{"class":99},[86,656,162],{"class":106},[86,658,659,661,664,666,668,670,672],{"class":88,"line":190},[86,660,168],{"class":99},[86,662,663],{"class":171}," res",[86,665,175],{"class":99},[86,667,178],{"class":99},[86,669,181],{"class":106},[86,671,184],{"class":142},[86,673,187],{"class":106},[86,675,676,679,681,684,687,690,692,695,698,701,703,706,709,712],{"class":88,"line":213},[86,677,678],{"class":99},"  if",[86,680,132],{"class":106},[86,682,683],{"class":99},"!",[86,685,686],{"class":106},"res.headers.",[86,688,689],{"class":142},"get",[86,691,199],{"class":106},[86,693,694],{"class":113},"'content-type'",[86,696,697],{"class":106},")?.",[86,699,700],{"class":142},"includes",[86,702,199],{"class":106},[86,704,705],{"class":113},"'text\u002Fhtml'",[86,707,708],{"class":106},")) ",[86,710,711],{"class":99},"return",[86,713,714],{"class":106}," res;\n",[86,716,717,719,722,724,726,728,731,734,737,740,742,745,748,751,754],{"class":88,"line":222},[86,718,168],{"class":99},[86,720,721],{"class":171}," region",[86,723,175],{"class":99},[86,725,477],{"class":171},[86,727,39],{"class":106},[86,729,730],{"class":142},"has",[86,732,733],{"class":106},"(context.geo?.country?.code ",[86,735,736],{"class":99},"??",[86,738,739],{"class":113}," ''",[86,741,156],{"class":106},[86,743,744],{"class":99},"?",[86,746,747],{"class":113}," 'eu'",[86,749,750],{"class":99}," :",[86,752,753],{"class":113}," 'other'",[86,755,117],{"class":106},[86,757,758,760,763,765,767,770,773,775,778,781,783,786,788,791,794,797],{"class":88,"line":228},[86,759,168],{"class":99},[86,761,762],{"class":171}," html",[86,764,175],{"class":99},[86,766,132],{"class":106},[86,768,769],{"class":99},"await",[86,771,772],{"class":106}," res.",[86,774,357],{"class":142},[86,776,777],{"class":106},"()).",[86,779,780],{"class":142},"replace",[86,782,199],{"class":106},[86,784,785],{"class":113},"'\u003Chtml '",[86,787,21],{"class":106},[86,789,790],{"class":113},"`\u003Chtml data-region=\"${",[86,792,793],{"class":106},"region",[86,795,796],{"class":113},"}\" `",[86,798,210],{"class":106},[86,800,802,804,807,809,811,814],{"class":88,"line":801},9,[86,803,168],{"class":99},[86,805,806],{"class":171}," out",[86,808,175],{"class":99},[86,810,482],{"class":99},[86,812,813],{"class":142}," Response",[86,815,816],{"class":106},"(html, res);\n",[86,818,820,823,825,827,830,832,835],{"class":88,"line":819},10,[86,821,822],{"class":106},"  out.headers.",[86,824,196],{"class":142},[86,826,199],{"class":106},[86,828,829],{"class":113},"'Cache-Control'",[86,831,21],{"class":106},[86,833,834],{"class":113},"'public, max-age=0, must-revalidate'",[86,836,210],{"class":106},[86,838,840,842,844,846,849,851,854],{"class":88,"line":839},11,[86,841,822],{"class":106},[86,843,196],{"class":142},[86,845,199],{"class":106},[86,847,848],{"class":113},"'Vary'",[86,850,21],{"class":106},[86,852,853],{"class":113},"'Accept-Encoding'",[86,855,210],{"class":106},[86,857,859,861,863,865,868,870,873],{"class":88,"line":858},12,[86,860,822],{"class":106},[86,862,196],{"class":142},[86,864,199],{"class":106},[86,866,867],{"class":113},"'Netlify-Vary'",[86,869,21],{"class":106},[86,871,872],{"class":113},"'header=x-country'",[86,874,210],{"class":106},[86,876,878,880],{"class":88,"line":877},13,[86,879,216],{"class":99},[86,881,882],{"class":106}," out;\n",[86,884,886],{"class":88,"line":885},14,[86,887,225],{"class":106},[86,889,891,893,895,897,899,901,903,905,908],{"class":88,"line":890},15,[86,892,123],{"class":99},[86,894,233],{"class":99},[86,896,236],{"class":171},[86,898,139],{"class":99},[86,900,241],{"class":142},[86,902,175],{"class":99},[86,904,246],{"class":106},[86,906,907],{"class":113},"'\u002Fpricing\u002F'",[86,909,910],{"class":106}," };\n",[77,912,916],{"className":913,"code":914,"language":915,"meta":82,"style":82},"language-css shiki shiki-themes github-light github-dark",".eu-notice { display: none; }\n[data-region=\"eu\"] .eu-notice { display: block; }\n","css",[18,917,918,937],{"__ignoreMap":82},[86,919,920,923,926,929,932,934],{"class":88,"line":89},[86,921,922],{"class":142},".eu-notice",[86,924,925],{"class":106}," { ",[86,927,928],{"class":171},"display",[86,930,931],{"class":106},": ",[86,933,331],{"class":171},[86,935,936],{"class":106},"; }\n",[86,938,939,942,945,948,951,954,956,958,960,962,965],{"class":88,"line":96},[86,940,941],{"class":106},"[",[86,943,944],{"class":142},"data-region",[86,946,947],{"class":99},"=",[86,949,950],{"class":113},"\"eu\"",[86,952,953],{"class":106},"] ",[86,955,922],{"class":142},[86,957,925],{"class":106},[86,959,928],{"class":171},[86,961,931],{"class":106},[86,963,964],{"class":171},"block",[86,966,936],{"class":106},[14,968,969,970,973,974,977],{},"Because the notice's space is decided before the page reaches the browser, there is no layout shift. The function runs only on ",[18,971,972],{},"\u002Fpricing\u002F",". Reading the whole body with ",[18,975,976],{},"res.text()"," is acceptable for one small page; for site-wide transforms, streaming is better (see Function 3).",[41,979,981],{"id":980},"function-2-a-cookie-driven-pricing-experiment","Function 2: A Cookie-Driven Pricing Experiment",[14,983,984,985,987,988,991],{},"A pricing experiment served one of two static variants, ",[18,986,972],{}," and ",[18,989,990],{},"\u002Fpricing\u002Fb\u002F",", at the same URL. An edge function assigns a variant, stores it in a cookie, and rewrites to the variant's static file:",[77,993,995],{"className":79,"code":994,"language":81,"meta":82,"style":82},"\u002F\u002F netlify\u002Fedge-functions\u002Fpricing-ab.ts\nexport default async (request: Request, context: Context) => {\n  let variant = context.cookies.get('ab_pricing');\n  if (variant !== 'a' && variant !== 'b') {\n    variant = Math.random() \u003C 0.5 ? 'a' : 'b';\n    context.cookies.set({ name: 'ab_pricing', value: variant, path: '\u002F', maxAge: 60 * 60 * 24 * 30, sameSite: 'Lax', secure: true });\n  }\n  if (variant === 'b') return context.rewrite('\u002Fpricing\u002Fb\u002F');\n};\nexport const config: Config = { path: '\u002Fpricing\u002F' };\n",[18,996,997,1002,1032,1054,1080,1113,1168,1173,1200,1204],{"__ignoreMap":82},[86,998,999],{"class":88,"line":89},[86,1000,1001],{"class":92},"\u002F\u002F netlify\u002Fedge-functions\u002Fpricing-ab.ts\n",[86,1003,1004,1006,1008,1010,1012,1014,1016,1018,1020,1022,1024,1026,1028,1030],{"class":88,"line":96},[86,1005,123],{"class":99},[86,1007,126],{"class":99},[86,1009,129],{"class":99},[86,1011,132],{"class":106},[86,1013,136],{"class":135},[86,1015,139],{"class":99},[86,1017,143],{"class":142},[86,1019,21],{"class":106},[86,1021,148],{"class":135},[86,1023,139],{"class":99},[86,1025,153],{"class":142},[86,1027,156],{"class":106},[86,1029,159],{"class":99},[86,1031,162],{"class":106},[86,1033,1034,1037,1040,1042,1045,1047,1049,1052],{"class":88,"line":120},[86,1035,1036],{"class":99},"  let",[86,1038,1039],{"class":106}," variant ",[86,1041,947],{"class":99},[86,1043,1044],{"class":106}," context.cookies.",[86,1046,689],{"class":142},[86,1048,199],{"class":106},[86,1050,1051],{"class":113},"'ab_pricing'",[86,1053,210],{"class":106},[86,1055,1056,1058,1061,1064,1067,1070,1072,1074,1077],{"class":88,"line":165},[86,1057,678],{"class":99},[86,1059,1060],{"class":106}," (variant ",[86,1062,1063],{"class":99},"!==",[86,1065,1066],{"class":113}," 'a'",[86,1068,1069],{"class":99}," &&",[86,1071,1039],{"class":106},[86,1073,1063],{"class":99},[86,1075,1076],{"class":113}," 'b'",[86,1078,1079],{"class":106},") {\n",[86,1081,1082,1085,1087,1090,1093,1096,1099,1102,1105,1107,1109,1111],{"class":88,"line":190},[86,1083,1084],{"class":106},"    variant ",[86,1086,947],{"class":99},[86,1088,1089],{"class":106}," Math.",[86,1091,1092],{"class":142},"random",[86,1094,1095],{"class":106},"() ",[86,1097,1098],{"class":99},"\u003C",[86,1100,1101],{"class":171}," 0.5",[86,1103,1104],{"class":99}," ?",[86,1106,1066],{"class":113},[86,1108,750],{"class":99},[86,1110,1076],{"class":113},[86,1112,117],{"class":106},[86,1114,1115,1118,1120,1123,1125,1128,1131,1134,1137,1140,1143,1145,1148,1150,1153,1156,1159,1162,1165],{"class":88,"line":213},[86,1116,1117],{"class":106},"    context.cookies.",[86,1119,196],{"class":142},[86,1121,1122],{"class":106},"({ name: ",[86,1124,1051],{"class":113},[86,1126,1127],{"class":106},", value: variant, path: ",[86,1129,1130],{"class":113},"'\u002F'",[86,1132,1133],{"class":106},", maxAge: ",[86,1135,1136],{"class":171},"60",[86,1138,1139],{"class":99}," *",[86,1141,1142],{"class":171}," 60",[86,1144,1139],{"class":99},[86,1146,1147],{"class":171}," 24",[86,1149,1139],{"class":99},[86,1151,1152],{"class":171}," 30",[86,1154,1155],{"class":106},", sameSite: ",[86,1157,1158],{"class":113},"'Lax'",[86,1160,1161],{"class":106},", secure: ",[86,1163,1164],{"class":171},"true",[86,1166,1167],{"class":106}," });\n",[86,1169,1170],{"class":88,"line":222},[86,1171,1172],{"class":106},"  }\n",[86,1174,1175,1177,1179,1182,1184,1186,1188,1190,1193,1195,1198],{"class":88,"line":228},[86,1176,678],{"class":99},[86,1178,1060],{"class":106},[86,1180,1181],{"class":99},"===",[86,1183,1076],{"class":113},[86,1185,156],{"class":106},[86,1187,711],{"class":99},[86,1189,181],{"class":106},[86,1191,1192],{"class":142},"rewrite",[86,1194,199],{"class":106},[86,1196,1197],{"class":113},"'\u002Fpricing\u002Fb\u002F'",[86,1199,210],{"class":106},[86,1201,1202],{"class":88,"line":801},[86,1203,225],{"class":106},[86,1205,1206,1208,1210,1212,1214,1216,1218,1220,1222],{"class":88,"line":819},[86,1207,123],{"class":99},[86,1209,233],{"class":99},[86,1211,236],{"class":171},[86,1213,139],{"class":99},[86,1215,241],{"class":142},[86,1217,175],{"class":99},[86,1219,246],{"class":106},[86,1221,907],{"class":113},[86,1223,910],{"class":106},[14,1225,1226,1227,1230,1231,1234,1235,1237,1238,39],{},"Returning ",[18,1228,1229],{},"undefined"," for variant A continues to the normal static file. ",[18,1232,1233],{},"context.rewrite"," serves ",[18,1236,990],{}," without changing the URL. Netlify's built-in split testing works at the branch level instead and suits whole-site experiments; the edge function suits one page with two static variants, as discussed in ",[30,1239,1241],{"href":1240},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites\u002F","Feature Flags on Static Sites",[41,1243,1245],{"id":1244},"function-3-a-site-wide-banner-without-a-rebuild","Function 3: A Site-Wide Banner Without a Rebuild",[14,1247,1248,1249,1252],{},"Occasionally marketing needed a banner across the whole site within minutes — an incident notice, an event announcement — without waiting for a rebuild. An edge function reads the banner text from Netlify Blobs (a small key-value store) and injects it with ",[18,1250,1251],{},"HTMLRewriter",", which streams the page instead of buffering it:",[77,1254,1256],{"className":79,"code":1255,"language":81,"meta":82,"style":82},"\u002F\u002F netlify\u002Fedge-functions\u002Fbanner.ts\nimport { HTMLRewriter } from 'https:\u002F\u002Fghuc.cc\u002Fworker-tools\u002Fhtml-rewriter\u002Findex.ts';\nimport { getStore } from '@netlify\u002Fblobs';\nexport default async (_req: Request, context: Context) => {\n  const res = await context.next();\n  if (!res.headers.get('content-type')?.includes('text\u002Fhtml')) return res;\n  const banner = await getStore('site').get('banner', { consistency: 'eventual' });\n  if (!banner) return res;\n  return new HTMLRewriter()\n    .on('body', { element: (el) => el.prepend(`\u003Cdiv class=\"site-banner\" role=\"status\">${escapeHtml(banner)}\u003C\u002Fdiv>`, { html: true }) })\n    .transform(res);\n};\nexport const config: Config = { path: '\u002F*', excludedPath: ['\u002Fassets\u002F*', '\u002Fimg\u002F*', '\u002Ffonts\u002F*'], cache: 'manual' };\n",[18,1257,1258,1263,1277,1291,1321,1337,1367,1404,1419,1431,1493,1503,1507],{"__ignoreMap":82},[86,1259,1260],{"class":88,"line":89},[86,1261,1262],{"class":92},"\u002F\u002F netlify\u002Fedge-functions\u002Fbanner.ts\n",[86,1264,1265,1267,1270,1272,1275],{"class":88,"line":96},[86,1266,100],{"class":99},[86,1268,1269],{"class":106}," { HTMLRewriter } ",[86,1271,110],{"class":99},[86,1273,1274],{"class":113}," 'https:\u002F\u002Fghuc.cc\u002Fworker-tools\u002Fhtml-rewriter\u002Findex.ts'",[86,1276,117],{"class":106},[86,1278,1279,1281,1284,1286,1289],{"class":88,"line":120},[86,1280,100],{"class":99},[86,1282,1283],{"class":106}," { getStore } ",[86,1285,110],{"class":99},[86,1287,1288],{"class":113}," '@netlify\u002Fblobs'",[86,1290,117],{"class":106},[86,1292,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319],{"class":88,"line":165},[86,1294,123],{"class":99},[86,1296,126],{"class":99},[86,1298,129],{"class":99},[86,1300,132],{"class":106},[86,1302,638],{"class":135},[86,1304,139],{"class":99},[86,1306,143],{"class":142},[86,1308,21],{"class":106},[86,1310,148],{"class":135},[86,1312,139],{"class":99},[86,1314,153],{"class":142},[86,1316,156],{"class":106},[86,1318,159],{"class":99},[86,1320,162],{"class":106},[86,1322,1323,1325,1327,1329,1331,1333,1335],{"class":88,"line":190},[86,1324,168],{"class":99},[86,1326,663],{"class":171},[86,1328,175],{"class":99},[86,1330,178],{"class":99},[86,1332,181],{"class":106},[86,1334,184],{"class":142},[86,1336,187],{"class":106},[86,1338,1339,1341,1343,1345,1347,1349,1351,1353,1355,1357,1359,1361,1363,1365],{"class":88,"line":213},[86,1340,678],{"class":99},[86,1342,132],{"class":106},[86,1344,683],{"class":99},[86,1346,686],{"class":106},[86,1348,689],{"class":142},[86,1350,199],{"class":106},[86,1352,694],{"class":113},[86,1354,697],{"class":106},[86,1356,700],{"class":142},[86,1358,199],{"class":106},[86,1360,705],{"class":113},[86,1362,708],{"class":106},[86,1364,711],{"class":99},[86,1366,714],{"class":106},[86,1368,1369,1371,1374,1376,1378,1381,1383,1386,1389,1391,1393,1396,1399,1402],{"class":88,"line":222},[86,1370,168],{"class":99},[86,1372,1373],{"class":171}," banner",[86,1375,175],{"class":99},[86,1377,178],{"class":99},[86,1379,1380],{"class":142}," getStore",[86,1382,199],{"class":106},[86,1384,1385],{"class":113},"'site'",[86,1387,1388],{"class":106},").",[86,1390,689],{"class":142},[86,1392,199],{"class":106},[86,1394,1395],{"class":113},"'banner'",[86,1397,1398],{"class":106},", { consistency: ",[86,1400,1401],{"class":113},"'eventual'",[86,1403,1167],{"class":106},[86,1405,1406,1408,1410,1412,1415,1417],{"class":88,"line":228},[86,1407,678],{"class":99},[86,1409,132],{"class":106},[86,1411,683],{"class":99},[86,1413,1414],{"class":106},"banner) ",[86,1416,711],{"class":99},[86,1418,714],{"class":106},[86,1420,1421,1423,1425,1428],{"class":88,"line":801},[86,1422,216],{"class":99},[86,1424,482],{"class":99},[86,1426,1427],{"class":142}," HTMLRewriter",[86,1429,1430],{"class":106},"()\n",[86,1432,1433,1436,1439,1441,1444,1447,1450,1453,1456,1458,1460,1463,1466,1468,1471,1474,1476,1479,1482,1485,1488,1490],{"class":88,"line":819},[86,1434,1435],{"class":106},"    .",[86,1437,1438],{"class":142},"on",[86,1440,199],{"class":106},[86,1442,1443],{"class":113},"'body'",[86,1445,1446],{"class":106},", { ",[86,1448,1449],{"class":142},"element",[86,1451,1452],{"class":106},": (",[86,1454,1455],{"class":135},"el",[86,1457,156],{"class":106},[86,1459,159],{"class":99},[86,1461,1462],{"class":106}," el.",[86,1464,1465],{"class":142},"prepend",[86,1467,199],{"class":106},[86,1469,1470],{"class":113},"`\u003Cdiv class=\"site-banner\" role=\"status\">${",[86,1472,1473],{"class":142},"escapeHtml",[86,1475,199],{"class":113},[86,1477,1478],{"class":106},"banner",[86,1480,1481],{"class":113},")",[86,1483,1484],{"class":113},"}\u003C\u002Fdiv>`",[86,1486,1487],{"class":106},", { html: ",[86,1489,1164],{"class":171},[86,1491,1492],{"class":106}," }) })\n",[86,1494,1495,1497,1500],{"class":88,"line":839},[86,1496,1435],{"class":106},[86,1498,1499],{"class":142},"transform",[86,1501,1502],{"class":106},"(res);\n",[86,1504,1505],{"class":88,"line":858},[86,1506,225],{"class":106},[86,1508,1509,1511,1513,1515,1517,1519,1521,1523,1525,1527,1529,1531,1533,1535,1538,1541,1544],{"class":88,"line":877},[86,1510,123],{"class":99},[86,1512,233],{"class":99},[86,1514,236],{"class":171},[86,1516,139],{"class":99},[86,1518,241],{"class":142},[86,1520,175],{"class":99},[86,1522,246],{"class":106},[86,1524,249],{"class":113},[86,1526,252],{"class":106},[86,1528,255],{"class":113},[86,1530,21],{"class":106},[86,1532,260],{"class":113},[86,1534,21],{"class":106},[86,1536,1537],{"class":113},"'\u002Ffonts\u002F*'",[86,1539,1540],{"class":106},"], cache: ",[86,1542,1543],{"class":113},"'manual'",[86,1545,910],{"class":106},[14,1547,1548],{},"When the blob is empty, the function returns the static response untouched. Editors set or clear the banner through a tiny internal form that writes to the blob store. The banner occupies space at the top of the body, so to avoid layout shift it is rendered before first paint — it is in the HTML — rather than inserted by client script.",[285,1550,1551,1673],{},[288,1552,296,1557,296,1560,296,1563,296,1566,296,1666],{"viewBox":1553,"role":291,"ariaLabelledBy":1554,"xmlns":295},"0 0 760 294",[1555,1556],"nef-banner-title","nef-banner-desc",[298,1558,1559],{"id":1555},"Sequence of setting and serving a site-wide banner through an edge function",[302,1561,1562],{"id":1556},"An editor sets the banner text in an internal form, which writes it to Netlify Blobs. A reader requests any page. The edge function continues to the static file, reads the banner from the blob store and streams the page with the banner inserted at the top of the body. When the banner is cleared, the function passes pages through unchanged.",[306,1564],{"x":308,"y":308,"width":309,"height":1565,"fill":311},"294",[313,1567,316,1568,316,1574,316,1577,316,1580,316,1583,316,1587,316,1590,316,1593,316,1597,316,1601,316,1604,316,1607,316,1610,316,1613,316,1618,316,1622,316,1626,316,1629,316,1633,316,1636,316,1640,316,1643,316,1649,316,1654,316,1658,316,1662,296],{"style":315},[306,1569],{"x":360,"y":1570,"width":1571,"height":322,"rx":323,"fill":1572,"stroke":1573,"style":326},"56.0","160.0","#f8fafc","#d9e2ef",[306,1575],{"x":1576,"y":1570,"width":1571,"height":322,"rx":323,"fill":324,"opacity":325,"stroke":324,"style":326},"210.0",[306,1578],{"x":1579,"y":1570,"width":1571,"height":322,"rx":323,"fill":337,"opacity":325,"stroke":337,"style":326},"390.0",[306,1581],{"x":1582,"y":1570,"width":1571,"height":322,"rx":323,"fill":344,"opacity":345,"stroke":346,"style":326},"570.0",[328,1584],{"d":1585,"fill":331,"stroke":332,"style":1586},"M114.0 148.1 L284.0 148.1","stroke-width:1.8px;marker-end:url(#nef-banner-arrow)",[328,1588],{"d":1589,"fill":331,"stroke":332,"style":1586},"M646.0 181.1 L476.0 181.1",[328,1591],{"d":1592,"fill":331,"stroke":332,"style":1586},"M466.0 214.0 L296.0 214.0",[328,1594],{"d":1595,"fill":331,"stroke":332,"style":1596},"M474.0 261.9 L644.0 261.9","stroke-width:1.8px;stroke-dasharray:5 4;marker-end:url(#nef-banner-arrow)",[328,1598],{"d":1599,"fill":331,"stroke":1573,"style":1600},"M110.0 115.2 L110.0 277.9","stroke-width:1.5px;stroke-dasharray:4 4",[328,1602],{"d":1603,"fill":331,"stroke":1573,"style":1600},"M290.0 115.2 L290.0 277.9",[328,1605],{"d":1606,"fill":331,"stroke":1573,"style":1600},"M470.0 115.2 L470.0 277.9",[328,1608],{"d":1609,"fill":331,"stroke":1573,"style":1600},"M650.0 115.2 L650.0 277.9",[357,1611,1612],{"x":359,"y":360,"fill":361,"style":362},"Turning a site-wide banner on without a rebuild",[357,1614,1617],{"x":1615,"y":1616,"fill":361,"style":368},"110.0","82.4","Editor",[357,1619,1621],{"x":1615,"y":1620,"fill":332,"style":373},"99.3","internal form",[357,1623,1625],{"x":1624,"y":1616,"fill":361,"style":368},"290.0","Netlify Blobs",[357,1627,1628],{"x":1624,"y":1620,"fill":332,"style":373},"banner key",[357,1630,1632],{"x":1631,"y":1616,"fill":361,"style":368},"470.0","Edge function",[357,1634,1635],{"x":1631,"y":1620,"fill":332,"style":373},"banner.ts",[357,1637,1639],{"x":1638,"y":1616,"fill":361,"style":368},"650.0","Reader",[357,1641,1642],{"x":1638,"y":1620,"fill":332,"style":373},"any page",[357,1644,1648],{"x":1645,"y":1646,"fill":361,"style":1647},"200.0","140.1","font-size:11.5px;text-anchor:middle","set banner text",[357,1650,1653],{"x":1651,"y":1652,"fill":361,"style":1647},"560.0","173.1","GET \u002Fguide\u002Finstall\u002F",[357,1655,1657],{"x":359,"y":1656,"fill":361,"style":1647},"206.0","read banner (eventual)",[357,1659,1661],{"x":1651,"y":1660,"fill":332,"style":1647},"239.0","static page + banner",[357,1663,1665],{"x":1651,"y":1664,"fill":332,"style":1647},"253.9","streamed",[417,1667,316,1668,296],{},[420,1669,427,1671,316],{"id":1670,"viewBox":423,"refX":323,"refY":424,"markerWidth":425,"markerHeight":425,"orient":426},"nef-banner-arrow",[328,1672],{"d":430,"fill":332},[432,1674,1675],{},"The banner appears within seconds of being set; no build or deploy is involved.",[41,1677,1679],{"id":1678},"latency-and-cost","Latency and Cost",[14,1681,1682],{},"Edge functions add work to every request they run on, so scope and speed matter. Measured with a synthetic check from six regions, 500 requests each:",[1684,1685,1686,1702],"table",{},[1687,1688,1689],"thead",{},[1690,1691,1692,1696,1699],"tr",{},[1693,1694,1695],"th",{},"Function",[1693,1697,1698],{},"Paths",[1693,1700,1701],{},"Added TTFB p50 \u002F p95",[1703,1704,1705,1718,1730,1741],"tbody",{},[1690,1706,1707,1711,1715],{},[1708,1709,1710],"td",{},"geo-class",[1708,1712,1713],{},[18,1714,972],{},[1708,1716,1717],{},"4 ms \u002F 11 ms (buffers the page)",[1690,1719,1720,1723,1727],{},[1708,1721,1722],{},"pricing-ab",[1708,1724,1725],{},[18,1726,972],{},[1708,1728,1729],{},"2 ms \u002F 6 ms",[1690,1731,1732,1735,1738],{},[1708,1733,1734],{},"banner (empty)",[1708,1736,1737],{},"all HTML",[1708,1739,1740],{},"3 ms \u002F 9 ms (blob read)",[1690,1742,1743,1746,1748],{},[1708,1744,1745],{},"banner (set)",[1708,1747,1737],{},[1708,1749,1750],{},"5 ms \u002F 14 ms",[14,1752,1753,1754,1756],{},"Without ",[18,1755,278],{},", the banner function also ran for every asset — 23 requests per page view instead of one — which added up to a noticeable share of the plan's edge function invocations. Scoped, the site used about 2.6 million invocations a month, within its plan.",[285,1758,1759,1893],{},[288,1760,296,1765,296,1768,296,1771,296,1774],{"viewBox":1761,"role":291,"ariaLabelledBy":1762,"xmlns":295},"0 0 760 300",[1763,1764],"nef-lat-title","nef-lat-desc",[298,1766,1767],{"id":1763},"Median and 95th percentile latency added by each edge function",[302,1769,1770],{"id":1764},"Paired bars of added time to first byte. The geolocation class function added 4 milliseconds at the median and 11 at the 95th percentile. The pricing experiment function added 2 and 6. The banner function with no banner set added 3 and 9, and with a banner set 5 and 14.",[306,1772],{"x":308,"y":308,"width":309,"height":1773,"fill":311},"300",[313,1775,316,1776,316,1785,316,1788,316,1795,316,1799,316,1803,316,1807,316,1811,316,1814,316,1818,316,1822,316,1825,316,1828,316,1833,316,1837,316,1842,316,1848,316,1853,316,1857,316,1862,316,1867,316,1870,316,1875,316,1880,316,1883,316,1888,296],{"style":315},[306,1777],{"x":1778,"y":1779,"width":1780,"height":1781,"rx":1782,"fill":337,"opacity":1783,"stroke":337,"style":1784},"322.4","50.0","14.0","12.0","2","0.3","stroke-width:1px",[306,1786],{"x":1787,"y":1779,"width":1780,"height":1781,"rx":1782,"fill":324,"opacity":1783,"stroke":324,"style":1784},"395.0",[306,1789],{"x":1790,"y":1791,"width":1792,"height":1793,"rx":1794,"fill":337,"opacity":1783,"stroke":337,"style":1784},"230.0","82.0","130.8","16.0","3",[306,1796],{"x":1790,"y":1797,"width":1798,"height":1793,"rx":1794,"fill":324,"opacity":1783,"stroke":324,"style":1784},"102.0","359.8",[306,1800],{"x":1790,"y":1801,"width":1802,"height":1793,"rx":1794,"fill":337,"opacity":1783,"stroke":337,"style":1784},"134.0","65.4",[306,1804],{"x":1790,"y":1805,"width":1806,"height":1793,"rx":1794,"fill":324,"opacity":1783,"stroke":324,"style":1784},"154.0","196.3",[306,1808],{"x":1790,"y":1809,"width":1810,"height":1793,"rx":1794,"fill":337,"opacity":1783,"stroke":337,"style":1784},"186.0","98.1",[306,1812],{"x":1790,"y":1656,"width":1813,"height":1793,"rx":1794,"fill":324,"opacity":1783,"stroke":324,"style":1784},"294.4",[306,1815],{"x":1790,"y":1816,"width":1817,"height":1793,"rx":1794,"fill":337,"opacity":1783,"stroke":337,"style":1784},"238.0","163.6",[306,1819],{"x":1790,"y":1820,"width":1821,"height":1793,"rx":1794,"fill":324,"opacity":1783,"stroke":324,"style":1784},"258.0","458.0",[328,1823],{"d":1824,"fill":331,"stroke":332,"style":326},"M230.0 78.0 L230.0 280.0",[357,1826,1827],{"x":359,"y":360,"fill":361,"style":362},"Added time to first byte per function",[357,1829,1832],{"x":1830,"y":320,"fill":332,"style":1831},"342.4","font-size:12px;text-anchor:start","p50",[357,1834,1836],{"x":1835,"y":320,"fill":332,"style":1831},"415.0","p95",[357,1838,1841],{"x":1839,"y":1840,"fill":361,"style":1831},"20.0","105.2","geo-class (buffers page)",[357,1843,1847],{"x":1844,"y":1845,"fill":361,"style":1846},"367.8","94.5","font-size:11.5px;text-anchor:start;font-weight:700","4 ms",[357,1849,1852],{"x":1850,"y":1851,"fill":361,"style":1846},"596.8","114.5","11 ms",[357,1854,1856],{"x":1839,"y":1855,"fill":361,"style":1831},"157.2","pricing-ab (rewrite)",[357,1858,1861],{"x":1859,"y":1860,"fill":361,"style":1846},"302.4","146.5","2 ms",[357,1863,1866],{"x":1864,"y":1865,"fill":361,"style":1846},"433.3","166.5","6 ms",[357,1868,1734],{"x":1839,"y":1869,"fill":361,"style":1831},"209.2",[357,1871,1874],{"x":1872,"y":1873,"fill":361,"style":1846},"335.1","198.5","3 ms",[357,1876,1879],{"x":1877,"y":1878,"fill":361,"style":1846},"531.4","218.5","9 ms",[357,1881,1745],{"x":1839,"y":1882,"fill":361,"style":1831},"261.2",[357,1884,1887],{"x":1885,"y":1886,"fill":361,"style":1846},"400.6","250.5","5 ms",[357,1889,1892],{"x":1890,"y":1891,"fill":361,"style":1846},"695.0","270.5","14 ms",[432,1894,1895],{},"Synthetic checks from six regions, 500 requests per function, compared with the same paths without the function.",[41,1897,1899],{"id":1898},"operating-edge-functions","Operating Edge Functions",[14,1901,1902,1903,1905,1906,1910,1911,1913,1914,1916],{},"Edge functions are code in the request path, so they need the same care as any production code. Each function has a test that runs with ",[18,1904,57],{}," in CI and asserts its behaviour on a representative request — the header table from ",[30,1907,1909],{"href":1908},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy\u002F","Testing Redirects and Headers Before Deploy"," gained rows for the region attribute, the variant cookie and the banner. Errors inside a function fail the request by default, so every function wraps its logic and falls back to ",[18,1912,74],{}," on exceptions; a broken banner function should serve pages without a banner, not a 500. Netlify's function logs are reviewed after each deploy that touches ",[18,1915,70],{},", and the error tracker receives exceptions tagged with the function name. Finally, each function has an owner and a reason recorded in a comment at the top of the file, which made it easy to delete the pricing experiment when it ended rather than leaving it running indefinitely.",[41,1918,1920],{"id":1919},"measured-impact","Measured Impact",[1684,1922,1923,1936],{},[1687,1924,1925],{},[1690,1926,1927,1930,1933],{},[1693,1928,1929],{},"Measure",[1693,1931,1932],{},"Before (client-side logic)",[1693,1934,1935],{},"After (edge functions)",[1703,1937,1938,1949,1959,1970,1981],{},[1690,1939,1940,1943,1946],{},[1708,1941,1942],{},"CLS p75 on pricing page",[1708,1944,1945],{},"0.09 (notice inserted by JS)",[1708,1947,1948],{},"0.01",[1690,1950,1951,1954,1957],{},[1708,1952,1953],{},"JavaScript for geo and experiment logic",[1708,1955,1956],{},"14 KB + geolocation API call",[1708,1958,308],{},[1690,1960,1961,1964,1967],{},[1708,1962,1963],{},"Time to publish a site-wide banner",[1708,1965,1966],{},"~4 min (rebuild)",[1708,1968,1969],{},"~10 s",[1690,1971,1972,1975,1978],{},[1708,1973,1974],{},"Edge function invocations per month",[1708,1976,1977],{},"—",[1708,1979,1980],{},"2.6 million (scoped)",[1690,1982,1983,1986,1988],{},[1708,1984,1985],{},"TTFB p75 added on affected pages",[1708,1987,1977],{},[1708,1989,1887],{},[41,1991,1993],{"id":1992},"pitfalls-rollback","Pitfalls & Rollback",[46,1995,1996,2006,2018,2028,2034],{},[49,1997,1998,2002,2003,2005],{},[1999,2000,2001],"strong",{},"Running on assets."," Use ",[18,2004,278],{},"; otherwise every image and script invokes the function.",[49,2007,2008,2011,2012,2014,2015,2017],{},[1999,2009,2010],{},"Buffering large pages."," ",[18,2013,976],{}," holds the whole page in memory; stream with ",[18,2016,1251],{}," for site-wide transforms.",[49,2019,2020,2023,2024,2027],{},[1999,2021,2022],{},"Caching personalized responses."," Mark per-reader responses private, or use ",[18,2025,2026],{},"Netlify-Vary"," deliberately.",[49,2029,2030,2033],{},[1999,2031,2032],{},"Uncaught exceptions."," Fall back to the static response rather than failing the request.",[49,2035,2036,2039],{},[1999,2037,2038],{},"Rollback:"," delete the function file or narrow its path, and redeploy; static files are served as before.",[41,2041,2043],{"id":2042},"conclusion","Conclusion",[14,2045,2046],{},"Netlify Edge Functions let a static site do a few things at request time that configuration cannot: decide a class from the reader's country, choose a static variant from a cookie, or inject a banner without a rebuild. Keep each function scoped to the paths that need it, leave static caching intact where possible, stream rather than buffer, and treat the functions as production code. On this site they removed client-side logic that caused layout shift and made urgent banners a ten-second change.",[41,2048,2050],{"id":2049},"faq","FAQ",[2052,2053,2055],"h3",{"id":2054},"what-are-netlify-edge-functions","What are Netlify Edge Functions?",[14,2057,2058],{},"Functions written in TypeScript or JavaScript that run on Deno at Netlify's edge locations before a request reaches the static file or a serverless function. They can rewrite, redirect, add headers, transform responses or respond directly, with low latency close to the reader.",[2052,2060,2062],{"id":2061},"how-are-edge-functions-different-from-netlify-functions","How are Edge Functions different from Netlify Functions?",[14,2064,2065],{},"Netlify Functions are serverless functions running in a single region on AWS Lambda, suited to heavier work such as form processing or API calls with longer execution. Edge Functions run in many locations with tighter limits on execution time and memory, suited to fast request and response manipulation.",[2052,2067,2069],{"id":2068},"do-edge-functions-stop-static-pages-from-being-cached","Do Edge Functions stop static pages from being cached?",[14,2071,2072],{},"Not necessarily. An edge function that only adds a header or rewrites can pass the static response through with its caching intact. Functions that personalize the response per request should mark it private, and Netlify can cache edge function responses when configured with cache set to manual.",[2052,2074,2076],{"id":2075},"how-do-i-limit-which-paths-run-an-edge-function","How do I limit which paths run an edge function?",[14,2078,2079],{},"Declare paths in the function's config export or in netlify.toml, and use excludedPath for assets. Keeping edge functions off asset paths avoids adding latency and invocations to every image and script request.",[41,2081,2083],{"id":2082},"related","Related",[46,2085,2086,2094,2101,2108,2115],{},[49,2087,2088,2011,2091,2093],{},[1999,2089,2090],{},"Parent:",[30,2092,33],{"href":32}," — choosing and configuring a host.",[49,2095,2096,2100],{},[30,2097,2099],{"href":2098},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites\u002F","Netlify Redirects and Rewrites for Static Sites"," — what configuration handles without code.",[49,2102,2103,2107],{},[30,2104,2106],{"href":2105},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers\u002F","Netlify Functions vs Cloudflare Workers"," — serverless options compared.",[49,2109,2110,2114],{},[30,2111,2113],{"href":2112},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions\u002F","Rate Limiting Edge Functions"," — protecting edge endpoints from abuse.",[49,2116,2117,2121],{},[30,2118,2120],{"href":2119},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs\u002F","Vercel Build Output API for Custom SSGs"," — the Vercel way to add edge logic.",[2123,2124,2125],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}",{"title":82,"searchDepth":96,"depth":96,"links":2127},[2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2144],{"id":43,"depth":96,"text":44},{"id":63,"depth":96,"text":64},{"id":437,"depth":96,"text":438},{"id":980,"depth":96,"text":981},{"id":1244,"depth":96,"text":1245},{"id":1678,"depth":96,"text":1679},{"id":1898,"depth":96,"text":1899},{"id":1919,"depth":96,"text":1920},{"id":1992,"depth":96,"text":1993},{"id":2042,"depth":96,"text":2043},{"id":2049,"depth":96,"text":2050,"children":2139},[2140,2141,2142,2143],{"id":2054,"depth":120,"text":2055},{"id":2061,"depth":120,"text":2062},{"id":2068,"depth":120,"text":2069},{"id":2075,"depth":120,"text":2076},{"id":2082,"depth":96,"text":2083},[2146,2149,2152,2153],{"name":2147,"item":2148},"Home","\u002F",{"name":2150,"item":2151},"Production-Ready Deployment & CI\u002FCD for SSGs","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":33,"item":32},{"name":5,"item":2154},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites\u002F","2026-09-25","Add small pieces of request-time logic to a static site on Netlify with Edge Functions: geolocation, rewrites, header changes and HTML transforms, scoped and cached.","md",[2159,2160,2161,2162],{"q":2055,"a":2058},{"q":2062,"a":2065},{"q":2069,"a":2072},{"q":2076,"a":2079},{},true,"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites",{"title":5,"description":2156},"production-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites\u002Findex","article","5XmXfXZsSHHmovsnUMr110b6CS_-hEpdaXyQbUyXX_Y",[2171,2174,2177,2180,2183,2186,2189,2192,2195,2198,2201,2204,2207,2210,2213,2216,2219,2222,2225,2228,2231,2234,2237,2240,2243,2246,2249,2252,2255,2258,2261,2264,2267,2270,2273,2276,2279,2282,2285,2288,2291,2294,2297,2300,2303,2306,2309,2312,2315,2318,2321,2324,2327,2330,2333,2336,2339,2342,2345,2348,2351,2354,2357,2360,2363,2366,2369,2372,2375,2378,2381,2384,2387,2390,2393,2396,2399,2402,2405,2408,2411,2414,2417,2420,2423,2426,2429,2432,2435,2438,2441,2444,2447,2450,2453,2456,2459,2462,2465,2468,2471,2474,2477,2480,2483,2486,2489,2492,2495,2498,2501,2504,2507,2510,2513,2516,2519,2522,2525,2528,2531,2534,2537,2540,2543,2546,2549,2552,2555,2558,2561,2564,2567,2570,2573,2576,2579,2582,2585,2588,2591,2594,2597,2600,2603,2606,2609,2612,2615,2618,2621,2624,2627,2630,2633,2636,2639,2642,2645,2648,2651,2654,2657,2660,2663,2666,2669,2672,2675,2678,2681,2684,2687,2690,2693,2696,2699,2702,2705,2708,2711,2714,2717,2720,2723,2726,2729,2732,2735,2738,2741,2744,2747,2750,2753,2756,2759,2762,2765,2768,2771,2774,2777,2780,2783,2786,2789,2792,2795,2798,2801,2804,2807,2810,2813,2816,2819,2822,2825,2828,2831,2834,2837,2840,2843,2846,2849,2852,2855,2858,2861,2864,2867,2870,2873,2876,2879,2882,2885,2888,2891,2894,2897,2900,2903,2906,2909,2912,2915,2918,2920,2923,2926,2929,2932,2935,2938,2941,2944,2947,2950,2953,2956,2959,2962,2965,2968,2971,2974,2977,2980,2983,2986,2989,2992,2995,2998,3001,3004,3007,3010,3013,3016,3019,3022,3025,3028,3031,3034,3037,3040,3043,3046,3048,3051,3054,3057,3060,3063,3066,3069,3072,3075,3078,3081,3084,3087,3090,3093,3096,3099,3101,3104,3105,3107,3110,3112,3115,3118,3121,3124,3127,3130,3133,3136,3139,3142,3145,3148,3151,3154,3156,3159,3162,3165,3168,3171,3174,3177,3180,3183,3186,3189,3192,3195,3198,3201,3204,3207,3210,3213,3216,3219,3222,3225,3228,3231,3234,3237,3240,3243,3246,3249,3252,3255,3258,3261,3264,3267,3270,3272,3275,3278,3281,3283,3286,3289,3292,3295,3298,3300,3303,3306],{"path":2172,"title":2173},"\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":2175,"title":2176},"\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":2178,"title":2179},"\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":2181,"title":2182},"\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":2184,"title":2185},"\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":2187,"title":2188},"\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":2190,"title":2191},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":2193,"title":2194},"\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":2196,"title":2197},"\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":2199,"title":2200},"\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":2202,"title":2203},"\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":2205,"title":2206},"\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":2208,"title":2209},"\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":2211,"title":2212},"\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":2214,"title":2215},"\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":2217,"title":2218},"\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":2220,"title":2221},"\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":2223,"title":2224},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":2226,"title":2227},"\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":2229,"title":2230},"\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":2232,"title":2233},"\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":2235,"title":2236},"\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":2238,"title":2239},"\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":2241,"title":2242},"\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":2244,"title":2245},"\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":2247,"title":2248},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":2250,"title":2251},"\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":2253,"title":2254},"\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":2256,"title":2257},"\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":2259,"title":2260},"\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":2262,"title":2263},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":2265,"title":2266},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":2268,"title":2269},"\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":2271,"title":2272},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":2274,"title":2275},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":2277,"title":2278},"\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":2280,"title":2281},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":2283,"title":2284},"\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":2286,"title":2287},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":2289,"title":2290},"\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":2292,"title":2293},"\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":2295,"title":2296},"\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":2298,"title":2299},"\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":2301,"title":2302},"\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":2304,"title":2305},"\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":2307,"title":2308},"\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":2310,"title":2311},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":2313,"title":2314},"\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":2316,"title":2317},"\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":2319,"title":2320},"\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":2322,"title":2323},"\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":2325,"title":2326},"\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":2328,"title":2329},"\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":2331,"title":2332},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":2334,"title":2335},"\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":2337,"title":2338},"\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":2340,"title":2341},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":2343,"title":2344},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":2346,"title":2347},"\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":2349,"title":2350},"\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":2352,"title":2353},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":2355,"title":2356},"\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":2358,"title":2359},"\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":2361,"title":2362},"\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":2364,"title":2365},"\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":2367,"title":2368},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":2370,"title":2371},"\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":2373,"title":2374},"\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":2376,"title":2377},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":2379,"title":2380},"\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":2382,"title":2383},"\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":2385,"title":2386},"\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":2388,"title":2389},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":2391,"title":2392},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":2394,"title":2395},"\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":2397,"title":2398},"\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":2400,"title":2401},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":2403,"title":2404},"\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":2406,"title":2407},"\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":2409,"title":2410},"\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":2412,"title":2413},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":2415,"title":2416},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":2418,"title":2419},"\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":2421,"title":2422},"\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":2424,"title":2425},"\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":2427,"title":2428},"\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":2430,"title":2431},"\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":2433,"title":2434},"\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":2436,"title":2437},"\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":2439,"title":2440},"\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":2442,"title":2443},"\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":2445,"title":2446},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2448,"title":2449},"\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":2451,"title":2452},"\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":2454,"title":2455},"\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":2457,"title":2458},"\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":2460,"title":2461},"\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":2463,"title":2464},"\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":2466,"title":2467},"\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":2469,"title":2470},"\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":2472,"title":2473},"\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":2475,"title":2476},"\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":2478,"title":2479},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2481,"title":2482},"\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":2484,"title":2485},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":2487,"title":2488},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2490,"title":2491},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2493,"title":2494},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2496,"title":2497},"\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":2499,"title":2500},"\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":2502,"title":2503},"\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":2505,"title":2506},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2508,"title":2509},"\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":2511,"title":2512},"\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":2514,"title":2515},"\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":2517,"title":2518},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":2520,"title":2521},"\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":2523,"title":2524},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2526,"title":2527},"\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":2529,"title":2530},"\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":2532,"title":2533},"\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":2535,"title":2536},"\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":2538,"title":2539},"\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":2541,"title":2542},"\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":2544,"title":2545},"\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":2547,"title":2548},"\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":2550,"title":2551},"\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":2553,"title":2554},"\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":2556,"title":2557},"\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":2559,"title":2560},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2562,"title":2563},"\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":2565,"title":2566},"\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":2568,"title":2569},"\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":2571,"title":2572},"\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":2574,"title":2575},"\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":2577,"title":2578},"\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":2580,"title":2581},"\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":2583,"title":2584},"\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":2586,"title":2587},"\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":2589,"title":2590},"\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":2592,"title":2593},"\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":2595,"title":2596},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2598,"title":2599},"\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":2601,"title":2602},"\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":2604,"title":2605},"\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":2607,"title":2608},"\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":2610,"title":2611},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2613,"title":2614},"\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":2616,"title":2617},"\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":2619,"title":2620},"\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":2622,"title":2623},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2625,"title":2626},"\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":2628,"title":2629},"\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":2631,"title":2632},"\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":2634,"title":2635},"\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":2637,"title":2638},"\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":2640,"title":2641},"\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":2643,"title":2644},"\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":2646,"title":2647},"\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":2649,"title":2650},"\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":2652,"title":2653},"\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":2655,"title":2656},"\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":2658,"title":2659},"\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":2661,"title":2662},"\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":2664,"title":2665},"\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":2667,"title":2668},"\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":2670,"title":2671},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2673,"title":2674},"\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":2676,"title":2677},"\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":2679,"title":2680},"\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":2682,"title":2683},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2685,"title":2686},"\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":2688,"title":2689},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2691,"title":2692},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2694,"title":2695},"\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":2697,"title":2698},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2700,"title":2701},"\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":2703,"title":2704},"\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":2706,"title":2707},"\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":2709,"title":2710},"\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":2712,"title":2713},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2715,"title":2716},"\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":2718,"title":2719},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2721,"title":2722},"\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":2724,"title":2725},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2727,"title":2728},"\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":2730,"title":2731},"\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":2733,"title":2734},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2736,"title":2737},"\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":2739,"title":2740},"\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":2742,"title":2743},"\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":2745,"title":2746},"\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":2748,"title":2749},"\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":2751,"title":2752},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2754,"title":2755},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2757,"title":2758},"\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":2760,"title":2761},"\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":2763,"title":2764},"\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":2766,"title":2767},"\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":2769,"title":2770},"\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":2772,"title":2773},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2775,"title":2776},"\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":2778,"title":2779},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2781,"title":2782},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2784,"title":2785},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2787,"title":2788},"\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":2790,"title":2791},"\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":2793,"title":2794},"\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":2796,"title":2797},"\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":2799,"title":2800},"\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":2802,"title":2803},"\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":2805,"title":2806},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2808,"title":2809},"\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":2811,"title":2812},"\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":2814,"title":2815},"\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":2817,"title":2818},"\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":2820,"title":2821},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2823,"title":2824},"\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":2826,"title":2827},"\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":2829,"title":2830},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2832,"title":2833},"\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":2835,"title":2836},"\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":2838,"title":2839},"\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":2841,"title":2842},"\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":2844,"title":2845},"\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":2847,"title":2848},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2850,"title":2851},"\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":2853,"title":2854},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2856,"title":2857},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2859,"title":2860},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2862,"title":2863},"\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":2865,"title":2866},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2868,"title":2869},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2871,"title":2872},"\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":2874,"title":2875},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2877,"title":2878},"\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":2880,"title":2881},"\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":2883,"title":2884},"\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":2886,"title":2887},"\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":2889,"title":2890},"\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":2892,"title":2893},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2895,"title":2896},"\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":2898,"title":2899},"\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":2901,"title":2902},"\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":2904,"title":2905},"\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":2907,"title":2908},"\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":2910,"title":2911},"\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":2913,"title":2914},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2916,"title":2917},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2919,"title":38},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware",{"path":2921,"title":2922},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2924,"title":2925},"\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":2927,"title":2928},"\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":2930,"title":2931},"\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":2933,"title":2934},"\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":2936,"title":2937},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2939,"title":2940},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2942,"title":2943},"\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":2945,"title":2946},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2948,"title":2949},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2951,"title":2952},"\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":2954,"title":2955},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2957,"title":2958},"\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":2960,"title":2961},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2963,"title":2964},"\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":2966,"title":2967},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2969,"title":2970},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2972,"title":2973},"\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":2975,"title":2976},"\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":2978,"title":2979},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2981,"title":2982},"\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":2984,"title":2985},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2987,"title":2988},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2990,"title":2991},"\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":2993,"title":2994},"\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":2996,"title":2997},"\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":2999,"title":3000},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":3002,"title":3003},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":3005,"title":3006},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":3008,"title":3009},"\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":3011,"title":3012},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":3014,"title":3015},"\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":3017,"title":3018},"\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":3020,"title":3021},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":3023,"title":3024},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":3026,"title":3027},"\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":3029,"title":3030},"\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":3032,"title":3033},"\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":3035,"title":3036},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":3038,"title":3039},"\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":3041,"title":3042},"\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":3044,"title":3045},"\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":3047,"title":2150},"\u002Fproduction-ready-deployment-cicd-workflows",{"path":3049,"title":3050},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":3052,"title":3053},"\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":3055,"title":3056},"\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":3058,"title":3059},"\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":3061,"title":3062},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":3064,"title":3065},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":3067,"title":3068},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":3070,"title":3071},"\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":3073,"title":3074},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":3076,"title":3077},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":3079,"title":3080},"\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":3082,"title":3083},"\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":3085,"title":3086},"\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":3088,"title":3089},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":3091,"title":3092},"\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":3094,"title":3095},"\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":3097,"title":3098},"\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":3100,"title":33},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies",{"path":3102,"title":3103},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2165,"title":5},{"path":3106,"title":2099},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites",{"path":3108,"title":3109},"\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":3111,"title":2120},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs",{"path":3113,"title":3114},"\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":3116,"title":3117},"\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":3119,"title":3120},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":3122,"title":3123},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":3125,"title":3126},"\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":3128,"title":3129},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":3131,"title":3132},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":3134,"title":3135},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":3137,"title":3138},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":3140,"title":3141},"\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":3143,"title":3144},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":3146,"title":3147},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":3149,"title":3150},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites","Blue-Green Deploys for Static Sites",{"path":3152,"title":3153},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":3155,"title":1241},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites",{"path":3157,"title":3158},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":3160,"title":3161},"\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":3163,"title":3164},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":3166,"title":3167},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets","Recovering From a Deploy That Deleted Live Assets",{"path":3169,"title":3170},"\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":3172,"title":3173},"\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":3175,"title":3176},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes","Rolling Back S3 and CloudFront Deploys With Versioned Prefixes",{"path":3178,"title":3179},"\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":3181,"title":3182},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":3184,"title":3185},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":3187,"title":3188},"\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":3190,"title":3191},"\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":3193,"title":3194},"\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":3196,"title":3197},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":3199,"title":3200},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":3202,"title":3203},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":3205,"title":3206},"\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":3208,"title":3209},"\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":3211,"title":3212},"\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":3214,"title":3215},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":3217,"title":3218},"\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":3220,"title":3221},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":3223,"title":3224},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":3226,"title":3227},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":3229,"title":3230},"\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":3232,"title":3233},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":3235,"title":3236},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":3238,"title":3239},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":3241,"title":3242},"\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":3244,"title":3245},"\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":3247,"title":3248},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":3250,"title":3251},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":3253,"title":3254},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":3256,"title":3257},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":3259,"title":3260},"\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":3262,"title":3263},"\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":3265,"title":3266},"\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":3268,"title":3269},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":3271,"title":2106},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers",{"path":3273,"title":3274},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":3276,"title":3277},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":3279,"title":3280},"\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":3282,"title":2113},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions",{"path":3284,"title":3285},"\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":3287,"title":3288},"\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":3290,"title":3291},"\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":3293,"title":3294},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":3296,"title":3297},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":3299,"title":1909},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy",{"path":3301,"title":3302},"\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":3304,"title":3305},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":3307,"title":3308},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":3310,"tools":3314},{"label":3311,"plural":3312,"u":3313},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[3315],{"label":3316,"u":3317},"Netlify","\u002Ftools\u002Fnetlify\u002F",1790943196040]