[{"data":1,"prerenderedAt":1653},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops":3,"all-docs-nav":1112},{"id":4,"title":5,"body":6,"breadcrumb":1087,"dateModified":1097,"datePublished":1097,"description":1098,"extension":1099,"faq":1100,"meta":1105,"navigation":1106,"path":1107,"seo":1108,"slug":12,"stem":1109,"type":1110,"__hash__":1111},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops\u002Findex.md","Alerting on Cache Hit Ratio Drops",{"type":7,"value":8,"toc":1069},"minimark",[9,13,17,26,31,53,57,60,151,154,224,244,393,397,400,586,589,670,673,677,680,707,717,734,744,828,832,854,858,861,865,937,940,944,979,983,992,996,1001,1004,1008,1011,1015,1018,1022,1025,1029,1065],[10,11,5],"h1",{"id":12},"alerting-on-cache-hit-ratio-drops",[14,15,16],"p",{},"A static site's speed and cost both depend on one number most teams never watch: the fraction of requests the CDN answers from its cache. At 97% hits, readers get edge-local responses in tens of milliseconds and the origin — whether an object store or a VM — handles a trickle. At 60%, readers far from the origin wait hundreds of milliseconds more, the origin sees ten times the requests, and on metered storage the egress bill climbs. The site keeps working throughout, so uptime checks stay green and nobody notices until the invoice or a support ticket arrives.",[14,18,19,20,25],{},"This guide measures hit ratio by path prefix from CDN analytics, alerts on sharp drops compared with the same hour last week, and walks through the four causes behind almost every drop. It is part of ",[21,22,24],"a",{"href":23},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002F","Monitoring Static Sites in Production",".",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,43,46],"ul",{},[35,36,37,38,42],"li",{},"Access to the CDN's analytics API or logs with cache status per request (Cloudflare GraphQL Analytics, CloudFront logs with ",[39,40,41],"code",{},"x-edge-result-type",", Fastly real-time stats).",[35,44,45],{},"A scheduler that can run a query every fifteen minutes — a scheduled GitHub Actions workflow or a Cloudflare Worker cron trigger.",[35,47,48,49,25],{},"The cache policy you intend to have, written down, from ",[21,50,52],{"href":51},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002F","CDN Caching Rules for SSGs",[27,54,56],{"id":55},"step-1-measure-by-prefix","Step 1: Measure by Prefix",[14,58,59],{},"A site-wide hit ratio blends hashed assets (which should almost always hit) with HTML (which revalidates often). A drop in one can be masked by the other. Group by the prefixes that have different policies:",[61,62,63,79],"table",{},[64,65,66],"thead",{},[67,68,69,73,76],"tr",{},[70,71,72],"th",{},"Prefix",[70,74,75],{},"Expected policy",[70,77,78],{},"Healthy hit ratio (requests)",[80,81,82,103,120,137],"tbody",{},[67,83,84,95,100],{},[85,86,87,90,91,94],"td",{},[39,88,89],{},"\u002F_astro\u002F",", ",[39,92,93],{},"\u002Fassets\u002F"," (hashed)",[85,96,97],{},[39,98,99],{},"max-age=31536000, immutable",[85,101,102],{},"> 98%",[67,104,105,111,117],{},[85,106,107,110],{},[39,108,109],{},"\u002Fpagefind\u002F"," fragments",[85,112,113,116],{},[39,114,115],{},"immutable"," except entry file",[85,118,119],{},"> 95%",[67,121,122,125,134],{},[85,123,124],{},"HTML (everything else)",[85,126,127,130,131],{},[39,128,129],{},"max-age=0",", or short + ",[39,132,133],{},"stale-while-revalidate",[85,135,136],{},"80–95%",[67,138,139,145,148],{},[85,140,141,144],{},[39,142,143],{},"\u002Fapi\u002F"," (functions)",[85,146,147],{},"not cached",[85,149,150],{},"n\u002Fa — exclude",[14,152,153],{},"On Cloudflare, the GraphQL Analytics API returns request and byte counts by cache status; a Worker cron trigger queries it every fifteen minutes:",[155,156,161],"pre",{"className":157,"code":158,"language":159,"meta":160,"style":160},"language-js shiki shiki-themes github-light github-dark","const q = `query($zone: String!, $since: Time!, $until: Time!) {\n  viewer { zones(filter: {zoneTag: $zone}) {\n    httpRequestsAdaptiveGroups(limit: 1000, filter: {datetime_geq: $since, datetime_lt: $until}) {\n      count sum { edgeResponseBytes }\n      dimensions { cacheStatus clientRequestPath }\n    } } } }`;\n\u002F\u002F group results by prefix: hit = cacheStatus in ('hit','stale','revalidated','updating')\n","js","",[39,162,163,183,189,195,201,207,217],{"__ignoreMap":160},[164,165,168,172,176,179],"span",{"class":166,"line":167},"line",1,[164,169,171],{"class":170},"szBVR","const",[164,173,175],{"class":174},"sj4cs"," q",[164,177,178],{"class":170}," =",[164,180,182],{"class":181},"sZZnC"," `query($zone: String!, $since: Time!, $until: Time!) {\n",[164,184,186],{"class":166,"line":185},2,[164,187,188],{"class":181},"  viewer { zones(filter: {zoneTag: $zone}) {\n",[164,190,192],{"class":166,"line":191},3,[164,193,194],{"class":181},"    httpRequestsAdaptiveGroups(limit: 1000, filter: {datetime_geq: $since, datetime_lt: $until}) {\n",[164,196,198],{"class":166,"line":197},4,[164,199,200],{"class":181},"      count sum { edgeResponseBytes }\n",[164,202,204],{"class":166,"line":203},5,[164,205,206],{"class":181},"      dimensions { cacheStatus clientRequestPath }\n",[164,208,210,213],{"class":166,"line":209},6,[164,211,212],{"class":181},"    } } } }`",[164,214,216],{"class":215},"sVt8B",";\n",[164,218,220],{"class":166,"line":219},7,[164,221,223],{"class":222},"sJ8bj","\u002F\u002F group results by prefix: hit = cacheStatus in ('hit','stale','revalidated','updating')\n",[14,225,226,227,230,231,90,234,90,237,240,241,25],{},"On CloudFront, the equivalent is an Athena query over standard logs grouping by ",[39,228,229],{},"x_edge_result_type"," (",[39,232,233],{},"Hit",[39,235,236],{},"RefreshHit",[39,238,239],{},"Miss",") and a prefix expression on ",[39,242,243],{},"cs_uri_stem",[245,246,247,389],"figure",{},[248,249,256,257,256,261,256,265,256,272],"svg",{"viewBox":250,"role":251,"ariaLabelledBy":252,"xmlns":255},"0 0 760 270","img",[253,254],"chr-prefix-title","chr-prefix-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[258,259,260],"title",{"id":253},"Why a site-wide ratio hides problems",[262,263,264],"desc",{"id":254},"Three prefixes on a normal day: hashed assets at 99 percent hits, HTML at 91 percent, search fragments at 97 percent, averaging 97 percent overall. On the incident day, HTML dropped to 52 percent while assets stayed at 99 percent, and the site-wide average fell only to 88 percent because assets dominate request volume.",[266,267],"rect",{"x":268,"y":268,"width":269,"height":270,"fill":271},"0","760","270","#ffffff",[273,274,276,277,276,285,276,291,276,295,276,300,276,311,276,317,276,320,276,323,276,327,276,331,276,336,276,342,276,348,276,352,276,356,276,361,276,363,276,366,276,372,276,377,276,379,276,383,256],"g",{"style":275},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[278,279,284],"text",{"x":280,"y":281,"fill":282,"style":283},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Hit ratio by prefix, normal day vs incident day",[278,286,290],{"x":287,"y":288,"fill":282,"style":289},"190","60","font-weight:700;text-anchor:middle","normal day",[278,292,294],{"x":293,"y":288,"fill":282,"style":289},"570","incident day",[278,296,299],{"x":297,"y":298,"fill":282},"30","96","assets",[266,301],{"x":302,"y":303,"width":304,"height":305,"rx":306,"fill":307,"opacity":308,"stroke":309,"style":310},"110","82","198","20","3","#8ac926","0.35","#5a8a16","stroke-width:1px",[278,312,316],{"x":313,"y":314,"fill":282,"style":315},"316","97","font-size:11px","99%",[266,318],{"x":319,"y":303,"width":304,"height":305,"rx":306,"fill":307,"opacity":308,"stroke":309,"style":310},"490",[278,321,316],{"x":322,"y":314,"fill":282,"style":315},"696",[278,324,326],{"x":297,"y":325,"fill":282},"136","HTML",[266,328],{"x":302,"y":329,"width":330,"height":305,"rx":306,"fill":307,"opacity":308,"stroke":309,"style":310},"122","182",[278,332,335],{"x":333,"y":334,"fill":282,"style":315},"300","137","91%",[266,337],{"x":319,"y":329,"width":338,"height":305,"rx":306,"fill":339,"opacity":340,"stroke":341,"style":310},"104","#ff595e","0.3","#d83b41",[278,343,347],{"x":344,"y":334,"fill":345,"style":346},"602","#b32b30","font-size:11px;font-weight:700","52%",[278,349,351],{"x":297,"y":350,"fill":282},"176","search",[266,353],{"x":302,"y":354,"width":355,"height":305,"rx":306,"fill":307,"opacity":308,"stroke":309,"style":310},"162","194",[278,357,360],{"x":358,"y":359,"fill":282,"style":315},"312","177","97%",[266,362],{"x":319,"y":354,"width":355,"height":305,"rx":306,"fill":307,"opacity":308,"stroke":309,"style":310},[278,364,360],{"x":365,"y":359,"fill":282,"style":315},"692",[166,367],{"x1":305,"y1":368,"x2":369,"y2":368,"stroke":370,"style":371},"200","740","#d9e2ef","stroke-width:1.5px",[278,373,376],{"x":297,"y":374,"fill":282,"style":375},"226","font-weight:700","site-wide",[278,378,360],{"x":287,"y":374,"fill":282,"style":289},[278,380,382],{"x":293,"y":374,"fill":381,"style":289},"#8a6d0f","88% — looks tolerable",[278,384,388],{"x":280,"y":385,"fill":386,"style":387},"256","#556071","font-size:11px;text-anchor:middle","Assets are ~70% of requests, so a collapse on HTML moves the blended number only modestly",[390,391,392],"figcaption",{},"Per-prefix ratios turn \"a bit lower today\" into \"HTML caching is broken\", which is the level of detail needed to fix it.",[27,394,396],{"id":395},"step-2-alert-on-change-against-last-week","Step 2: Alert on Change Against Last Week",[14,398,399],{},"Hit ratio has daily and weekly rhythm — lower overnight when traffic is thin and more requests find cold edges, higher at peak. Compare each fifteen-minute bucket with the same bucket seven days earlier, and alert when a prefix with meaningful traffic falls sharply:",[155,401,403],{"className":157,"code":402,"language":159,"meta":160,"style":160},"const drop = (now, lastWeek) => lastWeek - now;\nfor (const p of prefixes) {\n  if (p.requests \u003C 2000) continue;                    \u002F\u002F too little traffic to judge\n  const d = drop(p.hitRatio, p.hitRatioLastWeek);\n  if (d > 0.15 && p.hitRatio \u003C 0.85) alert(`${p.prefix}: ${pct(p.hitRatio)} vs ${pct(p.hitRatioLastWeek)} last week`);\n}\n",[39,404,405,441,459,484,499,581],{"__ignoreMap":160},[164,406,407,409,413,415,417,421,423,426,429,432,435,438],{"class":166,"line":167},[164,408,171],{"class":170},[164,410,412],{"class":411},"sScJk"," drop",[164,414,178],{"class":170},[164,416,230],{"class":215},[164,418,420],{"class":419},"s4XuR","now",[164,422,90],{"class":215},[164,424,425],{"class":419},"lastWeek",[164,427,428],{"class":215},") ",[164,430,431],{"class":170},"=>",[164,433,434],{"class":215}," lastWeek ",[164,436,437],{"class":170},"-",[164,439,440],{"class":215}," now;\n",[164,442,443,446,448,450,453,456],{"class":166,"line":185},[164,444,445],{"class":170},"for",[164,447,230],{"class":215},[164,449,171],{"class":170},[164,451,452],{"class":174}," p",[164,454,455],{"class":170}," of",[164,457,458],{"class":215}," prefixes) {\n",[164,460,461,464,467,470,473,475,478,481],{"class":166,"line":191},[164,462,463],{"class":170},"  if",[164,465,466],{"class":215}," (p.requests ",[164,468,469],{"class":170},"\u003C",[164,471,472],{"class":174}," 2000",[164,474,428],{"class":215},[164,476,477],{"class":170},"continue",[164,479,480],{"class":215},";                    ",[164,482,483],{"class":222},"\u002F\u002F too little traffic to judge\n",[164,485,486,489,492,494,496],{"class":166,"line":197},[164,487,488],{"class":170},"  const",[164,490,491],{"class":174}," d",[164,493,178],{"class":170},[164,495,412],{"class":411},[164,497,498],{"class":215},"(p.hitRatio, p.hitRatioLastWeek);\n",[164,500,501,503,506,509,512,515,518,520,523,525,528,531,534,536,538,541,544,547,549,551,553,556,559,562,564,566,568,570,573,575,578],{"class":166,"line":203},[164,502,463],{"class":170},[164,504,505],{"class":215}," (d ",[164,507,508],{"class":170},">",[164,510,511],{"class":174}," 0.15",[164,513,514],{"class":170}," &&",[164,516,517],{"class":215}," p.hitRatio ",[164,519,469],{"class":170},[164,521,522],{"class":174}," 0.85",[164,524,428],{"class":215},[164,526,527],{"class":411},"alert",[164,529,530],{"class":215},"(",[164,532,533],{"class":181},"`${",[164,535,14],{"class":215},[164,537,25],{"class":181},[164,539,540],{"class":215},"prefix",[164,542,543],{"class":181},"}: ${",[164,545,546],{"class":411},"pct",[164,548,530],{"class":181},[164,550,14],{"class":215},[164,552,25],{"class":181},[164,554,555],{"class":215},"hitRatio",[164,557,558],{"class":181},")",[164,560,561],{"class":181},"} vs ${",[164,563,546],{"class":411},[164,565,530],{"class":181},[164,567,14],{"class":215},[164,569,25],{"class":181},[164,571,572],{"class":215},"hitRatioLastWeek",[164,574,558],{"class":181},[164,576,577],{"class":181},"} last week`",[164,579,580],{"class":215},");\n",[164,582,583],{"class":166,"line":209},[164,584,585],{"class":215},"}\n",[14,587,588],{},"Require the condition in two consecutive buckets to ignore the dip right after a deploy's purge, which on this site lasted about twenty minutes before the edges refilled.",[245,590,591,667],{},[248,592,256,597,256,600,256,603,256,606],{"viewBox":593,"role":251,"ariaLabelledBy":594,"xmlns":255},"0 0 760 250",[595,596],"chr-wow-title","chr-wow-desc",[258,598,599],{"id":595},"Week-over-week comparison ignores normal rhythm",[262,601,602],{"id":596},"Two lines over one day of HTML hit ratio: last week and today. Both dip overnight to about 80 percent and rise to about 93 percent at peak. A fixed 85 percent threshold would fire every night. Today's line falls to 52 percent in the afternoon while last week stays at 92, and only that gap triggers the alert.",[266,604],{"x":268,"y":268,"width":269,"height":605,"fill":271},"250",[273,607,276,608,276,611,276,616,276,619,276,625,276,629,276,632,276,637,276,644,276,649,276,655,276,659,276,663,256],{"style":275},[278,609,610],{"x":280,"y":281,"fill":282,"style":283},"HTML hit ratio: today vs same day last week",[166,612],{"x1":613,"y1":614,"x2":615,"y2":614,"stroke":386,"style":371},"70","210","720",[166,617],{"x1":613,"y1":618,"x2":613,"y2":614,"stroke":386,"style":371},"50",[278,620,624],{"x":621,"y":622,"fill":386,"style":623},"62","214","font-size:11px;text-anchor:end","40%",[278,626,628],{"x":621,"y":627,"fill":386,"style":623},"54","100%",[166,630],{"x1":613,"y1":338,"x2":615,"y2":338,"stroke":370,"style":631},"stroke-width:1.5px;stroke-dasharray:5 4",[278,633,636],{"x":634,"y":635,"fill":386,"style":623},"716","98","fixed 85% line: fires nightly",[638,639],"polyline",{"points":640,"fill":641,"stroke":642,"style":643},"70,94 150,115 230,118 310,82 390,74 470,76 550,78 630,80 710,90","none","#1982c4","stroke-width:2px;stroke-dasharray:6 4",[638,645],{"points":646,"fill":641,"stroke":647,"style":648},"70,95 150,116 230,117 310,83 390,75 450,76 470,164 550,166 630,82 710,91","#6a4c93","stroke-width:2.5px",[278,650,654],{"x":651,"y":652,"fill":345,"style":653},"510","184","font-size:11px;font-weight:700;text-anchor:middle","52% vs 92% → alert",[278,656,658],{"x":657,"y":325,"fill":386,"style":387},"150","night dip: both weeks",[278,660,662],{"x":613,"y":661,"fill":386,"style":315},"228","00:00",[278,664,666],{"x":665,"y":661,"fill":386,"style":623},"710","24:00",[390,668,669],{},"The overnight dip is normal and shared by both weeks; the afternoon gap is the incident.",[14,671,672],{},"Route the alert to the team channel; escalate to a page only if a high-traffic prefix stays below 50% for thirty minutes, because at that point origin load becomes a reliability risk rather than a cost.",[27,674,676],{"id":675},"step-3-diagnose-the-four-usual-causes","Step 3: Diagnose the Four Usual Causes",[14,678,679],{},"Nearly every hit-ratio incident on the sites measured came from one of four configuration changes:",[14,681,682,690,691,694,695,698,699,702,703,706],{},[683,684,685,686,689],"strong",{},"A new ",[39,687,688],{},"Vary"," header."," ",[39,692,693],{},"Vary: Cookie"," or ",[39,696,697],{},"Vary: User-Agent"," makes the CDN store a separate copy per distinct value, so almost every request misses. It usually arrives with a new edge function, an A\u002FB testing tool, or a header rule copied from an application server. Check with ",[39,700,701],{},"curl -sI"," for ",[39,704,705],{},"vary"," on an affected URL.",[14,708,709,712,713,716],{},[683,710,711],{},"A cookie or query string in the cache key."," Marketing links with ",[39,714,715],{},"utm_*"," parameters, or a consent cookie read by an edge function, fragment the cache when the CDN includes them in the key. Configure the cache key to ignore query strings on static paths (or allow-list the few that matter) and to ignore cookies entirely for static content.",[14,718,719,726,727,729,730,733],{},[683,720,721,722,725],{},"A ",[39,723,724],{},"Cache-Control"," change on a large set of files."," A header rule meant for HTML that also matched hashed assets, or a build tool upgrade that changed asset paths so the ",[39,728,115],{}," rule no longer matched. Check the ",[39,731,732],{},"cache-control"," header on one hashed asset and one HTML page.",[14,735,736,739,740,25],{},[683,737,738],{},"Purge everything on every deploy."," A deploy script that purges the whole zone instead of only HTML empties the cache of assets that did not change. See ",[21,741,743],{"href":742},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fpurging-the-cdn-cache-after-a-static-deploy\u002F","Purging the CDN Cache After a Static Deploy",[245,745,746,825],{},[248,747,256,751,256,754,256,757,256,759],{"viewBox":250,"role":251,"ariaLabelledBy":748,"xmlns":255},[749,750],"chr-cause-title","chr-cause-desc",[258,752,753],{"id":749},"Causes of eleven hit-ratio incidents",[262,755,756],{"id":750},"Horizontal bars counting incidents by cause across four sites over a year. A new Vary header caused 4, cookies or query strings in the cache key caused 3, Cache-Control changes on the wrong files caused 3, and purge-everything deploys caused 1.",[266,758],{"x":268,"y":268,"width":269,"height":270,"fill":271},[273,760,276,761,276,764,276,768,276,773,276,779,276,783,276,787,276,793,276,797,276,801,276,805,276,808,276,812,276,816,276,821,256],{"style":275},[278,762,763],{"x":280,"y":281,"fill":282,"style":283},"Eleven incidents, four causes, all configuration",[166,765],{"x1":766,"y1":767,"x2":766,"y2":374,"stroke":370,"style":371},"280","46",[278,769,772],{"x":770,"y":771,"fill":282},"40","76","new Vary header",[266,774],{"x":766,"y":288,"width":775,"height":776,"rx":777,"fill":339,"opacity":778,"stroke":341,"style":310},"320","24","4","0.28",[278,780,777],{"x":781,"y":782,"fill":282,"style":375},"610","77",[278,784,786],{"x":770,"y":785,"fill":282},"120","cookie \u002F query in cache key",[266,788],{"x":766,"y":338,"width":789,"height":776,"rx":777,"fill":790,"opacity":791,"stroke":792,"style":310},"240","#ffca3a","0.4","#a97b00",[278,794,306],{"x":795,"y":796,"fill":282,"style":375},"530","121",[278,798,800],{"x":770,"y":799,"fill":282},"164","Cache-Control on wrong files",[266,802],{"x":766,"y":803,"width":789,"height":776,"rx":777,"fill":642,"opacity":804,"stroke":642,"style":310},"148","0.25",[278,806,306],{"x":795,"y":807,"fill":282,"style":375},"165",[278,809,811],{"x":770,"y":810,"fill":282},"208","purge everything on deploy",[266,813],{"x":766,"y":814,"width":815,"height":776,"rx":777,"fill":647,"opacity":804,"stroke":647,"style":310},"192","80",[278,817,820],{"x":818,"y":819,"fill":282,"style":375},"370","209","1",[278,822,824],{"x":280,"y":823,"fill":386,"style":387},"254","Four production static sites, twelve months; median detection 16 minutes with alerting",[390,826,827],{},"None of the eleven was caused by traffic; every one was a change someone made, which is why alerting on change works.",[27,829,831],{"id":830},"step-4-prevent-the-common-causes-in-ci","Step 4: Prevent the Common Causes in CI",[14,833,834,835,839,840,842,843,846,847,849,850,853],{},"Three of the four causes are visible before deploy. A header check against the preview deploy — part of the smoke tests from ",[21,836,838],{"href":837},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url\u002F","Running Smoke Tests Against a Preview URL"," — can assert that a hashed asset returns ",[39,841,115],{}," with a one-year ",[39,844,845],{},"max-age",", that HTML returns the intended short policy, and that no response carries ",[39,848,688],{}," beyond ",[39,851,852],{},"Accept-Encoding",". On the site where the most incidents occurred, adding those three assertions caught two further misconfigurations in pull requests over the following six months.",[27,855,857],{"id":856},"tie-alerts-to-changes","Tie Alerts to Changes",[14,859,860],{},"A hit-ratio alert is far faster to resolve when it arrives with the list of changes made in the preceding hour. Record every deploy, CDN configuration change and header-rule edit as an event — a line in a shared log or annotations on the dashboard — and have the alert include the events from the last sixty minutes. In ten of the eleven incidents above, the cause was among the changes listed in the alert, and the on-call person reverted it without further investigation.",[27,862,864],{"id":863},"measured-impact","Measured Impact",[61,866,867,880],{},[64,868,869],{},[67,870,871,874,877],{},[70,872,873],{},"Measure",[70,875,876],{},"Before monitoring",[70,878,879],{},"After (6 months)",[80,881,882,893,904,915,926],{},[67,883,884,887,890],{},[85,885,886],{},"Hit-ratio incidents",[85,888,889],{},"6 in 6 months",[85,891,892],{},"5 in 6 months (2 more caught in CI)",[67,894,895,898,901],{},[85,896,897],{},"Median time to detect",[85,899,900],{},"9 days (via bill or ticket)",[85,902,903],{},"16 minutes",[67,905,906,909,912],{},[85,907,908],{},"Median incident duration",[85,910,911],{},"11 days",[85,913,914],{},"2 hours",[67,916,917,920,923],{},[85,918,919],{},"Origin egress, monthly (docs site on S3)",[85,921,922],{},"410 GB",[85,924,925],{},"96 GB",[67,927,928,931,934],{},[85,929,930],{},"Monitoring cost",[85,932,933],{},"—",[85,935,936],{},"\u003C 1 USD (Worker cron + API queries)",[14,938,939],{},"The egress change is the business case in one line: on the S3-backed docs site, the longest undetected incident had quadrupled origin egress for eleven days.",[27,941,943],{"id":942},"pitfalls-rollback","Pitfalls & Rollback",[32,945,946,952,958,964,970],{},[35,947,948,951],{},[683,949,950],{},"Site-wide ratio only."," Assets dominate request counts and mask HTML problems. Measure by prefix.",[35,953,954,957],{},[683,955,956],{},"Fixed thresholds."," Normal daily rhythm makes them noisy; compare against the same time last week.",[35,959,960,963],{},[683,961,962],{},"Counting function responses."," Uncached API routes drag the ratio down and are expected to miss; exclude them.",[35,965,966,969],{},[683,967,968],{},"Alerting during deploy purges."," Require two consecutive bad buckets so the post-deploy refill does not fire.",[35,971,972,975,976,978],{},[683,973,974],{},"Rollback:"," the monitor is a scheduled query; disabling it has no effect on the site. The fixes it prompts — removing a ",[39,977,688],{},", adjusting a cache key — are ordinary configuration changes reverted the same way.",[27,980,982],{"id":981},"conclusion","Conclusion",[14,984,985,986,988,989,991],{},"Cache hit ratio is the static-site metric that fails silently. Measuring it per path prefix, comparing each quarter-hour with the same time last week, and alerting on sharp drops caught configuration mistakes in a median of sixteen minutes instead of nine days, cut incident duration from days to hours, and reduced origin egress by three quarters on the S3-backed site. Most of the causes — a new ",[39,987,688],{},", a fragmented cache key, a mis-targeted ",[39,990,724],{}," rule — can also be asserted against every preview deploy before they ship.",[27,993,995],{"id":994},"faq","FAQ",[997,998,1000],"h3",{"id":999},"what-is-a-healthy-cache-hit-ratio-for-a-static-site","What is a healthy cache hit ratio for a static site?",[14,1002,1003],{},"For hashed assets, above 98 percent by requests. For HTML with short cache lifetimes, 80 to 95 percent depending on traffic and revalidation settings. Overall, well-configured static sites usually sit between 90 and 98 percent.",[997,1005,1007],{"id":1006},"should-i-measure-by-requests-or-by-bytes","Should I measure by requests or by bytes?",[14,1009,1010],{},"Both. Request ratio shows how often the origin is contacted, which drives latency and origin load. Byte ratio shows how much data the origin serves, which drives egress cost. A drop in either matters.",[997,1012,1014],{"id":1013},"why-alert-on-change-rather-than-a-fixed-threshold","Why alert on change rather than a fixed threshold?",[14,1016,1017],{},"Hit ratio varies with traffic patterns, time of day and content type. A fixed threshold either fires constantly or misses real problems. Comparing each hour with the same hour a week earlier catches configuration changes while ignoring normal variation.",[997,1019,1021],{"id":1020},"what-usually-causes-a-sudden-drop","What usually causes a sudden drop?",[14,1023,1024],{},"A new Vary header, a cookie or query string that becomes part of the cache key, a Cache-Control change on a large set of files, or a deploy that purged the whole cache. Most are configuration changes rather than traffic changes.",[27,1026,1028],{"id":1027},"related","Related",[32,1030,1031,1039,1044,1051,1058],{},[35,1032,1033,690,1036,1038],{},[683,1034,1035],{},"Parent:",[21,1037,24],{"href":23}," — the complete monitoring set.",[35,1040,1041,1043],{},[21,1042,52],{"href":51}," — the policy this monitor protects.",[35,1045,1046,1050],{},[21,1047,1049],{"href":1048},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fstale-while-revalidate-for-static-html\u002F","Stale-While-Revalidate for Static HTML"," — raising HTML hit ratio safely.",[35,1052,1053,1057],{},[21,1054,1056],{"href":1055},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002F","Cloudflare Pages Edge Caching Setup"," — where the cache rules are configured.",[35,1059,1060,1064],{},[21,1061,1063],{"href":1062},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront\u002F","Deploying a Static Site to S3 and CloudFront"," — the setup whose egress bill motivated this.",[1066,1067,1068],"style",{},"html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .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}",{"title":160,"searchDepth":185,"depth":185,"links":1070},[1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1086],{"id":29,"depth":185,"text":30},{"id":55,"depth":185,"text":56},{"id":395,"depth":185,"text":396},{"id":675,"depth":185,"text":676},{"id":830,"depth":185,"text":831},{"id":856,"depth":185,"text":857},{"id":863,"depth":185,"text":864},{"id":942,"depth":185,"text":943},{"id":981,"depth":185,"text":982},{"id":994,"depth":185,"text":995,"children":1081},[1082,1083,1084,1085],{"id":999,"depth":191,"text":1000},{"id":1006,"depth":191,"text":1007},{"id":1013,"depth":191,"text":1014},{"id":1020,"depth":191,"text":1021},{"id":1027,"depth":185,"text":1028},[1088,1091,1094,1095],{"name":1089,"item":1090},"Home","\u002F",{"name":1092,"item":1093},"Production-Ready Deployment & CI\u002FCD Workflows","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":24,"item":23},{"name":5,"item":1096},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops\u002F","2026-09-18","Measure CDN cache hit ratio for a static site by path prefix, alert on sharp drops against last week, and trace the usual causes: Vary, cookies, query strings.","md",[1101,1102,1103,1104],{"q":1000,"a":1003},{"q":1007,"a":1010},{"q":1014,"a":1017},{"q":1021,"a":1024},{},true,"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops",{"title":5,"description":1098},"production-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops\u002Findex","article","PNobQIEy7XtZAT9G0qMEBVwoLQmnOcqZM09BBiJ_9jw",[1113,1116,1119,1122,1125,1128,1131,1134,1137,1140,1143,1146,1149,1152,1155,1158,1161,1164,1167,1170,1173,1176,1179,1182,1185,1188,1191,1194,1197,1200,1203,1206,1209,1212,1215,1218,1221,1224,1227,1230,1233,1236,1239,1242,1245,1248,1251,1254,1257,1260,1263,1266,1269,1272,1275,1278,1280,1282,1285,1288,1290,1293,1296,1299,1302,1305,1308,1311,1314,1317,1320,1323,1326,1329,1332,1335,1338,1341,1344,1347,1350,1353,1356,1359,1362,1365,1368,1371,1374,1377,1380,1383,1386,1389,1392,1395,1398,1401,1404,1407,1410,1413,1416,1419,1422,1425,1428,1431,1434,1437,1440,1443,1446,1449,1452,1455,1458,1460,1463,1466,1469,1472,1475,1478,1481,1484,1487,1490,1493,1496,1499,1502,1505,1508,1511,1514,1517,1520,1523,1526,1527,1530,1533,1535,1538,1541,1544,1547,1550,1553,1556,1559,1562,1565,1568,1571,1574,1577,1580,1583,1586,1589,1592,1594,1597,1600,1603,1606,1609,1612,1615,1618,1621,1623,1626,1629,1632,1635,1638,1641,1644,1647,1650],{"path":1114,"title":1115},"\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":1117,"title":1118},"\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":1120,"title":1121},"\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":1123,"title":1124},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1126,"title":1127},"\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":1129,"title":1130},"\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":1132,"title":1133},"\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":1135,"title":1136},"\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":1138,"title":1139},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1141,"title":1142},"\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":1144,"title":1145},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1147,"title":1148},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1150,"title":1151},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1153,"title":1154},"\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":1156,"title":1157},"\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":1159,"title":1160},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1162,"title":1163},"\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":1165,"title":1166},"\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":1168,"title":1169},"\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":1171,"title":1172},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1174,"title":1175},"\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":1177,"title":1178},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1180,"title":1181},"\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":1183,"title":1184},"\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":1186,"title":1187},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1189,"title":1190},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1192,"title":1193},"\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":1195,"title":1196},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1198,"title":1199},"\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":1201,"title":1202},"\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":1204,"title":1205},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1207,"title":1208},"\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":1210,"title":1211},"\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":1213,"title":1214},"\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":1216,"title":1217},"\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":1219,"title":1220},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1222,"title":1223},"\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":1225,"title":1226},"\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":1228,"title":1229},"\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":1231,"title":1232},"\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":1234,"title":1235},"\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":1237,"title":1238},"\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":1240,"title":1241},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1243,"title":1244},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1246,"title":1247},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1249,"title":1250},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1252,"title":1253},"\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":1255,"title":1256},"\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":1258,"title":1259},"\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":1261,"title":1262},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1264,"title":1265},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1267,"title":1268},"\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":1270,"title":1271},"\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":1273,"title":1274},"\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":1276,"title":1277},"\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":1279,"title":52},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs",{"path":1281,"title":743},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fpurging-the-cdn-cache-after-a-static-deploy",{"path":1283,"title":1284},"\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":1286,"title":1287},"\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":1289,"title":1049},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fstale-while-revalidate-for-static-html",{"path":1291,"title":1292},"\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":1294,"title":1295},"\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":1297,"title":1298},"\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":1300,"title":1301},"\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":1303,"title":1304},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1306,"title":1307},"\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":1309,"title":1310},"\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":1312,"title":1313},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1315,"title":1316},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1318,"title":1319},"\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":1321,"title":1322},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1324,"title":1325},"\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":1327,"title":1328},"\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":1330,"title":1331},"\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":1333,"title":1334},"\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":1336,"title":1337},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1339,"title":1340},"\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":1342,"title":1343},"\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":1345,"title":1346},"\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":1348,"title":1349},"\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":1351,"title":1352},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1354,"title":1355},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1357,"title":1358},"\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":1360,"title":1361},"\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":1363,"title":1364},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1366,"title":1367},"\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":1369,"title":1370},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1372,"title":1373},"\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":1375,"title":1376},"\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":1378,"title":1379},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1381,"title":1382},"\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":1384,"title":1385},"\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":1387,"title":1388},"\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":1390,"title":1391},"\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":1393,"title":1394},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1396,"title":1397},"\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":1399,"title":1400},"\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":1402,"title":1403},"\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":1405,"title":1406},"\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":1408,"title":1409},"\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":1411,"title":1412},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1414,"title":1415},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1417,"title":1418},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1420,"title":1421},"\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":1423,"title":1424},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1426,"title":1427},"\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":1429,"title":1430},"\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":1432,"title":1433},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1435,"title":1436},"\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":1438,"title":1439},"\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":1441,"title":1442},"\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":1444,"title":1445},"\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":1447,"title":1448},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1450,"title":1451},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1453,"title":1454},"\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":1456,"title":1457},"\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":1459,"title":1056},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup",{"path":1461,"title":1462},"\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":1464,"title":1465},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1467,"title":1468},"\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":1470,"title":1471},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1473,"title":1474},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1476,"title":1477},"\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":1479,"title":1480},"\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":1482,"title":1483},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1485,"title":1486},"\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":1488,"title":1489},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1491,"title":1492},"\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":1494,"title":1495},"\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":1497,"title":1498},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1500,"title":1501},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1503,"title":1504},"\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":1506,"title":1507},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1509,"title":1510},"\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":1512,"title":1513},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":1515,"title":1516},"\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":1518,"title":1519},"\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":1521,"title":1522},"\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":1524,"title":1525},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1107,"title":5},{"path":1528,"title":1529},"\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":1531,"title":1532},"\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":1534,"title":24},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production",{"path":1536,"title":1537},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1539,"title":1540},"\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":1542,"title":1543},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1545,"title":1546},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1548,"title":1549},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1551,"title":1552},"\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":1554,"title":1555},"\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":1557,"title":1558},"\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":1560,"title":1561},"\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":1563,"title":1564},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1566,"title":1567},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1569,"title":1570},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1572,"title":1573},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1575,"title":1576},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1578,"title":1579},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1581,"title":1582},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1584,"title":1585},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1587,"title":1588},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1590,"title":1591},"\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":1593,"title":838},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url",{"path":1595,"title":1596},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1598,"title":1599},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1601,"title":1602},"\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":1604,"title":1605},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1607,"title":1608},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1610,"title":1611},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1613,"title":1614},"\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":1616,"title":1617},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1619,"title":1620},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1622,"title":1063},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront",{"path":1624,"title":1625},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1627,"title":1628},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1630,"title":1631},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1633,"title":1634},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1636,"title":1637},"\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":1639,"title":1640},"\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":1642,"title":1643},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1645,"title":1646},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1648,"title":1649},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1651,"title":1652},"\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",1789722847828]