[{"data":1,"prerenderedAt":1722},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages":3,"all-docs-nav":1180},{"id":4,"title":5,"body":6,"breadcrumb":1155,"dateModified":1164,"datePublished":1164,"description":1165,"extension":1166,"faq":1167,"meta":1173,"navigation":1174,"path":1175,"seo":1176,"slug":12,"stem":1177,"type":1178,"__hash__":1179},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages\u002Findex.md","Configuring Redirects on Cloudflare Pages",{"type":7,"value":8,"toc":1136},"minimark",[9,13,34,46,51,73,77,83,93,96,262,266,281,287,546,556,560,584,588,594,618,625,740,743,844,848,881,977,981,984,990,994,1000,1004,1042,1046,1052,1056,1061,1064,1068,1075,1079,1082,1086,1089,1093,1132],[10,11,5],"h1",{"id":12},"configuring-redirects-on-cloudflare-pages",[14,15,16,17,21,22,25,26,29,30,33],"p",{},"Every static site accumulates redirects: renamed pages, a migration from WordPress, a new URL scheme for docs versions, ",[18,19,20],"code",{},"http"," to ",[18,23,24],{},"https"," and apex to ",[18,27,28],{},"www",". On Cloudflare Pages, most of them belong in a plain-text ",[18,31,32],{},"_redirects"," file deployed with the site. It is simple, versioned with your content and applied at the edge before any file is served. It also has limits that bite during large migrations, and some rules are better handled elsewhere.",[14,35,36,37,39,40,45],{},"This guide covers the ",[18,38,32],{}," syntax, the limits and ordering rules, testing redirects before deploy, and when to move rules to Bulk Redirects, Redirect Rules or a Worker. It is part of ",[41,42,44],"a",{"href":43},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002F","Cloudflare Pages Edge Caching Setup",".",[47,48,50],"h2",{"id":49},"prerequisites","Prerequisites",[52,53,54,61,64],"ul",{},[55,56,57,58,60],"li",{},"A site deployed to Cloudflare Pages, or to Workers with static assets — the ",[18,59,32],{}," format is the same.",[55,62,63],{},"A list of old and new URLs, for example from a migration spreadsheet.",[55,65,66,69,70,45],{},[18,67,68],{},"wrangler"," installed locally for testing: ",[18,71,72],{},"npm install -D wrangler",[47,74,76],{"id":75},"the-_redirects-file","The _redirects File",[14,78,79,80,82],{},"Place ",[18,81,32],{}," in the build output directory — for most generators, put it in the static or public folder so it is copied unchanged. Each line is a source, a destination and an optional status code:",[84,85,91],"pre",{"className":86,"code":88,"language":89,"meta":90},[87],"language-text","# Exact paths\n\u002Fold-page\u002F                 \u002Fnew-page\u002F                 301\n\u002Fdocs\u002Fv1\u002Finstall\u002F          \u002Fdocs\u002Finstall\u002F             301\n\n# Splat: everything under a path\n\u002Fblog\u002F*                    \u002Farticles\u002F:splat           301\n\n# Placeholders\n\u002Fdocs\u002F:version\u002Fapi\u002F:name\u002F  \u002Freference\u002F:name\u002F?v=:version  301\n\n# External destination\n\u002Fcommunity\u002F                https:\u002F\u002Fforum.example.com\u002F 302\n\n# Rewrite (200): serve another path without changing the URL\n\u002Fapp\u002F*                     \u002Fapp\u002Findex.html            200\n","text","",[18,92,88],{"__ignoreMap":90},[14,94,95],{},"The status defaults to 302 if omitted. Use 301 or 308 for permanent moves so search engines transfer signals and browsers cache the redirect; use 302 or 307 for temporary ones. Rules are evaluated top to bottom and the first match wins, so put specific rules above general ones.",[97,98,99,258],"figure",{},[100,101,108,109,108,113,108,117,108,124,108,142],"svg",{"viewBox":102,"role":103,"ariaLabelledBy":104,"xmlns":107},"0 0 760 270","img",[105,106],"cpr-flow-title","cpr-flow-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[110,111,112],"title",{"id":105},"Where each redirect mechanism runs on Cloudflare",[114,115,116],"desc",{"id":106},"A request first passes account-level Bulk Redirects and zone-level Redirect Rules, then reaches the Pages project, where the _redirects file is checked before static assets and Pages Functions. The earlier the mechanism, the less work each request does.",[118,119],"rect",{"x":120,"y":120,"width":121,"height":122,"fill":123},"0","760","270","#ffffff",[125,126,127,128,108],"defs",{},"\n    ",[129,130,137],"marker",{"id":131,"viewBox":132,"refX":133,"refY":134,"markerWidth":135,"markerHeight":135,"orient":136},"cpr-flow-arrow","0 0 10 10","9","5","7","auto-start-reverse",[138,139],"path",{"d":140,"fill":141},"M0,0 L10,5 L0,10 z","#556071",[143,144,127,146,127,153,127,161,127,167,127,172,127,178,127,184,127,188,127,192,127,196,127,199,127,207,127,212,127,220,127,224,127,227,127,231,127,234,127,238,127,245,127,249,127,254,108],"g",{"style":145},"font-family:system-ui, sans-serif;font-size:12px",[89,147,152],{"x":148,"y":149,"fill":150,"style":151},"380","26","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Order of evaluation for a request",[118,154],{"x":155,"y":156,"width":157,"height":158,"rx":159,"fill":141,"style":160,"stroke":141},"20","60","120","70","8","fill-opacity:0.1",[89,162,166],{"x":163,"y":164,"fill":150,"style":165},"80","92","text-anchor:middle","request",[89,168,171],{"x":163,"y":169,"fill":141,"style":170},"110","font-size:11px;text-anchor:middle","old.example.com\u002Fx",[118,173],{"x":174,"y":156,"width":175,"height":158,"rx":159,"fill":176,"style":177,"stroke":176},"165","130","#6a4c93","fill-opacity:0.12",[89,179,183],{"x":180,"y":181,"fill":176,"style":182},"230","88","font-weight:700;text-anchor:middle","Bulk Redirects",[89,185,187],{"x":180,"y":186,"fill":141,"style":170},"108","account, millions",[118,189],{"x":190,"y":156,"width":175,"height":158,"rx":159,"fill":191,"style":177,"stroke":191},"320","#166a9e",[89,193,195],{"x":194,"y":181,"fill":191,"style":182},"385","Redirect Rules",[89,197,198],{"x":194,"y":186,"fill":141,"style":170},"zone, expressions",[118,200],{"x":201,"y":202,"width":203,"height":204,"rx":159,"fill":205,"style":206,"stroke":205},"475","50","265","170","#3f6410","fill-opacity:0.06",[89,208,211],{"x":209,"y":210,"fill":205,"style":182},"607","72","Pages project",[118,213],{"x":214,"y":215,"width":216,"height":217,"rx":218,"fill":205,"style":219},"490","84","235","34","6","fill-opacity:0.14",[89,221,223],{"x":209,"y":222,"fill":150,"style":165},"106","_redirects (2,100 rules)",[118,225],{"x":214,"y":226,"width":216,"height":217,"rx":218,"fill":123,"stroke":141},"128",[89,228,230],{"x":209,"y":229,"fill":150,"style":165},"150","static assets",[118,232],{"x":214,"y":233,"width":216,"height":217,"rx":218,"fill":123,"stroke":141},"172",[89,235,237],{"x":209,"y":236,"fill":150,"style":165},"194","Functions \u002F Worker code",[239,240],"line",{"x1":241,"y1":242,"x2":243,"y2":242,"stroke":141,"style":244},"140","95","161","stroke-width:1.5px;marker-end:url(#cpr-flow-arrow)",[239,246],{"x1":247,"y1":242,"x2":248,"y2":242,"stroke":141,"style":244},"295","316",[239,250],{"x1":251,"y1":242,"x2":252,"y2":253,"stroke":141,"style":244},"450","486","100",[89,255,257],{"x":148,"y":256,"fill":141,"style":170},"252","a match at any stage returns the redirect immediately; later stages never run",[259,260,261],"figcaption",{},"Rules in _redirects are checked after zone-level rules but before any file or function.",[47,263,265],{"id":264},"limits-and-what-they-mean","Limits and What They Mean",[14,267,268,269,271,272,276,277,280],{},"A ",[18,270,32],{}," file supports up to ",[273,274,275],"strong",{},"2,000 static"," and ",[273,278,279],{},"100 dynamic"," rules. Static rules match one exact path; dynamic rules contain a splat or placeholder. Lines past the limits are silently ignored, which is the most common source of \"some redirects do not work\" after a migration. Each line may be up to 1,000 characters.",[14,282,283,284,286],{},"For migrations, generate the file rather than writing it by hand. A build step that reads the old-to-new mapping from a CSV and writes ",[18,285,32],{}," into the output directory keeps the source of truth readable and lets you check the counts:",[84,288,292],{"className":289,"code":290,"language":291,"meta":90,"style":90},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F scripts\u002Fbuild-redirects.mjs\nimport { readFileSync, writeFileSync } from 'node:fs';\nconst rows = readFileSync('redirects.csv', 'utf8').trim().split('\\n').slice(1);\nconst lines = rows.map((r) => r.split(',')).map(([from, to]) => `${from} ${to} 301`);\nif (lines.length > 2000) throw new Error(`${lines.length} static redirects exceeds the 2,000 limit`);\nwriteFileSync('dist\u002F_redirects', lines.join('\\n') + '\\n');\n","js",[18,293,294,302,323,387,461,507],{"__ignoreMap":90},[295,296,298],"span",{"class":239,"line":297},1,[295,299,301],{"class":300},"sJ8bj","\u002F\u002F scripts\u002Fbuild-redirects.mjs\n",[295,303,305,309,313,316,320],{"class":239,"line":304},2,[295,306,308],{"class":307},"szBVR","import",[295,310,312],{"class":311},"sVt8B"," { readFileSync, writeFileSync } ",[295,314,315],{"class":307},"from",[295,317,319],{"class":318},"sZZnC"," 'node:fs'",[295,321,322],{"class":311},";\n",[295,324,326,329,333,336,340,343,346,349,352,355,358,361,364,366,369,372,374,376,379,381,384],{"class":239,"line":325},3,[295,327,328],{"class":307},"const",[295,330,332],{"class":331},"sj4cs"," rows",[295,334,335],{"class":307}," =",[295,337,339],{"class":338},"sScJk"," readFileSync",[295,341,342],{"class":311},"(",[295,344,345],{"class":318},"'redirects.csv'",[295,347,348],{"class":311},", ",[295,350,351],{"class":318},"'utf8'",[295,353,354],{"class":311},").",[295,356,357],{"class":338},"trim",[295,359,360],{"class":311},"().",[295,362,363],{"class":338},"split",[295,365,342],{"class":311},[295,367,368],{"class":318},"'",[295,370,371],{"class":331},"\\n",[295,373,368],{"class":318},[295,375,354],{"class":311},[295,377,378],{"class":338},"slice",[295,380,342],{"class":311},[295,382,383],{"class":331},"1",[295,385,386],{"class":311},");\n",[295,388,390,392,395,397,400,403,406,410,413,416,419,421,423,426,429,431,434,436,438,441,444,446,449,451,454,456,459],{"class":239,"line":389},4,[295,391,328],{"class":307},[295,393,394],{"class":331}," lines",[295,396,335],{"class":307},[295,398,399],{"class":311}," rows.",[295,401,402],{"class":338},"map",[295,404,405],{"class":311},"((",[295,407,409],{"class":408},"s4XuR","r",[295,411,412],{"class":311},") ",[295,414,415],{"class":307},"=>",[295,417,418],{"class":311}," r.",[295,420,363],{"class":338},[295,422,342],{"class":311},[295,424,425],{"class":318},"','",[295,427,428],{"class":311},")).",[295,430,402],{"class":338},[295,432,433],{"class":311},"(([",[295,435,315],{"class":408},[295,437,348],{"class":311},[295,439,440],{"class":408},"to",[295,442,443],{"class":311},"]) ",[295,445,415],{"class":307},[295,447,448],{"class":318}," `${",[295,450,315],{"class":311},[295,452,453],{"class":318},"} ${",[295,455,440],{"class":311},[295,457,458],{"class":318},"} 301`",[295,460,386],{"class":311},[295,462,464,467,470,473,476,479,481,484,487,490,492,495,498,500,502,505],{"class":239,"line":463},5,[295,465,466],{"class":307},"if",[295,468,469],{"class":311}," (lines.",[295,471,472],{"class":331},"length",[295,474,475],{"class":307}," >",[295,477,478],{"class":331}," 2000",[295,480,412],{"class":311},[295,482,483],{"class":307},"throw",[295,485,486],{"class":307}," new",[295,488,489],{"class":338}," Error",[295,491,342],{"class":311},[295,493,494],{"class":318},"`${",[295,496,497],{"class":311},"lines",[295,499,45],{"class":318},[295,501,472],{"class":331},[295,503,504],{"class":318},"} static redirects exceeds the 2,000 limit`",[295,506,386],{"class":311},[295,508,510,513,515,518,521,524,526,528,530,532,534,537,540,542,544],{"class":239,"line":509},6,[295,511,512],{"class":338},"writeFileSync",[295,514,342],{"class":311},[295,516,517],{"class":318},"'dist\u002F_redirects'",[295,519,520],{"class":311},", lines.",[295,522,523],{"class":338},"join",[295,525,342],{"class":311},[295,527,368],{"class":318},[295,529,371],{"class":331},[295,531,368],{"class":318},[295,533,412],{"class":311},[295,535,536],{"class":307},"+",[295,538,539],{"class":318}," '",[295,541,371],{"class":331},[295,543,368],{"class":318},[295,545,386],{"class":311},[14,547,548,549,21,552,555],{},"Failing the build is better than silently dropping rules. If you are over the limit, look for patterns first: 3,000 exact-path redirects from ",[18,550,551],{},"\u002Fblog\u002F2019\u002F05\u002Fslug\u002F",[18,553,554],{},"\u002Farticles\u002Fslug\u002F"," often collapse into one dynamic rule.",[47,557,559],{"id":558},"trailing-slashes-and-case","Trailing Slashes and Case",[14,561,562,563,566,567,570,571,21,574,576,577,579,580,45],{},"Pages serves ",[18,564,565],{},"\u002Fpage\u002Findex.html"," at ",[18,568,569],{},"\u002Fpage\u002F"," and redirects ",[18,572,573],{},"\u002Fpage",[18,575,569],{}," by default, so source paths in ",[18,578,32],{}," should match the form readers actually request. For old URLs that may appear with and without the slash, add both, or normalise with a single dynamic rule. Paths are case-sensitive; if the old site was case-insensitive, lowercase URLs in the migration list and add a Worker or Redirect Rule for mixed-case variants. Trailing slash conventions across generators are covered in ",[41,581,583],{"href":582},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3\u002F","Clean URLs and Trailing Slashes on S3",[47,585,587],{"id":586},"testing-before-deploy","Testing Before Deploy",[14,589,590,591,593],{},"Run the site locally with Wrangler, which applies ",[18,592,32],{}," the same way production does:",[84,595,599],{"className":596,"code":597,"language":598,"meta":90,"style":90},"language-bash shiki shiki-themes github-light github-dark","npx wrangler pages dev dist\n","bash",[18,600,601],{"__ignoreMap":90},[295,602,603,606,609,612,615],{"class":239,"line":297},[295,604,605],{"class":338},"npx",[295,607,608],{"class":318}," wrangler",[295,610,611],{"class":318}," pages",[295,613,614],{"class":318}," dev",[295,616,617],{"class":318}," dist\n",[14,619,620,621,624],{},"Then check each redirect with ",[18,622,623],{},"curl",", looking for one hop to the right destination with the right status:",[84,626,628],{"className":596,"code":627,"language":598,"meta":90,"style":90},"while IFS=, read -r from to; do\n  loc=$(curl -s -o \u002Fdev\u002Fnull -w '%{http_code} %{redirect_url}' \"http:\u002F\u002Flocalhost:8788$from\")\n  echo \"$from -> $loc\"\ndone \u003C \u003C(tail -n +2 redirects.csv)\n",[18,629,630,662,701,720],{"__ignoreMap":90},[295,631,632,635,638,641,644,647,650,653,656,659],{"class":239,"line":297},[295,633,634],{"class":307},"while",[295,636,637],{"class":311}," IFS",[295,639,640],{"class":307},"=",[295,642,643],{"class":318},",",[295,645,646],{"class":331}," read",[295,648,649],{"class":331}," -r",[295,651,652],{"class":318}," from",[295,654,655],{"class":318}," to",[295,657,658],{"class":311},"; ",[295,660,661],{"class":307},"do\n",[295,663,664,667,669,672,674,677,680,683,686,689,692,695,698],{"class":239,"line":304},[295,665,666],{"class":311},"  loc",[295,668,640],{"class":307},[295,670,671],{"class":311},"$(",[295,673,623],{"class":338},[295,675,676],{"class":331}," -s",[295,678,679],{"class":331}," -o",[295,681,682],{"class":318}," \u002Fdev\u002Fnull",[295,684,685],{"class":331}," -w",[295,687,688],{"class":318}," '%{http_code} %{redirect_url}'",[295,690,691],{"class":318}," \"http:\u002F\u002Flocalhost:8788",[295,693,694],{"class":311},"$from",[295,696,697],{"class":318},"\"",[295,699,700],{"class":311},")\n",[295,702,703,706,709,711,714,717],{"class":239,"line":325},[295,704,705],{"class":331},"  echo",[295,707,708],{"class":318}," \"",[295,710,694],{"class":311},[295,712,713],{"class":318}," -> ",[295,715,716],{"class":311},"$loc",[295,718,719],{"class":318},"\"\n",[295,721,722,725,728,731,734,737],{"class":239,"line":389},[295,723,724],{"class":307},"done",[295,726,727],{"class":307}," \u003C",[295,729,730],{"class":318}," \u003C(",[295,732,733],{"class":338},"tail",[295,735,736],{"class":331}," -n",[295,738,739],{"class":318}," +2 redirects.csv)\n",[14,741,742],{},"Run the same loop against the preview deployment URL that Pages creates for each branch, so the check runs on real infrastructure before the change reaches production. Watch for chains — a redirect to a URL that itself redirects. Each hop costs a round trip, which shows up directly in LCP for readers arriving from old links. Rewrite the source so it points to the final destination.",[97,744,745,841],{},[100,746,108,751,108,754,108,757,108,759,108,766],{"viewBox":747,"role":103,"ariaLabelledBy":748,"xmlns":107},"0 0 760 230",[749,750],"cpr-chain-title","cpr-chain-desc",[110,752,753],{"id":749},"A redirect chain compared with a single hop",[114,755,756],{"id":750},"A chained old URL redirects to http-less, then adds a trailing slash, then goes to the new path, costing three round trips of about 120 milliseconds each on mobile. The flattened rule goes directly to the final URL in one hop.",[118,758],{"x":120,"y":120,"width":121,"height":180,"fill":123},[125,760,127,761,108],{},[129,762,764],{"id":763,"viewBox":132,"refX":133,"refY":134,"markerWidth":135,"markerHeight":135,"orient":136},"cpr-chain-arrow",[138,765],{"d":140,"fill":141},[143,767,127,768,127,771,127,778,127,782,127,786,127,789,127,793,127,796,127,800,127,804,127,808,127,813,127,817,127,821,127,824,127,827,127,830,127,832,127,834,127,837,108],{"style":145},[89,769,770],{"x":148,"y":149,"fill":150,"style":151},"Flatten chains to one hop",[89,772,777],{"x":773,"y":774,"fill":775,"style":776},"30","64","#b32b30","font-weight:700","Chained: 3 hops, ≈ 360 ms",[118,779],{"x":773,"y":780,"width":241,"height":773,"rx":218,"fill":781,"style":160,"stroke":781},"76","#d83b41",[89,783,785],{"x":253,"y":784,"fill":150,"style":165},"96","\u002Fblog\u002Fpost",[118,787],{"x":788,"y":780,"width":241,"height":773,"rx":218,"fill":781,"style":160,"stroke":781},"210",[89,790,792],{"x":791,"y":784,"fill":150,"style":165},"280","\u002Fblog\u002Fpost\u002F",[118,794],{"x":795,"y":780,"width":241,"height":773,"rx":218,"fill":781,"style":160,"stroke":781},"390",[89,797,799],{"x":798,"y":784,"fill":150,"style":165},"460","\u002Farticles\u002Fpost",[118,801],{"x":802,"y":780,"width":803,"height":773,"rx":218,"fill":205,"style":177,"stroke":205},"570","160",[89,805,807],{"x":806,"y":784,"fill":150,"style":165},"650","\u002Farticles\u002Fpost\u002F",[239,809],{"x1":204,"y1":810,"x2":811,"y2":810,"stroke":141,"style":812},"91","206","stroke-width:1.5px;marker-end:url(#cpr-chain-arrow)",[239,814],{"x1":815,"y1":810,"x2":816,"y2":810,"stroke":141,"style":812},"350","386",[239,818],{"x1":819,"y1":810,"x2":820,"y2":810,"stroke":141,"style":812},"530","566",[89,822,823],{"x":773,"y":229,"fill":205,"style":776},"Flattened: 1 hop, ≈ 120 ms",[118,825],{"x":773,"y":826,"width":241,"height":773,"rx":218,"fill":781,"style":160,"stroke":781},"162",[89,828,785],{"x":253,"y":829,"fill":150,"style":165},"182",[118,831],{"x":802,"y":826,"width":803,"height":773,"rx":218,"fill":205,"style":177,"stroke":205},[89,833,807],{"x":806,"y":829,"fill":150,"style":165},[239,835],{"x1":204,"y1":836,"x2":820,"y2":836,"stroke":141,"style":812},"177",[89,838,840],{"x":148,"y":839,"fill":141,"style":170},"220","round-trip estimate for a mobile connection with a warm TLS session",[259,842,843],{},"Every hop is a full round trip before the reader's page even starts loading.",[47,845,847],{"id":846},"when-to-use-something-else","When to Use Something Else",[52,849,850,855,868],{},[55,851,852,854],{},[273,853,183],{}," for more than 2,000 exact-path rules, redirects shared across projects or domains, or redirects changed by non-developers without a deploy. They are configured in the dashboard or API as lists and run before the request reaches Pages.",[55,856,857,859,860,862,863,21,865,867],{},[273,858,195],{}," (single redirects) for pattern-based rules across a whole zone, such as apex to ",[18,861,28],{}," or ",[18,864,20],{},[18,866,24],{},", using Cloudflare's expression language.",[55,869,870,873,874,21,877,880],{},[273,871,872],{},"A Worker or Pages Function"," for logic that depends on headers, cookies or geography — for example, redirecting ",[18,875,876],{},"\u002F",[18,878,879],{},"\u002Fde\u002F"," for German-speaking readers. Keep this rare: code on every request costs more than a list lookup.",[97,882,883,974],{},[100,884,108,889,108,892,108,895,108,898],{"viewBox":885,"role":103,"ariaLabelledBy":886,"xmlns":107},"0 0 760 250",[887,888],"cpr-pick-title","cpr-pick-desc",[110,890,891],{"id":887},"Choosing a redirect mechanism by need",[114,893,894],{"id":888},"A table of four mechanisms. _redirects: up to 2,100 rules, versioned with the site, changes need a deploy. Bulk Redirects: millions of rules, account-wide, no deploy. Redirect Rules: pattern expressions per zone. Worker: any logic, runs code on every request.",[118,896],{"x":120,"y":120,"width":121,"height":897,"fill":123},"250",[143,899,127,900,127,903,127,907,127,910,127,914,127,918,127,922,127,925,127,928,127,931,127,934,127,937,127,940,127,943,127,946,127,949,127,952,127,954,127,957,127,962,127,965,127,967,127,970,108],{"style":145},[89,901,902],{"x":148,"y":149,"fill":150,"style":151},"Pick the lightest mechanism that fits",[89,904,906],{"x":905,"y":156,"fill":150,"style":776},"40","mechanism",[89,908,909],{"x":180,"y":156,"fill":150,"style":776},"capacity",[89,911,913],{"x":912,"y":156,"fill":150,"style":776},"400","change without deploy",[89,915,917],{"x":916,"y":156,"fill":150,"style":776},"600","best for",[239,919],{"x1":773,"y1":158,"x2":920,"y2":158,"stroke":141,"style":921},"730","stroke-width:1px",[89,923,32],{"x":905,"y":924,"fill":205,"style":776},"98",[89,926,927],{"x":180,"y":924,"fill":150},"2,000 + 100",[89,929,930],{"x":912,"y":924,"fill":775},"no",[89,932,933],{"x":916,"y":924,"fill":150},"per-site moves",[89,935,183],{"x":905,"y":936,"fill":176,"style":776},"136",[89,938,939],{"x":180,"y":936,"fill":150},"millions",[89,941,942],{"x":912,"y":936,"fill":205},"yes",[89,944,945],{"x":916,"y":936,"fill":150},"big migrations",[89,947,195],{"x":905,"y":948,"fill":191,"style":776},"174",[89,950,951],{"x":180,"y":948,"fill":150},"expressions",[89,953,942],{"x":912,"y":948,"fill":205},[89,955,956],{"x":916,"y":948,"fill":150},"host, scheme",[89,958,961],{"x":905,"y":959,"fill":960,"style":776},"212","#8a6d0f","Worker",[89,963,964],{"x":180,"y":959,"fill":150},"any logic",[89,966,930],{"x":912,"y":959,"fill":775},[89,968,969],{"x":916,"y":959,"fill":150},"geo, cookies",[89,971,973],{"x":148,"y":972,"fill":141,"style":170},"242","list lookups are cheaper than code; reach for a Worker only when a list cannot express the rule",[259,975,976],{},"Most sites need only _redirects plus one or two zone-level Redirect Rules.",[47,978,980],{"id":979},"redirects-and-caching","Redirects and Caching",[14,982,983],{},"Permanent redirects are cached by browsers, sometimes for a long time and without a way for you to clear them. That is what makes 301s fast for returning readers, and also what makes a wrong 301 painful: a reader who followed it once may keep being sent to the wrong place until their cache expires. During a migration, deploy new rules as 302 for a day or two, check analytics and Search Console for surprises, then switch to 301.",[14,985,986,987,989],{},"At the edge, Cloudflare serves ",[18,988,32],{}," responses directly without touching the origin, so redirects add no load. They also do not appear in the cache analytics as hits or misses, which can make a redirect-heavy migration look like a traffic drop in dashboards that only count cached responses. Check the redirect counts in the Pages analytics or with a Logpush dataset if numbers look off.",[47,991,993],{"id":992},"measured-impact","Measured Impact",[14,995,996,997,999],{},"A documentation site migrating from a self-hosted wiki to Astro on Cloudflare Pages had 6,400 old URLs. The first deploy put all of them in ",[18,998,32],{}," and 4,400 silently did nothing. Collapsing date-based blog paths into four dynamic rules brought the exact-path list to 1,850, which fit; the remaining legacy wiki paths moved to a Bulk Redirect list. Search Console's \"Not found (404)\" count for the domain dropped from 5,100 to under 100 within three weeks, and organic landings on migrated pages recovered to pre-migration levels within two months.",[47,1001,1003],{"id":1002},"pitfalls-rollback","Pitfalls & Rollback",[52,1005,1006,1012,1018,1024,1033],{},[55,1007,1008,1011],{},[273,1009,1010],{},"Rules after the limit."," Silently ignored; count them in the build.",[55,1013,1014,1017],{},[273,1015,1016],{},"Order."," A broad splat above specific rules captures everything; put specific rules first.",[55,1019,1020,1023],{},[273,1021,1022],{},"Query strings."," Source paths do not match query strings; the query is passed through to the destination unless the destination defines its own.",[55,1025,1026,1029,1030,45],{},[273,1027,1028],{},"Redirect loops."," A rule whose destination matches its own source loops until the browser gives up; test with ",[18,1031,1032],{},"curl -L --max-redirs 5",[55,1034,1035,1038,1039,1041],{},[273,1036,1037],{},"Rollback:"," redeploy the previous build; ",[18,1040,32],{}," is part of the deployment, so an instant rollback restores the old rules too.",[47,1043,1045],{"id":1044},"conclusion","Conclusion",[14,1047,1048,1049,1051],{},"For most static sites on Cloudflare Pages, a generated ",[18,1050,32],{}," file in the build output handles every redirect with no extra services: exact paths, splats and placeholders, applied at the edge before any file. Generate it from a mapping, fail the build if it exceeds the limits, test for single hops locally with Wrangler, and move anything larger or cross-project to Bulk Redirects.",[47,1053,1055],{"id":1054},"faq","FAQ",[1057,1058,1060],"h3",{"id":1059},"how-many-redirects-can-a-cloudflare-pages-_redirects-file-hold","How many redirects can a Cloudflare Pages _redirects file hold?",[14,1062,1063],{},"Up to 2,000 static redirects and 100 dynamic redirects, for a combined total of 2,100 rules, with each line limited to 1,000 characters. Rules beyond the limit are ignored, so large migrations should use Bulk Redirects instead.",[1057,1065,1067],{"id":1066},"what-is-the-difference-between-static-and-dynamic-redirects-on-pages","What is the difference between static and dynamic redirects on Pages?",[14,1069,1070,1071,1074],{},"A static redirect matches one exact path. A dynamic redirect uses a splat (asterisk) or a named placeholder such as ",[1072,1073],"slug",{}," to match many paths. Dynamic rules are more expensive to evaluate and have a much lower limit.",[1057,1076,1078],{"id":1077},"does-a-_redirects-rule-apply-before-or-after-static-files","Does a _redirects rule apply before or after static files?",[14,1080,1081],{},"Redirects in _redirects are applied before static assets are served, so a rule can redirect a path even when a file exists there. Rewrites with a 200 status also work for proxying to other paths on the same project.",[1057,1083,1085],{"id":1084},"when-should-i-use-bulk-redirects-instead-of-_redirects","When should I use Bulk Redirects instead of _redirects?",[14,1087,1088],{},"When you have more than about 2,000 exact-path redirects, need redirects shared across several projects or domains, or want to change redirects without redeploying. Bulk Redirects are configured at the account level and support millions of entries.",[47,1090,1092],{"id":1091},"related","Related",[52,1094,1095,1104,1111,1118,1125],{},[55,1096,1097,1100,1101,1103],{},[273,1098,1099],{},"Parent:"," ",[41,1102,44],{"href":43}," — the full Cloudflare setup.",[55,1105,1106,1110],{},[41,1107,1109],{"href":1108},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets\u002F","Migrating from Cloudflare Pages to Workers Static Assets"," — the same file on Workers.",[55,1112,1113,1117],{},[41,1114,1116],{"href":1115},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites\u002F","Netlify Redirects and Rewrites for Static Sites"," — the Netlify equivalent.",[55,1119,1120,1124],{},[41,1121,1123],{"href":1122},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects\u002F","CloudFront Functions for Redirects"," — redirects on AWS.",[55,1126,1127,1131],{},[41,1128,1130],{"href":1129},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-wordpress-to-a-static-site-generator\u002F","Migrating WordPress to a Static Site Generator"," — where large redirect lists come from.",[1133,1134,1135],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":90,"searchDepth":304,"depth":304,"links":1137},[1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1154],{"id":49,"depth":304,"text":50},{"id":75,"depth":304,"text":76},{"id":264,"depth":304,"text":265},{"id":558,"depth":304,"text":559},{"id":586,"depth":304,"text":587},{"id":846,"depth":304,"text":847},{"id":979,"depth":304,"text":980},{"id":992,"depth":304,"text":993},{"id":1002,"depth":304,"text":1003},{"id":1044,"depth":304,"text":1045},{"id":1054,"depth":304,"text":1055,"children":1149},[1150,1151,1152,1153],{"id":1059,"depth":325,"text":1060},{"id":1066,"depth":325,"text":1067},{"id":1077,"depth":325,"text":1078},{"id":1084,"depth":325,"text":1085},{"id":1091,"depth":304,"text":1092},[1156,1158,1161,1162],{"name":1157,"item":876},"Home",{"name":1159,"item":1160},"Production-Ready Deployment & CI\u002FCD Workflows","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":44,"item":43},{"name":5,"item":1163},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages\u002F","2026-09-18","Write a _redirects file for Cloudflare Pages, know its limits, and move large or dynamic rule sets to Bulk Redirects or a Worker without slowing requests.","md",[1168,1169,1171,1172],{"q":1060,"a":1063},{"q":1067,"a":1170},"A static redirect matches one exact path. A dynamic redirect uses a splat (asterisk) or a named placeholder such as :slug to match many paths. Dynamic rules are more expensive to evaluate and have a much lower limit.",{"q":1078,"a":1081},{"q":1085,"a":1088},{},true,"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages",{"title":5,"description":1165},"production-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages\u002Findex","article","3hOqMNQ72Fs9dhkL8RsXg-3BepoIDcgEordKTe4UM48",[1181,1184,1187,1190,1193,1196,1199,1202,1205,1208,1211,1214,1217,1220,1223,1226,1229,1232,1235,1238,1241,1244,1247,1250,1253,1256,1259,1262,1265,1268,1271,1274,1277,1279,1282,1285,1288,1291,1294,1297,1300,1303,1306,1309,1312,1315,1318,1321,1324,1327,1330,1333,1336,1339,1342,1345,1348,1351,1354,1357,1360,1363,1366,1369,1372,1375,1378,1381,1384,1387,1390,1393,1396,1399,1402,1405,1408,1411,1414,1417,1420,1423,1426,1429,1432,1435,1438,1441,1444,1447,1450,1453,1456,1459,1462,1465,1468,1471,1474,1477,1480,1483,1486,1489,1492,1495,1498,1501,1504,1507,1510,1513,1516,1519,1520,1523,1526,1528,1530,1533,1536,1539,1542,1545,1548,1551,1554,1557,1560,1563,1566,1569,1572,1575,1578,1581,1584,1587,1590,1593,1596,1599,1602,1605,1608,1611,1614,1617,1620,1622,1625,1628,1631,1634,1637,1640,1643,1646,1649,1652,1655,1658,1661,1664,1667,1670,1673,1676,1679,1682,1685,1687,1689,1692,1695,1698,1701,1704,1707,1710,1713,1716,1719],{"path":1182,"title":1183},"\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":1185,"title":1186},"\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":1188,"title":1189},"\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":1191,"title":1192},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1194,"title":1195},"\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":1197,"title":1198},"\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":1200,"title":1201},"\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":1203,"title":1204},"\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":1206,"title":1207},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1209,"title":1210},"\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":1212,"title":1213},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1215,"title":1216},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1218,"title":1219},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1221,"title":1222},"\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":1224,"title":1225},"\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":1227,"title":1228},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1230,"title":1231},"\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":1233,"title":1234},"\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":1236,"title":1237},"\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":1239,"title":1240},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1242,"title":1243},"\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":1245,"title":1246},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1248,"title":1249},"\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":1251,"title":1252},"\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":1254,"title":1255},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1257,"title":1258},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1260,"title":1261},"\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":1263,"title":1264},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1266,"title":1267},"\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":1269,"title":1270},"\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":1272,"title":1273},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1275,"title":1276},"\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":1278,"title":1130},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-wordpress-to-a-static-site-generator",{"path":1280,"title":1281},"\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":1283,"title":1284},"\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":1286,"title":1287},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1289,"title":1290},"\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":1292,"title":1293},"\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":1295,"title":1296},"\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":1298,"title":1299},"\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":1301,"title":1302},"\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":1304,"title":1305},"\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":1307,"title":1308},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1310,"title":1311},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1313,"title":1314},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1316,"title":1317},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1319,"title":1320},"\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":1322,"title":1323},"\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":1325,"title":1326},"\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":1328,"title":1329},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1331,"title":1332},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1334,"title":1335},"\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":1337,"title":1338},"\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":1340,"title":1341},"\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":1343,"title":1344},"\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":1346,"title":1347},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1349,"title":1350},"\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":1352,"title":1353},"\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":1355,"title":1356},"\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":1358,"title":1359},"\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":1361,"title":1362},"\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":1364,"title":1365},"\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":1367,"title":1368},"\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":1370,"title":1371},"\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":1373,"title":1374},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1376,"title":1377},"\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":1379,"title":1380},"\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":1382,"title":1383},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1385,"title":1386},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1388,"title":1389},"\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":1391,"title":1392},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1394,"title":1395},"\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":1397,"title":1398},"\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":1400,"title":1401},"\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":1403,"title":1404},"\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":1406,"title":1407},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1409,"title":1410},"\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":1412,"title":1413},"\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":1415,"title":1416},"\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":1418,"title":1419},"\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":1421,"title":1422},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1424,"title":1425},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1427,"title":1428},"\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":1430,"title":1431},"\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":1433,"title":1434},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1436,"title":1437},"\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":1439,"title":1440},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1442,"title":1443},"\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":1445,"title":1446},"\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":1448,"title":1449},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1451,"title":1452},"\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":1454,"title":1455},"\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":1457,"title":1458},"\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":1460,"title":1461},"\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":1463,"title":1464},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1466,"title":1467},"\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":1469,"title":1470},"\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":1472,"title":1473},"\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":1475,"title":1476},"\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":1478,"title":1479},"\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":1481,"title":1482},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1484,"title":1485},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1487,"title":1488},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1490,"title":1491},"\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":1493,"title":1494},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1496,"title":1497},"\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":1499,"title":1500},"\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":1502,"title":1503},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1505,"title":1506},"\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":1508,"title":1509},"\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":1511,"title":1512},"\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":1514,"title":1515},"\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":1517,"title":1518},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1175,"title":5},{"path":1521,"title":1522},"\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":1524,"title":1525},"\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":1527,"title":44},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup",{"path":1529,"title":1109},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets",{"path":1531,"title":1532},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1534,"title":1535},"\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":1537,"title":1538},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1540,"title":1541},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1543,"title":1544},"\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":1546,"title":1547},"\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":1549,"title":1550},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1552,"title":1553},"\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":1555,"title":1556},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1558,"title":1559},"\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":1561,"title":1562},"\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":1564,"title":1565},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1567,"title":1568},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1570,"title":1571},"\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":1573,"title":1574},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1576,"title":1577},"\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":1579,"title":1580},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":1582,"title":1583},"\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":1585,"title":1586},"\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":1588,"title":1589},"\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":1591,"title":1592},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1594,"title":1595},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1597,"title":1598},"\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":1600,"title":1601},"\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":1603,"title":1604},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1606,"title":1607},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1609,"title":1610},"\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":1612,"title":1613},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1615,"title":1616},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1618,"title":1619},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1621,"title":1116},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites",{"path":1623,"title":1624},"\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":1626,"title":1627},"\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":1629,"title":1630},"\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":1632,"title":1633},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1635,"title":1636},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1638,"title":1639},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1641,"title":1642},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1644,"title":1645},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1647,"title":1648},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1650,"title":1651},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1653,"title":1654},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1656,"title":1657},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1659,"title":1660},"\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":1662,"title":1663},"\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":1665,"title":1666},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1668,"title":1669},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1671,"title":1672},"\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":1674,"title":1675},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1677,"title":1678},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1680,"title":1681},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1683,"title":1684},"\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":1686,"title":583},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3",{"path":1688,"title":1123},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects",{"path":1690,"title":1691},"\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":1693,"title":1694},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1696,"title":1697},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1699,"title":1700},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1702,"title":1703},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1705,"title":1706},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers","Adding a Contact Form with Cloudflare Workers",{"path":1708,"title":1709},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site","Handling Form Submissions on a Static Site",{"path":1711,"title":1712},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1714,"title":1715},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1717,"title":1718},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1720,"title":1721},"\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",1789722847254]