[{"data":1,"prerenderedAt":3261},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function":3,"all-docs-nav":2113,"filed:\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function":3255},{"id":4,"title":5,"body":6,"breadcrumb":2090,"dateModified":2099,"datePublished":2099,"description":2100,"extension":2101,"faq":2102,"meta":2107,"navigation":824,"path":2108,"seo":2109,"slug":12,"stem":2110,"type":2111,"__hash__":2112},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function\u002Findex.md","Newsletter Signup with an Edge Function",{"type":7,"value":8,"toc":2071},"minimark",[9,13,17,31,36,49,53,56,116,231,235,238,582,597,601,1387,1398,1538,1542,1553,1754,1761,1853,1857,1860,1864,1867,1871,1944,1947,1951,1988,1992,1995,1999,2004,2007,2011,2014,2018,2021,2025,2028,2032,2067],[10,11,5],"h1",{"id":12},"newsletter-signup-with-an-edge-function",[14,15,16],"p",{},"The newsletter signup box is one of the most common embeds on static sites and one of the most expensive per pixel. The email provider's embed code loads its own script, a stylesheet, often a web font and a tracking pixel — on every page, because the box sits in the footer — and renders a form whose markup, labels and error messages the site does not control. For a feature used by well under one percent of visitors, it adds 60–120 KB and several third-party requests to every page view.",[14,18,19,20,25,26,30],{},"This guide replaces a provider embed with a native HTML form and a small Cloudflare Worker that validates input, checks a Turnstile token, records consent, and calls the email provider's API for double opt-in. It works without JavaScript, degrades gracefully, and adds no third-party requests to pages. It is part of ",[21,22,24],"a",{"href":23},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002F","Serverless Functions for Static Sites",", following the pattern in ",[21,27,29],{"href":28},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site\u002F","Handling Form Submissions on a Static Site",".",[32,33,35],"h2",{"id":34},"prerequisites","Prerequisites",[37,38,39,43,46],"ul",{},[40,41,42],"li",{},"An email provider with an API for adding contacts with double opt-in (Buttondown, Mailchimp, Brevo, ConvertKit and others).",[40,44,45],{},"A static site on Cloudflare (Workers static assets, Pages, or a zone in front of another host).",[40,47,48],{},"A Turnstile site key and secret, and the provider API key stored as Worker secrets.",[32,50,52],{"id":51},"what-the-embed-cost","What the Embed Cost",[14,54,55],{},"The provider's embed on the developer blog measured here, on every page:",[57,58,59,72],"table",{},[60,61,62],"thead",{},[63,64,65,69],"tr",{},[66,67,68],"th",{},"Item",[66,70,71],{},"Cost",[73,74,75,84,92,100,108],"tbody",{},[63,76,77,81],{},[78,79,80],"td",{},"Third-party requests",[78,82,83],{},"7 (script, CSS, font, pixel, config, 2 images)",[63,85,86,89],{},[78,87,88],{},"Bytes (compressed)",[78,90,91],{},"94 KB",[63,93,94,97],{},[78,95,96],{},"Main-thread time (Lighthouse, 4× CPU)",[78,98,99],{},"110 ms",[63,101,102,105],{},[78,103,104],{},"Accessibility issues (axe)",[78,106,107],{},"3 (unlabelled input, low-contrast button, missing error association)",[63,109,110,113],{},[78,111,112],{},"Signups per month",[78,114,115],{},"212",[117,118,119,227],"figure",{},[120,121,128,129,128,133,128,137,128,144],"svg",{"viewBox":122,"role":123,"ariaLabelledBy":124,"xmlns":127},"0 0 760 210","img",[125,126],"nl-cost-title","nl-cost-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[130,131,132],"title",{"id":125},"Cost of the newsletter embed per page view",[134,135,136],"desc",{"id":126},"Horizontal bars. The embed added 94 kilobytes, 110 milliseconds of main-thread time and 7 third-party requests to every page, plus 3 accessibility issues, for a form used by fewer than 1 percent of visitors.",[138,139],"rect",{"x":140,"y":140,"width":141,"height":142,"fill":143},"0","760","210","#ffffff",[145,146,148,149,148,160,148,164,148,171,148,175,148,182,148,190,148,195,148,202,148,206,148,211,148,214,148,219,148,223,128],"g",{"style":147},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[138,150],{"x":151,"y":152,"width":153,"height":154,"rx":155,"fill":156,"opacity":157,"stroke":158,"style":159},"240.0","65.0","392.1","20.0","3","#ff595e","0.3","#d83b41","stroke-width:1px",[138,161],{"x":151,"y":162,"width":163,"height":154,"rx":155,"fill":156,"opacity":157,"stroke":158,"style":159},"99.0","458.8",[138,165],{"x":151,"y":166,"width":167,"height":154,"rx":155,"fill":168,"opacity":169,"stroke":170,"style":159},"133.0","29.2","#ffca3a","0.45","#a97b00",[138,172],{"x":151,"y":173,"width":174,"height":154,"rx":155,"fill":168,"opacity":169,"stroke":170,"style":159},"167.0","12.5",[176,177],"path",{"d":178,"fill":179,"stroke":180,"style":181},"M240.0 60.0 L240.0 192.0","none","#556071","stroke-width:1.5px",[183,184,189],"text",{"x":185,"y":186,"fill":187,"style":188},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","What the provider embed added to every page",[183,191,194],{"x":154,"y":192,"fill":187,"style":193},"79.2","font-size:12px;text-anchor:start","Kilobytes (compressed)",[183,196,201],{"x":197,"y":198,"fill":199,"style":200},"640.1","79.5","#b32b30","font-size:12px;text-anchor:start;font-weight:700","94",[183,203,205],{"x":154,"y":204,"fill":187,"style":193},"113.2","Main-thread time (ms)",[183,207,210],{"x":208,"y":209,"fill":199,"style":200},"706.8","113.5","110",[183,212,80],{"x":154,"y":213,"fill":187,"style":193},"147.2",[183,215,218],{"x":216,"y":217,"fill":187,"style":200},"277.2","147.5","7",[183,220,222],{"x":154,"y":221,"fill":187,"style":193},"181.2","Accessibility issues",[183,224,155],{"x":225,"y":226,"fill":187,"style":200},"260.5","181.5",[228,229,230],"figcaption",{},"Measured by blocking the provider's domains in Lighthouse, median of five mobile runs.",[32,232,234],{"id":233},"step-1-a-native-form","Step 1: A Native Form",[14,236,237],{},"The form is plain HTML in the site's footer partial, styled with the site's CSS and accessible by construction:",[239,240,245],"pre",{"className":241,"code":242,"language":243,"meta":244,"style":244},"language-html shiki shiki-themes github-light github-dark","\u003Cform class=\"newsletter\" action=\"\u002Fapi\u002Fsubscribe\" method=\"post\" novalidate>\n  \u003Clabel for=\"nl-email\">Get new articles by email\u003C\u002Flabel>\n  \u003Cdiv class=\"newsletter-row\">\n    \u003Cinput id=\"nl-email\" name=\"email\" type=\"email\" autocomplete=\"email\" required aria-describedby=\"nl-help nl-status\">\n    \u003Cbutton type=\"submit\">Subscribe\u003C\u002Fbutton>\n  \u003C\u002Fdiv>\n  \u003Cp id=\"nl-help\" class=\"newsletter-help\">One email per article, no tracking. Unsubscribe anytime.\u003C\u002Fp>\n  \u003Cinput type=\"text\" name=\"website\" tabindex=\"-1\" autocomplete=\"off\" class=\"visually-hidden\" aria-hidden=\"true\">\n  \u003Cdiv class=\"cf-turnstile\" data-sitekey=\"0x4AAAAAAA…\" data-appearance=\"interaction-only\">\u003C\u002Fdiv>\n  \u003Cp id=\"nl-status\" role=\"status\" aria-live=\"polite\">\u003C\u002Fp>\n\u003C\u002Fform>\n","html","",[246,247,248,294,318,335,386,408,418,446,499,536,572],"code",{"__ignoreMap":244},[249,250,253,257,261,265,268,272,275,277,280,283,285,288,291],"span",{"class":251,"line":252},"line",1,[249,254,256],{"class":255},"sVt8B","\u003C",[249,258,260],{"class":259},"s9eBZ","form",[249,262,264],{"class":263},"sScJk"," class",[249,266,267],{"class":255},"=",[249,269,271],{"class":270},"sZZnC","\"newsletter\"",[249,273,274],{"class":263}," action",[249,276,267],{"class":255},[249,278,279],{"class":270},"\"\u002Fapi\u002Fsubscribe\"",[249,281,282],{"class":263}," method",[249,284,267],{"class":255},[249,286,287],{"class":270},"\"post\"",[249,289,290],{"class":263}," novalidate",[249,292,293],{"class":255},">\n",[249,295,297,300,303,306,308,311,314,316],{"class":251,"line":296},2,[249,298,299],{"class":255},"  \u003C",[249,301,302],{"class":259},"label",[249,304,305],{"class":263}," for",[249,307,267],{"class":255},[249,309,310],{"class":270},"\"nl-email\"",[249,312,313],{"class":255},">Get new articles by email\u003C\u002F",[249,315,302],{"class":259},[249,317,293],{"class":255},[249,319,321,323,326,328,330,333],{"class":251,"line":320},3,[249,322,299],{"class":255},[249,324,325],{"class":259},"div",[249,327,264],{"class":263},[249,329,267],{"class":255},[249,331,332],{"class":270},"\"newsletter-row\"",[249,334,293],{"class":255},[249,336,338,341,344,347,349,351,354,356,359,362,364,366,369,371,373,376,379,381,384],{"class":251,"line":337},4,[249,339,340],{"class":255},"    \u003C",[249,342,343],{"class":259},"input",[249,345,346],{"class":263}," id",[249,348,267],{"class":255},[249,350,310],{"class":270},[249,352,353],{"class":263}," name",[249,355,267],{"class":255},[249,357,358],{"class":270},"\"email\"",[249,360,361],{"class":263}," type",[249,363,267],{"class":255},[249,365,358],{"class":270},[249,367,368],{"class":263}," autocomplete",[249,370,267],{"class":255},[249,372,358],{"class":270},[249,374,375],{"class":263}," required",[249,377,378],{"class":263}," aria-describedby",[249,380,267],{"class":255},[249,382,383],{"class":270},"\"nl-help nl-status\"",[249,385,293],{"class":255},[249,387,389,391,394,396,398,401,404,406],{"class":251,"line":388},5,[249,390,340],{"class":255},[249,392,393],{"class":259},"button",[249,395,361],{"class":263},[249,397,267],{"class":255},[249,399,400],{"class":270},"\"submit\"",[249,402,403],{"class":255},">Subscribe\u003C\u002F",[249,405,393],{"class":259},[249,407,293],{"class":255},[249,409,411,414,416],{"class":251,"line":410},6,[249,412,413],{"class":255},"  \u003C\u002F",[249,415,325],{"class":259},[249,417,293],{"class":255},[249,419,421,423,425,427,429,432,434,436,439,442,444],{"class":251,"line":420},7,[249,422,299],{"class":255},[249,424,14],{"class":259},[249,426,346],{"class":263},[249,428,267],{"class":255},[249,430,431],{"class":270},"\"nl-help\"",[249,433,264],{"class":263},[249,435,267],{"class":255},[249,437,438],{"class":270},"\"newsletter-help\"",[249,440,441],{"class":255},">One email per article, no tracking. Unsubscribe anytime.\u003C\u002F",[249,443,14],{"class":259},[249,445,293],{"class":255},[249,447,449,451,453,455,457,460,462,464,467,470,472,475,477,479,482,484,486,489,492,494,497],{"class":251,"line":448},8,[249,450,299],{"class":255},[249,452,343],{"class":259},[249,454,361],{"class":263},[249,456,267],{"class":255},[249,458,459],{"class":270},"\"text\"",[249,461,353],{"class":263},[249,463,267],{"class":255},[249,465,466],{"class":270},"\"website\"",[249,468,469],{"class":263}," tabindex",[249,471,267],{"class":255},[249,473,474],{"class":270},"\"-1\"",[249,476,368],{"class":263},[249,478,267],{"class":255},[249,480,481],{"class":270},"\"off\"",[249,483,264],{"class":263},[249,485,267],{"class":255},[249,487,488],{"class":270},"\"visually-hidden\"",[249,490,491],{"class":263}," aria-hidden",[249,493,267],{"class":255},[249,495,496],{"class":270},"\"true\"",[249,498,293],{"class":255},[249,500,502,504,506,508,510,513,516,518,521,524,526,529,532,534],{"class":251,"line":501},9,[249,503,299],{"class":255},[249,505,325],{"class":259},[249,507,264],{"class":263},[249,509,267],{"class":255},[249,511,512],{"class":270},"\"cf-turnstile\"",[249,514,515],{"class":263}," data-sitekey",[249,517,267],{"class":255},[249,519,520],{"class":270},"\"0x4AAAAAAA…\"",[249,522,523],{"class":263}," data-appearance",[249,525,267],{"class":255},[249,527,528],{"class":270},"\"interaction-only\"",[249,530,531],{"class":255},">\u003C\u002F",[249,533,325],{"class":259},[249,535,293],{"class":255},[249,537,539,541,543,545,547,550,553,555,558,561,563,566,568,570],{"class":251,"line":538},10,[249,540,299],{"class":255},[249,542,14],{"class":259},[249,544,346],{"class":263},[249,546,267],{"class":255},[249,548,549],{"class":270},"\"nl-status\"",[249,551,552],{"class":263}," role",[249,554,267],{"class":255},[249,556,557],{"class":270},"\"status\"",[249,559,560],{"class":263}," aria-live",[249,562,267],{"class":255},[249,564,565],{"class":270},"\"polite\"",[249,567,531],{"class":255},[249,569,14],{"class":259},[249,571,293],{"class":255},[249,573,575,578,580],{"class":251,"line":574},11,[249,576,577],{"class":255},"\u003C\u002F",[249,579,260],{"class":259},[249,581,293],{"class":255},[14,583,584,585,588,589,592,593,596],{},"The hidden ",[246,586,587],{},"website"," field is a honeypot: bots fill it, humans do not. Turnstile's script loads only when the form scrolls into view (an ",[246,590,591],{},"IntersectionObserver"," injects it), and ",[246,594,595],{},"interaction-only"," appearance means most readers never see a challenge.",[32,598,600],{"id":599},"step-2-the-edge-function","Step 2: The Edge Function",[239,602,606],{"className":603,"code":604,"language":605,"meta":244,"style":244},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F src\u002Fsubscribe.js\nexport async function handleSubscribe(request, env) {\n  const isJson = request.headers.get('Accept')?.includes('application\u002Fjson');\n  const form = await request.formData();\n  const email = String(form.get('email') ?? '').trim().toLowerCase();\n  const reply = (status, message, redirect) => isJson\n    ? Response.json({ message }, { status })\n    : Response.redirect(new URL(redirect, request.url), 303);\n\n  if (form.get('website')) return reply(200, 'Thanks!', '\u002Fnewsletter\u002Fthanks\u002F');          \u002F\u002F honeypot: pretend success\n  if (!\u002F^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$\u002F.test(email) || email.length > 254) return reply(400, 'Please enter a valid email address.', '\u002Fnewsletter\u002Ferror\u002F');\n  const ip = request.headers.get('CF-Connecting-IP');\n  const { success } = await env.SUBSCRIBE_LIMIT.limit({ key: `sub:${ip}` });\n  if (!success) return reply(429, 'Too many attempts. Please try again in a minute.', '\u002Fnewsletter\u002Ferror\u002F');\n  if (!(await verifyTurnstile(form.get('cf-turnstile-response'), ip, env.TURNSTILE_SECRET))) {\n    return reply(400, 'Please complete the check and try again.', '\u002Fnewsletter\u002Ferror\u002F');\n  }\n  const res = await fetch('https:\u002F\u002Fapi.buttondown.com\u002Fv1\u002Fsubscribers', {\n    method: 'POST',\n    headers: { Authorization: `Token ${env.BUTTONDOWN_KEY}`, 'Content-Type': 'application\u002Fjson' },\n    body: JSON.stringify({ email_address: email, type: 'unactivated', referrer_url: request.headers.get('Referer') ?? '', tags: ['site-footer'] })\n  });\n  if (!res.ok && res.status !== 409) return reply(502, 'Something went wrong on our side. Please try again later.', '\u002Fnewsletter\u002Ferror\u002F');\n  await env.CONSENT.put(`nl:${email}`, JSON.stringify({ at: new Date().toISOString(), page: request.headers.get('Referer'), text: 'Get new articles by email' }));\n  return reply(200, 'Almost done — check your inbox to confirm.', '\u002Fnewsletter\u002Fthanks\u002F');\n}\n","js",[246,607,608,614,645,682,703,748,781,795,820,826,870,969,990,1034,1066,1101,1124,1130,1153,1165,1196,1241,1247,1293,1358,1381],{"__ignoreMap":244},[249,609,610],{"class":251,"line":252},[249,611,613],{"class":612},"sJ8bj","\u002F\u002F src\u002Fsubscribe.js\n",[249,615,616,620,623,626,629,632,636,639,642],{"class":251,"line":296},[249,617,619],{"class":618},"szBVR","export",[249,621,622],{"class":618}," async",[249,624,625],{"class":618}," function",[249,627,628],{"class":263}," handleSubscribe",[249,630,631],{"class":255},"(",[249,633,635],{"class":634},"s4XuR","request",[249,637,638],{"class":255},", ",[249,640,641],{"class":634},"env",[249,643,644],{"class":255},") {\n",[249,646,647,650,654,657,660,663,665,668,671,674,676,679],{"class":251,"line":320},[249,648,649],{"class":618},"  const",[249,651,653],{"class":652},"sj4cs"," isJson",[249,655,656],{"class":618}," =",[249,658,659],{"class":255}," request.headers.",[249,661,662],{"class":263},"get",[249,664,631],{"class":255},[249,666,667],{"class":270},"'Accept'",[249,669,670],{"class":255},")?.",[249,672,673],{"class":263},"includes",[249,675,631],{"class":255},[249,677,678],{"class":270},"'application\u002Fjson'",[249,680,681],{"class":255},");\n",[249,683,684,686,689,691,694,697,700],{"class":251,"line":337},[249,685,649],{"class":618},[249,687,688],{"class":652}," form",[249,690,656],{"class":618},[249,692,693],{"class":618}," await",[249,695,696],{"class":255}," request.",[249,698,699],{"class":263},"formData",[249,701,702],{"class":255},"();\n",[249,704,705,707,710,712,715,718,720,722,725,728,731,734,737,740,743,746],{"class":251,"line":388},[249,706,649],{"class":618},[249,708,709],{"class":652}," email",[249,711,656],{"class":618},[249,713,714],{"class":263}," String",[249,716,717],{"class":255},"(form.",[249,719,662],{"class":263},[249,721,631],{"class":255},[249,723,724],{"class":270},"'email'",[249,726,727],{"class":255},") ",[249,729,730],{"class":618},"??",[249,732,733],{"class":270}," ''",[249,735,736],{"class":255},").",[249,738,739],{"class":263},"trim",[249,741,742],{"class":255},"().",[249,744,745],{"class":263},"toLowerCase",[249,747,702],{"class":255},[249,749,750,752,755,757,760,763,765,768,770,773,775,778],{"class":251,"line":410},[249,751,649],{"class":618},[249,753,754],{"class":263}," reply",[249,756,656],{"class":618},[249,758,759],{"class":255}," (",[249,761,762],{"class":634},"status",[249,764,638],{"class":255},[249,766,767],{"class":634},"message",[249,769,638],{"class":255},[249,771,772],{"class":634},"redirect",[249,774,727],{"class":255},[249,776,777],{"class":618},"=>",[249,779,780],{"class":255}," isJson\n",[249,782,783,786,789,792],{"class":251,"line":420},[249,784,785],{"class":618},"    ?",[249,787,788],{"class":255}," Response.",[249,790,791],{"class":263},"json",[249,793,794],{"class":255},"({ message }, { status })\n",[249,796,797,800,802,804,806,809,812,815,818],{"class":251,"line":448},[249,798,799],{"class":618},"    :",[249,801,788],{"class":255},[249,803,772],{"class":263},[249,805,631],{"class":255},[249,807,808],{"class":618},"new",[249,810,811],{"class":263}," URL",[249,813,814],{"class":255},"(redirect, request.url), ",[249,816,817],{"class":652},"303",[249,819,681],{"class":255},[249,821,822],{"class":251,"line":501},[249,823,825],{"emptyLinePlaceholder":824},true,"\n",[249,827,828,831,834,836,838,841,844,847,849,851,854,856,859,861,864,867],{"class":251,"line":538},[249,829,830],{"class":618},"  if",[249,832,833],{"class":255}," (form.",[249,835,662],{"class":263},[249,837,631],{"class":255},[249,839,840],{"class":270},"'website'",[249,842,843],{"class":255},")) ",[249,845,846],{"class":618},"return",[249,848,754],{"class":263},[249,850,631],{"class":255},[249,852,853],{"class":652},"200",[249,855,638],{"class":255},[249,857,858],{"class":270},"'Thanks!'",[249,860,638],{"class":255},[249,862,863],{"class":270},"'\u002Fnewsletter\u002Fthanks\u002F'",[249,865,866],{"class":255},");          ",[249,868,869],{"class":612},"\u002F\u002F honeypot: pretend success\n",[249,871,872,874,876,879,882,885,888,890,893,896,900,902,904,906,908,912,914,916,918,921,923,925,928,931,934,937,940,943,946,948,950,952,954,957,959,962,964,967],{"class":251,"line":574},[249,873,830],{"class":618},[249,875,759],{"class":255},[249,877,878],{"class":618},"!",[249,880,881],{"class":270},"\u002F",[249,883,884],{"class":618},"^",[249,886,887],{"class":652},"[",[249,889,884],{"class":618},[249,891,892],{"class":652},"@\\s]",[249,894,895],{"class":618},"+",[249,897,899],{"class":898},"sA_wV","@",[249,901,887],{"class":652},[249,903,884],{"class":618},[249,905,892],{"class":652},[249,907,895],{"class":618},[249,909,911],{"class":910},"snhLl","\\.",[249,913,887],{"class":652},[249,915,884],{"class":618},[249,917,892],{"class":652},[249,919,920],{"class":618},"+$",[249,922,881],{"class":270},[249,924,30],{"class":255},[249,926,927],{"class":263},"test",[249,929,930],{"class":255},"(email) ",[249,932,933],{"class":618},"||",[249,935,936],{"class":255}," email.",[249,938,939],{"class":652},"length",[249,941,942],{"class":618}," >",[249,944,945],{"class":652}," 254",[249,947,727],{"class":255},[249,949,846],{"class":618},[249,951,754],{"class":263},[249,953,631],{"class":255},[249,955,956],{"class":652},"400",[249,958,638],{"class":255},[249,960,961],{"class":270},"'Please enter a valid email address.'",[249,963,638],{"class":255},[249,965,966],{"class":270},"'\u002Fnewsletter\u002Ferror\u002F'",[249,968,681],{"class":255},[249,970,972,974,977,979,981,983,985,988],{"class":251,"line":971},12,[249,973,649],{"class":618},[249,975,976],{"class":652}," ip",[249,978,656],{"class":618},[249,980,659],{"class":255},[249,982,662],{"class":263},[249,984,631],{"class":255},[249,986,987],{"class":270},"'CF-Connecting-IP'",[249,989,681],{"class":255},[249,991,993,995,998,1001,1004,1006,1008,1011,1014,1016,1019,1022,1025,1028,1031],{"class":251,"line":992},13,[249,994,649],{"class":618},[249,996,997],{"class":255}," { ",[249,999,1000],{"class":652},"success",[249,1002,1003],{"class":255}," } ",[249,1005,267],{"class":618},[249,1007,693],{"class":618},[249,1009,1010],{"class":255}," env.",[249,1012,1013],{"class":652},"SUBSCRIBE_LIMIT",[249,1015,30],{"class":255},[249,1017,1018],{"class":263},"limit",[249,1020,1021],{"class":255},"({ key: ",[249,1023,1024],{"class":270},"`sub:${",[249,1026,1027],{"class":255},"ip",[249,1029,1030],{"class":270},"}`",[249,1032,1033],{"class":255}," });\n",[249,1035,1037,1039,1041,1043,1046,1048,1050,1052,1055,1057,1060,1062,1064],{"class":251,"line":1036},14,[249,1038,830],{"class":618},[249,1040,759],{"class":255},[249,1042,878],{"class":618},[249,1044,1045],{"class":255},"success) ",[249,1047,846],{"class":618},[249,1049,754],{"class":263},[249,1051,631],{"class":255},[249,1053,1054],{"class":652},"429",[249,1056,638],{"class":255},[249,1058,1059],{"class":270},"'Too many attempts. Please try again in a minute.'",[249,1061,638],{"class":255},[249,1063,966],{"class":270},[249,1065,681],{"class":255},[249,1067,1069,1071,1073,1075,1077,1080,1083,1085,1087,1089,1092,1095,1098],{"class":251,"line":1068},15,[249,1070,830],{"class":618},[249,1072,759],{"class":255},[249,1074,878],{"class":618},[249,1076,631],{"class":255},[249,1078,1079],{"class":618},"await",[249,1081,1082],{"class":263}," verifyTurnstile",[249,1084,717],{"class":255},[249,1086,662],{"class":263},[249,1088,631],{"class":255},[249,1090,1091],{"class":270},"'cf-turnstile-response'",[249,1093,1094],{"class":255},"), ip, env.",[249,1096,1097],{"class":652},"TURNSTILE_SECRET",[249,1099,1100],{"class":255},"))) {\n",[249,1102,1104,1107,1109,1111,1113,1115,1118,1120,1122],{"class":251,"line":1103},16,[249,1105,1106],{"class":618},"    return",[249,1108,754],{"class":263},[249,1110,631],{"class":255},[249,1112,956],{"class":652},[249,1114,638],{"class":255},[249,1116,1117],{"class":270},"'Please complete the check and try again.'",[249,1119,638],{"class":255},[249,1121,966],{"class":270},[249,1123,681],{"class":255},[249,1125,1127],{"class":251,"line":1126},17,[249,1128,1129],{"class":255},"  }\n",[249,1131,1133,1135,1138,1140,1142,1145,1147,1150],{"class":251,"line":1132},18,[249,1134,649],{"class":618},[249,1136,1137],{"class":652}," res",[249,1139,656],{"class":618},[249,1141,693],{"class":618},[249,1143,1144],{"class":263}," fetch",[249,1146,631],{"class":255},[249,1148,1149],{"class":270},"'https:\u002F\u002Fapi.buttondown.com\u002Fv1\u002Fsubscribers'",[249,1151,1152],{"class":255},", {\n",[249,1154,1156,1159,1162],{"class":251,"line":1155},19,[249,1157,1158],{"class":255},"    method: ",[249,1160,1161],{"class":270},"'POST'",[249,1163,1164],{"class":255},",\n",[249,1166,1168,1171,1174,1176,1178,1181,1183,1185,1188,1191,1193],{"class":251,"line":1167},20,[249,1169,1170],{"class":255},"    headers: { Authorization: ",[249,1172,1173],{"class":270},"`Token ${",[249,1175,641],{"class":255},[249,1177,30],{"class":270},[249,1179,1180],{"class":652},"BUTTONDOWN_KEY",[249,1182,1030],{"class":270},[249,1184,638],{"class":255},[249,1186,1187],{"class":270},"'Content-Type'",[249,1189,1190],{"class":255},": ",[249,1192,678],{"class":270},[249,1194,1195],{"class":255}," },\n",[249,1197,1199,1202,1205,1207,1210,1213,1216,1219,1221,1223,1226,1228,1230,1232,1235,1238],{"class":251,"line":1198},21,[249,1200,1201],{"class":255},"    body: ",[249,1203,1204],{"class":652},"JSON",[249,1206,30],{"class":255},[249,1208,1209],{"class":263},"stringify",[249,1211,1212],{"class":255},"({ email_address: email, type: ",[249,1214,1215],{"class":270},"'unactivated'",[249,1217,1218],{"class":255},", referrer_url: request.headers.",[249,1220,662],{"class":263},[249,1222,631],{"class":255},[249,1224,1225],{"class":270},"'Referer'",[249,1227,727],{"class":255},[249,1229,730],{"class":618},[249,1231,733],{"class":270},[249,1233,1234],{"class":255},", tags: [",[249,1236,1237],{"class":270},"'site-footer'",[249,1239,1240],{"class":255},"] })\n",[249,1242,1244],{"class":251,"line":1243},22,[249,1245,1246],{"class":255},"  });\n",[249,1248,1250,1252,1254,1256,1259,1262,1265,1268,1271,1273,1275,1277,1279,1282,1284,1287,1289,1291],{"class":251,"line":1249},23,[249,1251,830],{"class":618},[249,1253,759],{"class":255},[249,1255,878],{"class":618},[249,1257,1258],{"class":255},"res.ok ",[249,1260,1261],{"class":618},"&&",[249,1263,1264],{"class":255}," res.status ",[249,1266,1267],{"class":618},"!==",[249,1269,1270],{"class":652}," 409",[249,1272,727],{"class":255},[249,1274,846],{"class":618},[249,1276,754],{"class":263},[249,1278,631],{"class":255},[249,1280,1281],{"class":652},"502",[249,1283,638],{"class":255},[249,1285,1286],{"class":270},"'Something went wrong on our side. Please try again later.'",[249,1288,638],{"class":255},[249,1290,966],{"class":270},[249,1292,681],{"class":255},[249,1294,1296,1299,1301,1304,1306,1309,1311,1314,1317,1319,1321,1323,1325,1327,1330,1332,1335,1337,1340,1343,1345,1347,1349,1352,1355],{"class":251,"line":1295},24,[249,1297,1298],{"class":618},"  await",[249,1300,1010],{"class":255},[249,1302,1303],{"class":652},"CONSENT",[249,1305,30],{"class":255},[249,1307,1308],{"class":263},"put",[249,1310,631],{"class":255},[249,1312,1313],{"class":270},"`nl:${",[249,1315,1316],{"class":255},"email",[249,1318,1030],{"class":270},[249,1320,638],{"class":255},[249,1322,1204],{"class":652},[249,1324,30],{"class":255},[249,1326,1209],{"class":263},[249,1328,1329],{"class":255},"({ at: ",[249,1331,808],{"class":618},[249,1333,1334],{"class":263}," Date",[249,1336,742],{"class":255},[249,1338,1339],{"class":263},"toISOString",[249,1341,1342],{"class":255},"(), page: request.headers.",[249,1344,662],{"class":263},[249,1346,631],{"class":255},[249,1348,1225],{"class":270},[249,1350,1351],{"class":255},"), text: ",[249,1353,1354],{"class":270},"'Get new articles by email'",[249,1356,1357],{"class":255}," }));\n",[249,1359,1361,1364,1366,1368,1370,1372,1375,1377,1379],{"class":251,"line":1360},25,[249,1362,1363],{"class":618},"  return",[249,1365,754],{"class":263},[249,1367,631],{"class":255},[249,1369,853],{"class":652},[249,1371,638],{"class":255},[249,1373,1374],{"class":270},"'Almost done — check your inbox to confirm.'",[249,1376,638],{"class":255},[249,1378,863],{"class":270},[249,1380,681],{"class":255},[249,1382,1384],{"class":251,"line":1383},26,[249,1385,1386],{"class":255},"}\n",[14,1388,1389,1390,1393,1394,30],{},"A 409 (already subscribed) returns the same success message, so the form does not reveal whether an address is on the list. ",[246,1391,1392],{},"type: 'unactivated'"," makes the provider send its confirmation email — double opt-in — and only confirmed addresses receive newsletters. The consent record stores what the reader agreed to, when and where, in Workers KV; the rate limit follows ",[21,1395,1397],{"href":1396},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions\u002F","Rate Limiting Edge Functions",[117,1399,1400,1535],{},[120,1401,128,1406,128,1409,128,1412,128,1415,128,1521],{"viewBox":1402,"role":123,"ariaLabelledBy":1403,"xmlns":127},"0 0 760 168",[1404,1405],"nl-flow-title","nl-flow-desc",[130,1407,1408],{"id":1404},"Newsletter signup flow through the edge function with double opt-in",[134,1410,1411],{"id":1405},"The reader submits the native form. The edge function checks the honeypot, validates the email, applies a rate limit and verifies the Turnstile token. It calls the email provider's API to create an unconfirmed subscriber and stores a consent record. The provider sends a confirmation email, and the address becomes a subscriber only after the reader clicks the confirmation link.",[138,1413],{"x":140,"y":140,"width":141,"height":1414,"fill":143},"168",[145,1416,148,1417,148,1425,148,1429,148,1433,148,1437,148,1440,148,1443,148,1446,148,1452,148,1455,148,1458,148,1464,148,1469,148,1473,148,1477,148,1480,148,1483,148,1486,148,1489,148,1492,148,1497,148,1501,148,1505,148,1509,148,1514,148,1517,128],{"style":147},[138,1418],{"x":154,"y":1419,"width":1420,"height":1421,"rx":1422,"fill":1423,"opacity":1424,"stroke":1423,"style":181},"64.0","116.8","88.4","8","#1982c4","0.14",[138,1426],{"x":1427,"y":1419,"width":1420,"height":1421,"rx":1422,"fill":1428,"opacity":1424,"stroke":1428,"style":181},"170.8","#6a4c93",[176,1430],{"d":1431,"fill":179,"stroke":180,"style":1432},"M138.8 108.2 L166.8 108.2","stroke-width:2px;marker-end:url(#nl-flow-arrow)",[138,1434],{"x":1435,"y":1419,"width":1420,"height":1421,"rx":1422,"fill":168,"opacity":1436,"stroke":170,"style":181},"321.6","0.24",[176,1438],{"d":1439,"fill":179,"stroke":180,"style":1432},"M289.6 108.2 L317.6 108.2",[138,1441],{"x":1442,"y":1419,"width":1420,"height":1421,"rx":1422,"fill":168,"opacity":1436,"stroke":170,"style":181},"472.4",[176,1444],{"d":1445,"fill":179,"stroke":180,"style":1432},"M440.4 108.2 L468.4 108.2",[138,1447],{"x":1448,"y":1419,"width":1420,"height":1421,"rx":1422,"fill":1449,"opacity":1450,"stroke":1451,"style":181},"623.2","#8ac926","0.2","#5a8a16",[176,1453],{"d":1454,"fill":179,"stroke":180,"style":1432},"M591.2 108.2 L619.2 108.2",[183,1456,1457],{"x":185,"y":186,"fill":187,"style":188},"From submit to confirmed subscriber",[183,1459,1463],{"x":1460,"y":1461,"fill":187,"style":1462},"78.4","98.8","font-size:13px;text-anchor:middle;font-weight:700","Native form",[183,1465,1468],{"x":1460,"y":1466,"fill":180,"style":1467},"115.7","font-size:11px;text-anchor:middle","POST",[183,1470,1472],{"x":1460,"y":1471,"fill":180,"style":1467},"130.0","\u002Fapi\u002Fsubscribe",[183,1474,1476],{"x":1475,"y":1461,"fill":187,"style":1462},"229.2","Checks",[183,1478,1479],{"x":1475,"y":1466,"fill":180,"style":1467},"honeypot, format,",[183,1481,1482],{"x":1475,"y":1471,"fill":180,"style":1467},"rate, Turnstile",[183,1484,1485],{"x":185,"y":1461,"fill":187,"style":1462},"Provider API",[183,1487,1488],{"x":185,"y":1466,"fill":180,"style":1467},"unconfirmed",[183,1490,1491],{"x":185,"y":1471,"fill":180,"style":1467},"contact",[183,1493,1496],{"x":1494,"y":1495,"fill":187,"style":1462},"530.8","90.4","Consent",[183,1498,1500],{"x":1494,"y":1499,"fill":187,"style":1462},"107.3","record",[183,1502,1504],{"x":1494,"y":1503,"fill":180,"style":1467},"124.2","KV with text and",[183,1506,1508],{"x":1494,"y":1507,"fill":180,"style":1467},"138.5","time",[183,1510,1513],{"x":1511,"y":1512,"fill":187,"style":1462},"681.6","97.5","Confirmation",[183,1515,1316],{"x":1511,"y":1516,"fill":187,"style":1462},"114.4",[183,1518,1520],{"x":1511,"y":1519,"fill":180,"style":1467},"131.3","double opt-in",[1522,1523,148,1524,128],"defs",{},[1525,1526,1531,1532,148],"marker",{"id":1527,"viewBox":1528,"refX":1422,"refY":1529,"markerWidth":218,"markerHeight":218,"orient":1530},"nl-flow-arrow","0 0 10 10","5","auto-start-reverse","\n      ",[176,1533],{"d":1534,"fill":180},"M0 0 L10 5 L0 10 z",[228,1536,1537],{},"No provider code runs in the page; the only third-party contact happens server-side and in the reader's inbox.",[32,1539,1541],{"id":1540},"step-3-progressive-enhancement","Step 3: Progressive Enhancement",[14,1543,1544,1545,1548,1549,1552],{},"Without JavaScript, the form posts, the function redirects to a thank-you or error page with a 303, and everything works. With JavaScript, a small script intercepts submission, sends it with ",[246,1546,1547],{},"fetch"," and an ",[246,1550,1551],{},"Accept: application\u002Fjson"," header, and shows the message in the status region without leaving the page:",[239,1554,1556],{"className":603,"code":1555,"language":605,"meta":244,"style":244},"form.addEventListener('submit', async (e) => {\n  e.preventDefault();\n  const button = form.querySelector('button');\n  button.disabled = true;\n  const res = await fetch(form.action, { method: 'POST', body: new FormData(form), headers: { Accept: 'application\u002Fjson' } });\n  const { message } = await res.json().catch(() => ({ message: 'Something went wrong. Please try again.' }));\n  form.querySelector('#nl-status').textContent = message;\n  if (res.ok) form.reset(); else button.disabled = false;\n});\n",[246,1557,1558,1588,1598,1620,1633,1666,1703,1723,1749],{"__ignoreMap":244},[249,1559,1560,1563,1566,1568,1571,1573,1576,1578,1581,1583,1585],{"class":251,"line":252},[249,1561,1562],{"class":255},"form.",[249,1564,1565],{"class":263},"addEventListener",[249,1567,631],{"class":255},[249,1569,1570],{"class":270},"'submit'",[249,1572,638],{"class":255},[249,1574,1575],{"class":618},"async",[249,1577,759],{"class":255},[249,1579,1580],{"class":634},"e",[249,1582,727],{"class":255},[249,1584,777],{"class":618},[249,1586,1587],{"class":255}," {\n",[249,1589,1590,1593,1596],{"class":251,"line":296},[249,1591,1592],{"class":255},"  e.",[249,1594,1595],{"class":263},"preventDefault",[249,1597,702],{"class":255},[249,1599,1600,1602,1605,1607,1610,1613,1615,1618],{"class":251,"line":320},[249,1601,649],{"class":618},[249,1603,1604],{"class":652}," button",[249,1606,656],{"class":618},[249,1608,1609],{"class":255}," form.",[249,1611,1612],{"class":263},"querySelector",[249,1614,631],{"class":255},[249,1616,1617],{"class":270},"'button'",[249,1619,681],{"class":255},[249,1621,1622,1625,1627,1630],{"class":251,"line":337},[249,1623,1624],{"class":255},"  button.disabled ",[249,1626,267],{"class":618},[249,1628,1629],{"class":652}," true",[249,1631,1632],{"class":255},";\n",[249,1634,1635,1637,1639,1641,1643,1645,1648,1650,1653,1655,1658,1661,1663],{"class":251,"line":388},[249,1636,649],{"class":618},[249,1638,1137],{"class":652},[249,1640,656],{"class":618},[249,1642,693],{"class":618},[249,1644,1144],{"class":263},[249,1646,1647],{"class":255},"(form.action, { method: ",[249,1649,1161],{"class":270},[249,1651,1652],{"class":255},", body: ",[249,1654,808],{"class":618},[249,1656,1657],{"class":263}," FormData",[249,1659,1660],{"class":255},"(form), headers: { Accept: ",[249,1662,678],{"class":270},[249,1664,1665],{"class":255}," } });\n",[249,1667,1668,1670,1672,1674,1676,1678,1680,1683,1685,1687,1690,1693,1695,1698,1701],{"class":251,"line":410},[249,1669,649],{"class":618},[249,1671,997],{"class":255},[249,1673,767],{"class":652},[249,1675,1003],{"class":255},[249,1677,267],{"class":618},[249,1679,693],{"class":618},[249,1681,1682],{"class":255}," res.",[249,1684,791],{"class":263},[249,1686,742],{"class":255},[249,1688,1689],{"class":263},"catch",[249,1691,1692],{"class":255},"(() ",[249,1694,777],{"class":618},[249,1696,1697],{"class":255}," ({ message: ",[249,1699,1700],{"class":270},"'Something went wrong. Please try again.'",[249,1702,1357],{"class":255},[249,1704,1705,1708,1710,1712,1715,1718,1720],{"class":251,"line":420},[249,1706,1707],{"class":255},"  form.",[249,1709,1612],{"class":263},[249,1711,631],{"class":255},[249,1713,1714],{"class":270},"'#nl-status'",[249,1716,1717],{"class":255},").textContent ",[249,1719,267],{"class":618},[249,1721,1722],{"class":255}," message;\n",[249,1724,1725,1727,1730,1733,1736,1739,1742,1744,1747],{"class":251,"line":448},[249,1726,830],{"class":618},[249,1728,1729],{"class":255}," (res.ok) form.",[249,1731,1732],{"class":263},"reset",[249,1734,1735],{"class":255},"(); ",[249,1737,1738],{"class":618},"else",[249,1740,1741],{"class":255}," button.disabled ",[249,1743,267],{"class":618},[249,1745,1746],{"class":652}," false",[249,1748,1632],{"class":255},[249,1750,1751],{"class":251,"line":501},[249,1752,1753],{"class":255},"});\n",[14,1755,1756,1757,1760],{},"The status paragraph has ",[246,1758,1759],{},"role=\"status\"",", so screen readers announce the result. The script is 0.5 KB and loads with the rest of the site's module.",[117,1762,1763,1850],{},[120,1764,128,1769,128,1772,128,1775,128,1778],{"viewBox":1765,"role":123,"ariaLabelledBy":1766,"xmlns":127},"0 0 760 196",[1767,1768],"nl-imp-title","nl-imp-desc",[130,1770,1771],{"id":1767},"Page cost and monthly signups with the embed and the native form",[134,1773,1774],{"id":1768},"Paired bars. Third-party requests per page fell from 7 with the provider embed to 0 with the native form. Monthly confirmed signups rose from 212 to 241 over the next three months on average.",[138,1776],{"x":140,"y":140,"width":141,"height":1777,"fill":143},"196",[145,1779,148,1780,148,1787,148,1791,148,1797,148,1801,148,1805,148,1809,148,1812,148,1815,148,1820,148,1824,148,1828,148,1833,148,1837,148,1841,148,1845,128],{"style":147},[138,1781],{"x":1782,"y":1783,"width":1784,"height":1785,"rx":1786,"fill":156,"opacity":157,"stroke":158,"style":159},"214.4","50.0","14.0","12.0","2",[138,1788],{"x":1789,"y":1783,"width":1784,"height":1785,"rx":1786,"fill":1449,"opacity":1790,"stroke":1451,"style":159},"357.6","0.4",[138,1792],{"x":1793,"y":1794,"width":1795,"height":1796,"rx":155,"fill":156,"opacity":157,"stroke":158,"style":159},"230.0","82.0","13.7","16.0",[138,1798],{"x":1793,"y":1799,"width":1800,"height":1796,"rx":155,"fill":1449,"opacity":1790,"stroke":1451,"style":159},"102.0","3.0",[138,1802],{"x":1793,"y":1803,"width":1804,"height":1796,"rx":155,"fill":156,"opacity":157,"stroke":158,"style":159},"134.0","415.1",[138,1806],{"x":1793,"y":1807,"width":1808,"height":1796,"rx":155,"fill":1449,"opacity":1790,"stroke":1451,"style":159},"154.0","471.9",[176,1810],{"d":1811,"fill":179,"stroke":180,"style":181},"M230.0 78.0 L230.0 176.0",[183,1813,1814],{"x":185,"y":186,"fill":187,"style":188},"Per-page cost and signups",[183,1816,1819],{"x":1817,"y":1818,"fill":180,"style":193},"234.4","60.0","Provider embed",[183,1821,1823],{"x":1822,"y":1818,"fill":180,"style":193},"377.6","Native form + edge function",[183,1825,1827],{"x":154,"y":1826,"fill":187,"style":193},"105.2","Third-party requests per page",[183,1829,218],{"x":1830,"y":1831,"fill":199,"style":1832},"250.7","94.5","font-size:11.5px;text-anchor:start;font-weight:700",[183,1834,140],{"x":151,"y":1835,"fill":1836,"style":1832},"114.5","#3f6410",[183,1838,1840],{"x":154,"y":1839,"fill":187,"style":193},"157.2","Confirmed signups per month",[183,1842,115],{"x":1843,"y":1844,"fill":199,"style":1832},"652.1","146.5",[183,1846,1849],{"x":1847,"y":1848,"fill":1836,"style":1832},"708.9","166.5","241",[228,1851,1852],{},"Page costs from Lighthouse request blocking; signups from the provider's confirmed-subscriber counts.",[32,1854,1856],{"id":1855},"operating-it","Operating It",[14,1858,1859],{},"The function has three things to watch. Provider API failures return a 502 to the reader and log the provider's status; an alert fires if more than five occur in an hour, which on this site caught one provider outage and one expired API key. The honeypot and Turnstile rejection counts are graphed, because a sudden drop can mean bots have adapted and a sudden rise can mean Turnstile is misconfigured and blocking real readers. And the consent records are exported monthly to the same storage as other compliance data, so a reader's request to see or delete their data can be answered from one place. Unsubscribes are handled entirely by the provider's links in each email, and a nightly job deletes consent records for addresses the provider reports as unsubscribed, so the site does not keep data longer than needed.",[32,1861,1863],{"id":1862},"changing-providers-later","Changing Providers Later",[14,1865,1866],{},"A side benefit of owning the form and function is that the email provider becomes a detail behind the site's own endpoint. When the blog later moved from one provider to another for pricing reasons, the change was a new API call in the function and an export and import of confirmed subscribers — the form, the site's markup and every page stayed exactly as they were, and readers noticed nothing. With the embed, the same move would have meant replacing markup and scripts in the footer of every template, re-checking accessibility and consent text, and re-measuring the new provider's page cost. Keeping the integration server-side turned a redesign into a small backend change.",[32,1868,1870],{"id":1869},"measured-impact","Measured Impact",[57,1872,1873,1884],{},[60,1874,1875],{},[63,1876,1877,1880,1882],{},[66,1878,1879],{},"Measure",[66,1881,1819],{},[66,1883,1823],{},[73,1885,1886,1894,1904,1915,1924,1933],{},[63,1887,1888,1890,1892],{},[78,1889,1827],{},[78,1891,218],{},[78,1893,140],{},[63,1895,1896,1899,1901],{},[78,1897,1898],{},"Page weight added (compressed)",[78,1900,91],{},[78,1902,1903],{},"1.1 KB (form + script)",[63,1905,1906,1909,1912],{},[78,1907,1908],{},"INP p75 on article pages (field)",[78,1910,1911],{},"148 ms",[78,1913,1914],{},"104 ms",[63,1916,1917,1920,1922],{},[78,1918,1919],{},"Accessibility issues in the form (axe)",[78,1921,155],{},[78,1923,140],{},[63,1925,1926,1929,1931],{},[78,1927,1928],{},"Confirmed signups per month (3-month average)",[78,1930,115],{},[78,1932,1849],{},[63,1934,1935,1938,1941],{},[78,1936,1937],{},"Fake signups reaching the provider per month",[78,1939,1940],{},"~180",[78,1942,1943],{},"~3",[14,1945,1946],{},"Signups rose slightly — possibly because the form now looked like part of the site and loaded instantly — and fake signups nearly vanished, which improved the provider's reported deliverability.",[32,1948,1950],{"id":1949},"pitfalls-rollback","Pitfalls & Rollback",[37,1952,1953,1960,1966,1972,1982],{},[40,1954,1955,1959],{},[1956,1957,1958],"strong",{},"API keys in the page."," Keep provider credentials in Worker secrets only.",[40,1961,1962,1965],{},[1956,1963,1964],{},"Revealing list membership."," Return the same message for new and existing addresses.",[40,1967,1968,1971],{},[1956,1969,1970],{},"Single opt-in."," Bots and typos pollute the list; use the provider's double opt-in.",[40,1973,1974,1977,1978,1981],{},[1956,1975,1976],{},"JavaScript-only forms."," Keep a working ",[246,1979,1980],{},"action"," for readers and browsers without the script.",[40,1983,1984,1987],{},[1956,1985,1986],{},"Rollback:"," restoring the provider embed in the footer partial brings back the old form; the function and consent store can remain for later.",[32,1989,1991],{"id":1990},"conclusion","Conclusion",[14,1993,1994],{},"A newsletter signup does not need a third-party embed on every page. A native, accessible HTML form posting to a small edge function — with a honeypot, rate limit, Turnstile, double opt-in through the provider's API and a consent record — removed 94 KB and seven third-party requests from every page of this blog, cut fake signups by 98%, and slightly increased real ones.",[32,1996,1998],{"id":1997},"faq","FAQ",[2000,2001,2003],"h3",{"id":2002},"why-not-use-the-email-providers-embed-code","Why not use the email provider's embed code?",[14,2005,2006],{},"Provider embeds typically load their own JavaScript, CSS and fonts on every page, sometimes tracking pixels too, and render a form that does not match the site. A native HTML form posting to a small edge function keeps pages light and lets the site control markup, accessibility and consent.",[2000,2008,2010],{"id":2009},"is-double-opt-in-necessary","Is double opt-in necessary?",[14,2012,2013],{},"It is strongly recommended and in some jurisdictions effectively required. Sending a confirmation email before adding the subscriber proves the address belongs to the person who signed up, keeps lists clean, and protects sender reputation from bots entering other people's addresses.",[2000,2015,2017],{"id":2016},"where-are-api-keys-for-the-email-provider-kept","Where are API keys for the email provider kept?",[14,2019,2020],{},"In the edge function's secrets, never in the page. The function calls the provider's API server-side, so the browser only ever sees the site's own endpoint.",[2000,2022,2024],{"id":2023},"does-the-form-work-without-javascript","Does the form work without JavaScript?",[14,2026,2027],{},"Yes, if it is a normal HTML form with an action and method. The function responds with a redirect to a thank-you page for plain submissions, and with JSON when the page's script submits it with fetch for an inline confirmation.",[32,2029,2031],{"id":2030},"related","Related",[37,2033,2034,2043,2048,2055,2060],{},[40,2035,2036,2039,2040,2042],{},[1956,2037,2038],{},"Parent:"," ",[21,2041,24],{"href":23}," — small server code for static sites.",[40,2044,2045,2047],{},[21,2046,29],{"href":28}," — the general form pattern.",[40,2049,2050,2054],{},[21,2051,2053],{"href":2052},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers\u002F","Adding a Contact Form with Cloudflare Workers"," — a sibling endpoint.",[40,2056,2057,2059],{},[21,2058,1397],{"href":1396}," — protecting the endpoint.",[40,2061,2062,2066],{},[21,2063,2065],{"href":2064},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking\u002F","Measuring Third-Party Cost with Request Blocking"," — how the embed's cost was measured.",[2068,2069,2070],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sA_wV, html code.shiki .sA_wV{--shiki-default:#032F62;--shiki-dark:#DBEDFF}html pre.shiki code .snhLl, html code.shiki .snhLl{--shiki-default:#22863A;--shiki-default-font-weight:bold;--shiki-dark:#85E89D;--shiki-dark-font-weight:bold}",{"title":244,"searchDepth":296,"depth":296,"links":2072},[2073,2074,2075,2076,2077,2078,2079,2080,2081,2082,2083,2089],{"id":34,"depth":296,"text":35},{"id":51,"depth":296,"text":52},{"id":233,"depth":296,"text":234},{"id":599,"depth":296,"text":600},{"id":1540,"depth":296,"text":1541},{"id":1855,"depth":296,"text":1856},{"id":1862,"depth":296,"text":1863},{"id":1869,"depth":296,"text":1870},{"id":1949,"depth":296,"text":1950},{"id":1990,"depth":296,"text":1991},{"id":1997,"depth":296,"text":1998,"children":2084},[2085,2086,2087,2088],{"id":2002,"depth":320,"text":2003},{"id":2009,"depth":320,"text":2010},{"id":2016,"depth":320,"text":2017},{"id":2023,"depth":320,"text":2024},{"id":2030,"depth":296,"text":2031},[2091,2093,2096,2097],{"name":2092,"item":881},"Home",{"name":2094,"item":2095},"Production-Ready Deployment & CI\u002FCD for SSGs","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":24,"item":23},{"name":5,"item":2098},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function\u002F","2026-09-25","Replace a newsletter embed on a static site with a native form and a small edge function: double opt-in, spam protection, consent records and results.","md",[2103,2104,2105,2106],{"q":2003,"a":2006},{"q":2010,"a":2013},{"q":2017,"a":2020},{"q":2024,"a":2027},{},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function",{"title":5,"description":2100},"production-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function\u002Findex","article","ZogYdNxFVpuoYY37u1cV0ucbDq7rVO9eQv4etaArOQ0",[2114,2117,2120,2123,2126,2129,2132,2135,2138,2141,2144,2147,2150,2153,2156,2159,2162,2165,2168,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,2845,2848,2851,2854,2857,2860,2863,2866,2869,2872,2875,2878,2881,2884,2887,2890,2893,2896,2899,2902,2905,2908,2911,2914,2917,2920,2923,2926,2929,2932,2935,2938,2941,2944,2947,2950,2953,2956,2959,2962,2965,2968,2971,2974,2977,2980,2983,2986,2989,2991,2994,2997,3000,3003,3006,3009,3012,3015,3018,3021,3024,3027,3030,3033,3036,3039,3042,3045,3048,3051,3054,3057,3060,3063,3066,3069,3072,3075,3078,3081,3084,3087,3090,3093,3096,3099,3102,3105,3108,3111,3114,3117,3120,3123,3126,3129,3132,3135,3138,3141,3144,3147,3150,3153,3156,3159,3162,3165,3168,3171,3174,3177,3180,3183,3186,3189,3192,3195,3198,3201,3204,3207,3209,3212,3214,3216,3219,3220,3223,3226,3228,3231,3234,3237,3240,3243,3246,3249,3252],{"path":2115,"title":2116},"\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":2118,"title":2119},"\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":2121,"title":2122},"\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":2124,"title":2125},"\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":2127,"title":2128},"\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":2130,"title":2131},"\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":2133,"title":2134},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":2136,"title":2137},"\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":2139,"title":2140},"\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":2142,"title":2143},"\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":2145,"title":2146},"\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":2148,"title":2149},"\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":2151,"title":2152},"\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":2154,"title":2155},"\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":2157,"title":2158},"\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":2160,"title":2161},"\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":2163,"title":2164},"\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":2166,"title":2167},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":2169,"title":2170},"\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":2172,"title":2173},"\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":2175,"title":2176},"\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":2178,"title":2179},"\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":2181,"title":2182},"\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":2184,"title":2185},"\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":2187,"title":2188},"\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":2190,"title":2191},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":2193,"title":2194},"\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":2196,"title":2197},"\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":2199,"title":2200},"\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":2202,"title":2203},"\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":2205,"title":2206},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":2208,"title":2209},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":2211,"title":2212},"\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":2214,"title":2215},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":2217,"title":2218},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":2220,"title":2221},"\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":2223,"title":2224},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":2226,"title":2227},"\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":2229,"title":2230},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":2232,"title":2233},"\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":2235,"title":2236},"\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":2238,"title":2239},"\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":2241,"title":2242},"\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":2244,"title":2245},"\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":2247,"title":2248},"\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":2250,"title":2251},"\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":2253,"title":2254},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":2256,"title":2257},"\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":2259,"title":2260},"\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":2262,"title":2263},"\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":2265,"title":2266},"\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":2268,"title":2269},"\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":2271,"title":2272},"\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":2274,"title":2275},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":2277,"title":2278},"\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":2280,"title":2281},"\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":2283,"title":2284},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":2286,"title":2287},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":2289,"title":2290},"\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":2292,"title":2293},"\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":2295,"title":2296},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":2298,"title":2299},"\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":2301,"title":2302},"\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":2304,"title":2305},"\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":2307,"title":2308},"\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":2310,"title":2311},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":2313,"title":2314},"\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":2316,"title":2317},"\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":2319,"title":2320},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":2322,"title":2323},"\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":2325,"title":2326},"\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":2328,"title":2329},"\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":2331,"title":2332},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":2334,"title":2335},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":2337,"title":2338},"\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":2340,"title":2341},"\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":2343,"title":2344},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":2346,"title":2347},"\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":2349,"title":2350},"\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":2352,"title":2353},"\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":2355,"title":2356},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":2358,"title":2359},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":2361,"title":2362},"\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":2364,"title":2365},"\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":2367,"title":2368},"\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":2370,"title":2371},"\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":2373,"title":2374},"\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":2376,"title":2377},"\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":2379,"title":2380},"\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":2382,"title":2383},"\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":2385,"title":2386},"\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":2388,"title":2389},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2391,"title":2392},"\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":2394,"title":2395},"\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":2397,"title":2398},"\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":2400,"title":2401},"\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":2403,"title":2404},"\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":2406,"title":2407},"\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":2409,"title":2410},"\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":2412,"title":2413},"\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":2415,"title":2416},"\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":2418,"title":2419},"\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":2421,"title":2422},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2424,"title":2425},"\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":2427,"title":2428},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":2430,"title":2431},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2433,"title":2434},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2436,"title":2437},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2439,"title":2440},"\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":2442,"title":2443},"\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":2445,"title":2446},"\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":2448,"title":2449},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2451,"title":2452},"\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":2454,"title":2455},"\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":2457,"title":2458},"\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":2460,"title":2461},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":2463,"title":2464},"\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":2466,"title":2467},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2469,"title":2470},"\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":2472,"title":2473},"\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":2475,"title":2476},"\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":2478,"title":2479},"\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":2481,"title":2482},"\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":2484,"title":2485},"\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":2487,"title":2488},"\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":2490,"title":2491},"\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":2493,"title":2494},"\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":2496,"title":2497},"\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":2499,"title":2500},"\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":2502,"title":2503},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2505,"title":2506},"\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":2508,"title":2509},"\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":2511,"title":2512},"\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":2514,"title":2515},"\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":2517,"title":2518},"\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":2520,"title":2521},"\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":2523,"title":2524},"\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":2526,"title":2527},"\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":2529,"title":2530},"\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":2532,"title":2533},"\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":2535,"title":2536},"\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":2538,"title":2539},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2541,"title":2542},"\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":2544,"title":2545},"\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":2547,"title":2548},"\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":2550,"title":2551},"\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":2553,"title":2554},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2556,"title":2557},"\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":2559,"title":2560},"\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":2562,"title":2563},"\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":2565,"title":2566},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2568,"title":2569},"\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":2571,"title":2572},"\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":2574,"title":2575},"\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":2577,"title":2578},"\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":2580,"title":2581},"\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":2583,"title":2584},"\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":2586,"title":2587},"\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":2589,"title":2590},"\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":2592,"title":2593},"\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":2595,"title":2596},"\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":2598,"title":2599},"\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":2601,"title":2602},"\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":2604,"title":2605},"\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":2607,"title":2608},"\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":2610,"title":2611},"\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":2613,"title":2614},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2616,"title":2617},"\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":2619,"title":2620},"\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":2622,"title":2623},"\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":2625,"title":2626},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2628,"title":2629},"\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":2631,"title":2632},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2634,"title":2635},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2637,"title":2638},"\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":2640,"title":2641},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2643,"title":2644},"\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":2646,"title":2647},"\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":2649,"title":2650},"\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":2652,"title":2653},"\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":2655,"title":2656},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2658,"title":2659},"\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":2661,"title":2662},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2664,"title":2665},"\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":2667,"title":2668},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2670,"title":2671},"\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":2673,"title":2674},"\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":2676,"title":2677},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2679,"title":2680},"\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":2682,"title":2683},"\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":2685,"title":2686},"\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":2688,"title":2689},"\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":2691,"title":2692},"\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":2694,"title":2695},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2697,"title":2698},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2700,"title":2701},"\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":2703,"title":2704},"\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":2706,"title":2707},"\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":2709,"title":2710},"\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":2712,"title":2713},"\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":2715,"title":2716},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2718,"title":2719},"\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":2721,"title":2722},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2724,"title":2725},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2727,"title":2728},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2730,"title":2731},"\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":2733,"title":2734},"\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":2736,"title":2737},"\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":2739,"title":2740},"\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":2742,"title":2743},"\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":2745,"title":2746},"\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":2748,"title":2749},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2751,"title":2752},"\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":2754,"title":2755},"\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":2757,"title":2758},"\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":2760,"title":2761},"\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":2763,"title":2764},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2766,"title":2767},"\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":2769,"title":2770},"\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":2772,"title":2773},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2775,"title":2776},"\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":2778,"title":2779},"\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":2781,"title":2782},"\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":2784,"title":2785},"\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":2787,"title":2788},"\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":2790,"title":2791},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2793,"title":2794},"\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":2796,"title":2797},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2799,"title":2800},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2802,"title":2803},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2805,"title":2806},"\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":2808,"title":2809},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2811,"title":2812},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2814,"title":2815},"\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":2817,"title":2818},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2820,"title":2821},"\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":2823,"title":2824},"\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":2826,"title":2827},"\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":2829,"title":2830},"\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":2832,"title":2833},"\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":2835,"title":2836},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2838,"title":2839},"\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":2841,"title":2842},"\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":2844,"title":2065},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking",{"path":2846,"title":2847},"\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":2849,"title":2850},"\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":2852,"title":2853},"\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":2855,"title":2856},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2858,"title":2859},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2861,"title":2862},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2864,"title":2865},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2867,"title":2868},"\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":2870,"title":2871},"\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":2873,"title":2874},"\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":2876,"title":2877},"\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":2879,"title":2880},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2882,"title":2883},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2885,"title":2886},"\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":2888,"title":2889},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2891,"title":2892},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2894,"title":2895},"\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":2897,"title":2898},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2900,"title":2901},"\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":2903,"title":2904},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2906,"title":2907},"\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":2909,"title":2910},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2912,"title":2913},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2915,"title":2916},"\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":2918,"title":2919},"\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":2921,"title":2922},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2924,"title":2925},"\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":2927,"title":2928},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2930,"title":2931},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2933,"title":2934},"\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":2936,"title":2937},"\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":2939,"title":2940},"\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":2942,"title":2943},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2945,"title":2946},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2948,"title":2949},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2951,"title":2952},"\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":2954,"title":2955},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2957,"title":2958},"\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":2960,"title":2961},"\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":2963,"title":2964},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2966,"title":2967},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2969,"title":2970},"\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":2972,"title":2973},"\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":2975,"title":2976},"\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":2978,"title":2979},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2981,"title":2982},"\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":2984,"title":2985},"\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":2987,"title":2988},"\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":2990,"title":2094},"\u002Fproduction-ready-deployment-cicd-workflows",{"path":2992,"title":2993},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2995,"title":2996},"\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":2998,"title":2999},"\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":3001,"title":3002},"\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":3004,"title":3005},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":3007,"title":3008},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":3010,"title":3011},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":3013,"title":3014},"\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":3016,"title":3017},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":3019,"title":3020},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":3022,"title":3023},"\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":3025,"title":3026},"\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":3028,"title":3029},"\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":3031,"title":3032},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":3034,"title":3035},"\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":3037,"title":3038},"\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":3040,"title":3041},"\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":3043,"title":3044},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":3046,"title":3047},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":3049,"title":3050},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":3052,"title":3053},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites","Netlify Redirects and Rewrites for Static Sites",{"path":3055,"title":3056},"\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":3058,"title":3059},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs","Vercel Build Output API for Custom SSGs",{"path":3061,"title":3062},"\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":3064,"title":3065},"\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":3067,"title":3068},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":3070,"title":3071},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":3073,"title":3074},"\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":3076,"title":3077},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":3079,"title":3080},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":3082,"title":3083},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":3085,"title":3086},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":3088,"title":3089},"\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":3091,"title":3092},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":3094,"title":3095},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":3097,"title":3098},"\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":3100,"title":3101},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":3103,"title":3104},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":3106,"title":3107},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":3109,"title":3110},"\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":3112,"title":3113},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":3115,"title":3116},"\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":3118,"title":3119},"\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":3121,"title":3122},"\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":3124,"title":3125},"\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":3127,"title":3128},"\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":3130,"title":3131},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":3133,"title":3134},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":3136,"title":3137},"\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":3139,"title":3140},"\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":3142,"title":3143},"\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":3145,"title":3146},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":3148,"title":3149},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":3151,"title":3152},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":3154,"title":3155},"\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":3157,"title":3158},"\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":3160,"title":3161},"\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":3163,"title":3164},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":3166,"title":3167},"\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":3169,"title":3170},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":3172,"title":3173},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":3175,"title":3176},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":3178,"title":3179},"\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":3181,"title":3182},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":3184,"title":3185},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":3187,"title":3188},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":3190,"title":3191},"\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":3193,"title":3194},"\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":3196,"title":3197},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":3199,"title":3200},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":3202,"title":3203},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":3205,"title":3206},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":3208,"title":2053},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers",{"path":3210,"title":3211},"\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":3213,"title":29},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site",{"path":3215,"title":24},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites",{"path":3217,"title":3218},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2108,"title":5},{"path":3221,"title":3222},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":3224,"title":3225},"\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":3227,"title":1397},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions",{"path":3229,"title":3230},"\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":3232,"title":3233},"\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":3235,"title":3236},"\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":3238,"title":3239},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":3241,"title":3242},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":3244,"title":3245},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":3247,"title":3248},"\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":3250,"title":3251},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":3253,"title":3254},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":3256,"tools":3260},{"label":3257,"plural":3258,"u":3259},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[],1790943198103]