[{"data":1,"prerenderedAt":2375},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites":3,"all-docs-nav":1834},{"id":4,"title":5,"body":6,"breadcrumb":1810,"dateModified":1819,"datePublished":1819,"description":1820,"extension":1821,"faq":1822,"meta":1827,"navigation":1828,"path":1829,"seo":1830,"slug":12,"stem":1831,"type":1832,"__hash__":1833},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites\u002Findex.md","Uptime and Synthetic Checks for Static Sites",{"type":7,"value":8,"toc":1792},"minimark",[9,13,30,39,44,57,61,64,424,431,560,564,571,730,1282,1285,1289,1300,1387,1391,1394,1452,1552,1560,1564,1567,1635,1642,1646,1653,1657,1705,1709,1712,1716,1721,1724,1728,1731,1735,1738,1742,1745,1749,1788],[10,11,5],"h1",{"id":12},"uptime-and-synthetic-checks-for-static-sites",[14,15,16,17,21,22,25,26,29],"p",{},"The standard uptime check — request the homepage every minute, alert if it is not a 200 — is nearly useless for a static site. The homepage of a static site is a file on a CDN edge; it returns 200 through almost every real failure: the stylesheet missing after a bad deploy, a section returning 404 because a redirect rule shadowed it, a template rendering an empty body, a certificate that will expire on Sunday. A useful synthetic check for a static site asserts on ",[18,19,20],"em",{},"content",", covers every ",[18,23,24],{},"template",", watches ",[18,27,28],{},"certificates",", and runs from more than one place.",[14,31,32,33,38],{},"This guide builds that set of checks twice: once as a zero-cost scheduled GitHub Actions workflow, and once on a dedicated monitoring service for one-minute, multi-region coverage. It is part of ",[34,35,37],"a",{"href":36},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002F","Monitoring Static Sites in Production",".",[40,41,43],"h2",{"id":42},"prerequisites","Prerequisites",[45,46,47,51,54],"ul",{},[48,49,50],"li",{},"A list of the site's templates with one representative URL each.",[48,52,53],{},"For each template, two or three structural markers that only appear when it rendered correctly.",[48,55,56],{},"An alert destination — a chat channel for alerts, a paging service for pages.",[40,58,60],{"id":59},"step-1-define-checks-as-data","Step 1: Define Checks as Data",[14,62,63],{},"Keep checks in the repository as a data file, so they are reviewed like code and can be run by any runner:",[65,66,71],"pre",{"className":67,"code":68,"language":69,"meta":70,"style":70},"language-yaml shiki shiki-themes github-light github-dark","# monitoring\u002Fchecks.yml\ndefaults: { timeout_ms: 5000, max_ms: 1500 }\nchecks:\n  - name: home\n    url: https:\u002F\u002Fdocs.example.com\u002F\n    contains: ['\u003Ch1', 'class=\"site-header\"', '\u003C\u002Ffooter>']\n  - name: guide-template\n    url: https:\u002F\u002Fdocs.example.com\u002Fguides\u002Fdeploying-hugo\u002F\n    contains: ['\u003Carticle', 'class=\"toc\"', 'data-pagefind-body']\n  - name: api-template\n    url: https:\u002F\u002Fdocs.example.com\u002Freference\u002Fconfig\u002F\n    contains: ['\u003Ctable', 'id=\"options\"']\n  - name: css\n    url: https:\u002F\u002Fdocs.example.com\u002Fassets\u002Fsite.css\n    content_type: text\u002Fcss\n    min_bytes: 8000\n  - name: search-index\n    url: https:\u002F\u002Fdocs.example.com\u002Fpagefind\u002Fpagefind-entry.json\n    content_type: application\u002Fjson\n  - name: redirect\n    url: https:\u002F\u002Fdocs.example.com\u002Fdocs\u002Fold-install\u002F\n    status: 301\n    location: https:\u002F\u002Fdocs.example.com\u002Fguides\u002Finstall\u002F\ntls:\n  - host: docs.example.com\n    warn_days: 14\n    page_days: 7\n","yaml","",[72,73,74,83,118,127,142,153,178,190,200,222,234,244,261,273,283,294,305,317,327,337,349,359,370,381,389,402,413],"code",{"__ignoreMap":70},[75,76,79],"span",{"class":77,"line":78},"line",1,[75,80,82],{"class":81},"sJ8bj","# monitoring\u002Fchecks.yml\n",[75,84,86,90,94,97,100,104,107,110,112,115],{"class":77,"line":85},2,[75,87,89],{"class":88},"s9eBZ","defaults",[75,91,93],{"class":92},"sVt8B",": { ",[75,95,96],{"class":88},"timeout_ms",[75,98,99],{"class":92},": ",[75,101,103],{"class":102},"sj4cs","5000",[75,105,106],{"class":92},", ",[75,108,109],{"class":88},"max_ms",[75,111,99],{"class":92},[75,113,114],{"class":102},"1500",[75,116,117],{"class":92}," }\n",[75,119,121,124],{"class":77,"line":120},3,[75,122,123],{"class":88},"checks",[75,125,126],{"class":92},":\n",[75,128,130,133,136,138],{"class":77,"line":129},4,[75,131,132],{"class":92},"  - ",[75,134,135],{"class":88},"name",[75,137,99],{"class":92},[75,139,141],{"class":140},"sZZnC","home\n",[75,143,145,148,150],{"class":77,"line":144},5,[75,146,147],{"class":88},"    url",[75,149,99],{"class":92},[75,151,152],{"class":140},"https:\u002F\u002Fdocs.example.com\u002F\n",[75,154,156,159,162,165,167,170,172,175],{"class":77,"line":155},6,[75,157,158],{"class":88},"    contains",[75,160,161],{"class":92},": [",[75,163,164],{"class":140},"'\u003Ch1'",[75,166,106],{"class":92},[75,168,169],{"class":140},"'class=\"site-header\"'",[75,171,106],{"class":92},[75,173,174],{"class":140},"'\u003C\u002Ffooter>'",[75,176,177],{"class":92},"]\n",[75,179,181,183,185,187],{"class":77,"line":180},7,[75,182,132],{"class":92},[75,184,135],{"class":88},[75,186,99],{"class":92},[75,188,189],{"class":140},"guide-template\n",[75,191,193,195,197],{"class":77,"line":192},8,[75,194,147],{"class":88},[75,196,99],{"class":92},[75,198,199],{"class":140},"https:\u002F\u002Fdocs.example.com\u002Fguides\u002Fdeploying-hugo\u002F\n",[75,201,203,205,207,210,212,215,217,220],{"class":77,"line":202},9,[75,204,158],{"class":88},[75,206,161],{"class":92},[75,208,209],{"class":140},"'\u003Carticle'",[75,211,106],{"class":92},[75,213,214],{"class":140},"'class=\"toc\"'",[75,216,106],{"class":92},[75,218,219],{"class":140},"'data-pagefind-body'",[75,221,177],{"class":92},[75,223,225,227,229,231],{"class":77,"line":224},10,[75,226,132],{"class":92},[75,228,135],{"class":88},[75,230,99],{"class":92},[75,232,233],{"class":140},"api-template\n",[75,235,237,239,241],{"class":77,"line":236},11,[75,238,147],{"class":88},[75,240,99],{"class":92},[75,242,243],{"class":140},"https:\u002F\u002Fdocs.example.com\u002Freference\u002Fconfig\u002F\n",[75,245,247,249,251,254,256,259],{"class":77,"line":246},12,[75,248,158],{"class":88},[75,250,161],{"class":92},[75,252,253],{"class":140},"'\u003Ctable'",[75,255,106],{"class":92},[75,257,258],{"class":140},"'id=\"options\"'",[75,260,177],{"class":92},[75,262,264,266,268,270],{"class":77,"line":263},13,[75,265,132],{"class":92},[75,267,135],{"class":88},[75,269,99],{"class":92},[75,271,272],{"class":140},"css\n",[75,274,276,278,280],{"class":77,"line":275},14,[75,277,147],{"class":88},[75,279,99],{"class":92},[75,281,282],{"class":140},"https:\u002F\u002Fdocs.example.com\u002Fassets\u002Fsite.css\n",[75,284,286,289,291],{"class":77,"line":285},15,[75,287,288],{"class":88},"    content_type",[75,290,99],{"class":92},[75,292,293],{"class":140},"text\u002Fcss\n",[75,295,297,300,302],{"class":77,"line":296},16,[75,298,299],{"class":88},"    min_bytes",[75,301,99],{"class":92},[75,303,304],{"class":102},"8000\n",[75,306,308,310,312,314],{"class":77,"line":307},17,[75,309,132],{"class":92},[75,311,135],{"class":88},[75,313,99],{"class":92},[75,315,316],{"class":140},"search-index\n",[75,318,320,322,324],{"class":77,"line":319},18,[75,321,147],{"class":88},[75,323,99],{"class":92},[75,325,326],{"class":140},"https:\u002F\u002Fdocs.example.com\u002Fpagefind\u002Fpagefind-entry.json\n",[75,328,330,332,334],{"class":77,"line":329},19,[75,331,288],{"class":88},[75,333,99],{"class":92},[75,335,336],{"class":140},"application\u002Fjson\n",[75,338,340,342,344,346],{"class":77,"line":339},20,[75,341,132],{"class":92},[75,343,135],{"class":88},[75,345,99],{"class":92},[75,347,348],{"class":140},"redirect\n",[75,350,352,354,356],{"class":77,"line":351},21,[75,353,147],{"class":88},[75,355,99],{"class":92},[75,357,358],{"class":140},"https:\u002F\u002Fdocs.example.com\u002Fdocs\u002Fold-install\u002F\n",[75,360,362,365,367],{"class":77,"line":361},22,[75,363,364],{"class":88},"    status",[75,366,99],{"class":92},[75,368,369],{"class":102},"301\n",[75,371,373,376,378],{"class":77,"line":372},23,[75,374,375],{"class":88},"    location",[75,377,99],{"class":92},[75,379,380],{"class":140},"https:\u002F\u002Fdocs.example.com\u002Fguides\u002Finstall\u002F\n",[75,382,384,387],{"class":77,"line":383},24,[75,385,386],{"class":88},"tls",[75,388,126],{"class":92},[75,390,392,394,397,399],{"class":77,"line":391},25,[75,393,132],{"class":92},[75,395,396],{"class":88},"host",[75,398,99],{"class":92},[75,400,401],{"class":140},"docs.example.com\n",[75,403,405,408,410],{"class":77,"line":404},26,[75,406,407],{"class":88},"    warn_days",[75,409,99],{"class":92},[75,411,412],{"class":102},"14\n",[75,414,416,419,421],{"class":77,"line":415},27,[75,417,418],{"class":88},"    page_days",[75,420,99],{"class":92},[75,422,423],{"class":102},"7\n",[14,425,426,427,430],{},"Markers should be structural and stable — class names on layout elements, closing tags — not prose, which changes with every edit. The ",[72,428,429],{},"min_bytes"," check on CSS catches the case where the stylesheet returns 200 but is empty or truncated. Choose the heaviest real page of each template as its representative, because it is the one most likely to expose a partial or truncated render.",[432,433,434,556],"figure",{},[435,436,443,444,443,448,443,452,443,459],"svg",{"viewBox":437,"role":438,"ariaLabelledBy":439,"xmlns":442},"0 0 760 280","img",[440,441],"syn-what-title","syn-what-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[445,446,447],"title",{"id":440},"Which failures each kind of check catches",[449,450,451],"desc",{"id":441},"A matrix of five failure types against three check styles. A homepage status check catches only a full outage. A per-template status check also catches a section returning 404. A per-template content check additionally catches an empty or broken template, a missing stylesheet and a broken redirect. A TLS check catches certificate problems before they become outages.",[453,454],"rect",{"x":455,"y":455,"width":456,"height":457,"fill":458},"0","760","280","#ffffff",[460,461,463,464,463,472,463,478,463,482,463,486,463,493,463,498,463,502,463,504,463,506,463,510,463,514,463,516,463,518,463,522,463,524,463,526,463,528,463,532,463,534,463,536,463,538,463,542,463,545,463,547,463,550,443],"g",{"style":462},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[465,466,471],"text",{"x":467,"y":468,"fill":469,"style":470},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Coverage grows with what the check looks at",[465,473,477],{"x":474,"y":475,"fill":469,"style":476},"330","62","font-weight:700;text-anchor:middle","home status",[465,479,481],{"x":480,"y":475,"fill":469,"style":476},"480","per-template status",[465,483,485],{"x":484,"y":475,"fill":469,"style":476},"640","content + TLS",[77,487],{"x1":488,"y1":489,"x2":490,"y2":489,"stroke":491,"style":492},"30","72","730","#d9e2ef","stroke-width:1.5px",[465,494,497],{"x":495,"y":496,"fill":469},"40","100","full outage",[465,499,501],{"x":474,"y":496,"fill":500,"style":476},"#3f6410","caught",[465,503,501],{"x":480,"y":496,"fill":500,"style":476},[465,505,501],{"x":484,"y":496,"fill":500,"style":476},[465,507,509],{"x":495,"y":508,"fill":469},"134","section returns 404",[465,511,513],{"x":474,"y":508,"fill":512,"style":476},"#b32b30","missed",[465,515,501],{"x":480,"y":508,"fill":500,"style":476},[465,517,501],{"x":484,"y":508,"fill":500,"style":476},[465,519,521],{"x":495,"y":520,"fill":469},"168","template renders empty (200)",[465,523,513],{"x":474,"y":520,"fill":512,"style":476},[465,525,513],{"x":480,"y":520,"fill":512,"style":476},[465,527,501],{"x":484,"y":520,"fill":500,"style":476},[465,529,531],{"x":495,"y":530,"fill":469},"202","stylesheet empty or missing",[465,533,513],{"x":474,"y":530,"fill":512,"style":476},[465,535,513],{"x":480,"y":530,"fill":512,"style":476},[465,537,501],{"x":484,"y":530,"fill":500,"style":476},[465,539,541],{"x":495,"y":540,"fill":469},"236","certificate expiring",[465,543,544],{"x":474,"y":540,"fill":512,"style":476},"at expiry",[465,546,544],{"x":480,"y":540,"fill":512,"style":476},[465,548,549],{"x":484,"y":540,"fill":500,"style":476},"14 days early",[465,551,555],{"x":467,"y":552,"fill":553,"style":554},"266","#556071","font-size:11px;text-anchor:middle","The same six URLs, checked three different ways",[557,558,559],"figcaption",{},"Moving from status codes to markers is what turns a synthetic check from an outage detector into a correctness check.",[40,561,563],{"id":562},"step-2-a-zero-cost-runner-in-github-actions","Step 2: A Zero-Cost Runner in GitHub Actions",[14,565,566,567,570],{},"A scheduled workflow runs the checks every fifteen minutes. A small Node script reads ",[72,568,569],{},"checks.yml",", performs each request, asserts, and exits non-zero on failure:",[65,572,574],{"className":67,"code":573,"language":69,"meta":70,"style":70},"# .github\u002Fworkflows\u002Fsynthetics.yml\non:\n  schedule: [{ cron: '*\u002F15 * * * *' }]\n  workflow_dispatch:\njobs:\n  check:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - run: node monitoring\u002Frun-checks.mjs monitoring\u002Fchecks.yml > result.json\n      - if: failure()\n        run: |\n          curl -s -X POST \"$SLACK_WEBHOOK\" -H 'content-type: application\u002Fjson' \\\n            -d \"{\\\"text\\\":\\\"Synthetic check failed: $(jq -r '.failed | join(\", \")' result.json) — ${{ github.server_url }}\u002F${{ github.repository }}\u002Factions\u002Fruns\u002F${{ github.run_id }}\\\"}\"\n        env: { SLACK_WEBHOOK: '${{ secrets.SLACK_WEBHOOK }}' }\n",[72,575,576,581,588,607,614,621,628,638,648,655,668,680,692,703,708,713],{"__ignoreMap":70},[75,577,578],{"class":77,"line":78},[75,579,580],{"class":81},"# .github\u002Fworkflows\u002Fsynthetics.yml\n",[75,582,583,586],{"class":77,"line":85},[75,584,585],{"class":102},"on",[75,587,126],{"class":92},[75,589,590,593,596,599,601,604],{"class":77,"line":120},[75,591,592],{"class":88},"  schedule",[75,594,595],{"class":92},": [{ ",[75,597,598],{"class":88},"cron",[75,600,99],{"class":92},[75,602,603],{"class":140},"'*\u002F15 * * * *'",[75,605,606],{"class":92}," }]\n",[75,608,609,612],{"class":77,"line":129},[75,610,611],{"class":88},"  workflow_dispatch",[75,613,126],{"class":92},[75,615,616,619],{"class":77,"line":144},[75,617,618],{"class":88},"jobs",[75,620,126],{"class":92},[75,622,623,626],{"class":77,"line":155},[75,624,625],{"class":88},"  check",[75,627,126],{"class":92},[75,629,630,633,635],{"class":77,"line":180},[75,631,632],{"class":88},"    runs-on",[75,634,99],{"class":92},[75,636,637],{"class":140},"ubuntu-latest\n",[75,639,640,643,645],{"class":77,"line":192},[75,641,642],{"class":88},"    timeout-minutes",[75,644,99],{"class":92},[75,646,647],{"class":102},"5\n",[75,649,650,653],{"class":77,"line":202},[75,651,652],{"class":88},"    steps",[75,654,126],{"class":92},[75,656,657,660,663,665],{"class":77,"line":224},[75,658,659],{"class":92},"      - ",[75,661,662],{"class":88},"uses",[75,664,99],{"class":92},[75,666,667],{"class":140},"actions\u002Fcheckout@v4\n",[75,669,670,672,675,677],{"class":77,"line":236},[75,671,659],{"class":92},[75,673,674],{"class":88},"run",[75,676,99],{"class":92},[75,678,679],{"class":140},"node monitoring\u002Frun-checks.mjs monitoring\u002Fchecks.yml > result.json\n",[75,681,682,684,687,689],{"class":77,"line":246},[75,683,659],{"class":92},[75,685,686],{"class":88},"if",[75,688,99],{"class":92},[75,690,691],{"class":140},"failure()\n",[75,693,694,697,699],{"class":77,"line":263},[75,695,696],{"class":88},"        run",[75,698,99],{"class":92},[75,700,702],{"class":701},"szBVR","|\n",[75,704,705],{"class":77,"line":275},[75,706,707],{"class":140},"          curl -s -X POST \"$SLACK_WEBHOOK\" -H 'content-type: application\u002Fjson' \\\n",[75,709,710],{"class":77,"line":285},[75,711,712],{"class":140},"            -d \"{\\\"text\\\":\\\"Synthetic check failed: $(jq -r '.failed | join(\", \")' result.json) — ${{ github.server_url }}\u002F${{ github.repository }}\u002Factions\u002Fruns\u002F${{ github.run_id }}\\\"}\"\n",[75,714,715,718,720,723,725,728],{"class":77,"line":296},[75,716,717],{"class":88},"        env",[75,719,93],{"class":92},[75,721,722],{"class":88},"SLACK_WEBHOOK",[75,724,99],{"class":92},[75,726,727],{"class":140},"'${{ secrets.SLACK_WEBHOOK }}'",[75,729,117],{"class":92},[65,731,735],{"className":732,"code":733,"language":734,"meta":70,"style":70},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F monitoring\u002Frun-checks.mjs (core loop)\nimport tls from 'node:tls';\nfor (const c of cfg.checks) {\n  const t0 = performance.now();\n  const res = await fetch(c.url, { redirect: 'manual', signal: AbortSignal.timeout(c.timeout_ms ?? 5000) });\n  const ms = performance.now() - t0, body = c.contains ? await res.text() : '';\n  if (res.status !== (c.status ?? 200)) fail(c, `status ${res.status}`);\n  for (const m of c.contains ?? []) if (!body.includes(m)) fail(c, `missing ${m}`);\n  if (c.location && res.headers.get('location') !== c.location) fail(c, `location ${res.headers.get('location')}`);\n  if (ms > (c.max_ms ?? cfg.defaults.max_ms)) warn(c, `${Math.round(ms)} ms`);\n}\nfor (const t of cfg.tls) {\n  const cert = await new Promise((ok) => { const s = tls.connect(443, t.host, { servername: t.host }, () => { ok(s.getPeerCertificate()); s.end(); }); });\n  const days = (new Date(cert.valid_to) - Date.now()) \u002F 864e5;\n  if (days \u003C t.warn_days) fail({ name: `tls:${t.host}` }, `${days.toFixed(1)} days left`);\n}\n","js",[72,736,737,742,759,779,800,839,889,934,985,1044,1090,1095,1111,1185,1223,1278],{"__ignoreMap":70},[75,738,739],{"class":77,"line":78},[75,740,741],{"class":81},"\u002F\u002F monitoring\u002Frun-checks.mjs (core loop)\n",[75,743,744,747,750,753,756],{"class":77,"line":85},[75,745,746],{"class":701},"import",[75,748,749],{"class":92}," tls ",[75,751,752],{"class":701},"from",[75,754,755],{"class":140}," 'node:tls'",[75,757,758],{"class":92},";\n",[75,760,761,764,767,770,773,776],{"class":77,"line":120},[75,762,763],{"class":701},"for",[75,765,766],{"class":92}," (",[75,768,769],{"class":701},"const",[75,771,772],{"class":102}," c",[75,774,775],{"class":701}," of",[75,777,778],{"class":92}," cfg.checks) {\n",[75,780,781,784,787,790,793,797],{"class":77,"line":129},[75,782,783],{"class":701},"  const",[75,785,786],{"class":102}," t0",[75,788,789],{"class":701}," =",[75,791,792],{"class":92}," performance.",[75,794,796],{"class":795},"sScJk","now",[75,798,799],{"class":92},"();\n",[75,801,802,804,807,809,812,815,818,821,824,827,830,833,836],{"class":77,"line":144},[75,803,783],{"class":701},[75,805,806],{"class":102}," res",[75,808,789],{"class":701},[75,810,811],{"class":701}," await",[75,813,814],{"class":795}," fetch",[75,816,817],{"class":92},"(c.url, { redirect: ",[75,819,820],{"class":140},"'manual'",[75,822,823],{"class":92},", signal: AbortSignal.",[75,825,826],{"class":795},"timeout",[75,828,829],{"class":92},"(c.timeout_ms ",[75,831,832],{"class":701},"??",[75,834,835],{"class":102}," 5000",[75,837,838],{"class":92},") });\n",[75,840,841,843,846,848,850,852,855,858,861,864,866,869,872,874,877,879,881,884,887],{"class":77,"line":155},[75,842,783],{"class":701},[75,844,845],{"class":102}," ms",[75,847,789],{"class":701},[75,849,792],{"class":92},[75,851,796],{"class":795},[75,853,854],{"class":92},"() ",[75,856,857],{"class":701},"-",[75,859,860],{"class":92}," t0, ",[75,862,863],{"class":102},"body",[75,865,789],{"class":701},[75,867,868],{"class":92}," c.contains ",[75,870,871],{"class":701},"?",[75,873,811],{"class":701},[75,875,876],{"class":92}," res.",[75,878,465],{"class":795},[75,880,854],{"class":92},[75,882,883],{"class":701},":",[75,885,886],{"class":140}," ''",[75,888,758],{"class":92},[75,890,891,894,897,900,903,905,908,911,914,917,920,923,925,928,931],{"class":77,"line":180},[75,892,893],{"class":701},"  if",[75,895,896],{"class":92}," (res.status ",[75,898,899],{"class":701},"!==",[75,901,902],{"class":92}," (c.status ",[75,904,832],{"class":701},[75,906,907],{"class":102}," 200",[75,909,910],{"class":92},")) ",[75,912,913],{"class":795},"fail",[75,915,916],{"class":92},"(c, ",[75,918,919],{"class":140},"`status ${",[75,921,922],{"class":92},"res",[75,924,38],{"class":140},[75,926,927],{"class":92},"status",[75,929,930],{"class":140},"}`",[75,932,933],{"class":92},");\n",[75,935,936,939,941,943,946,948,950,952,955,957,959,962,965,968,971,973,975,978,981,983],{"class":77,"line":192},[75,937,938],{"class":701},"  for",[75,940,766],{"class":92},[75,942,769],{"class":701},[75,944,945],{"class":102}," m",[75,947,775],{"class":701},[75,949,868],{"class":92},[75,951,832],{"class":701},[75,953,954],{"class":92}," []) ",[75,956,686],{"class":701},[75,958,766],{"class":92},[75,960,961],{"class":701},"!",[75,963,964],{"class":92},"body.",[75,966,967],{"class":795},"includes",[75,969,970],{"class":92},"(m)) ",[75,972,913],{"class":795},[75,974,916],{"class":92},[75,976,977],{"class":140},"`missing ${",[75,979,980],{"class":92},"m",[75,982,930],{"class":140},[75,984,933],{"class":92},[75,986,987,989,992,995,998,1001,1004,1007,1010,1012,1015,1017,1019,1022,1024,1026,1029,1031,1033,1035,1037,1040,1042],{"class":77,"line":202},[75,988,893],{"class":701},[75,990,991],{"class":92}," (c.location ",[75,993,994],{"class":701},"&&",[75,996,997],{"class":92}," res.headers.",[75,999,1000],{"class":795},"get",[75,1002,1003],{"class":92},"(",[75,1005,1006],{"class":140},"'location'",[75,1008,1009],{"class":92},") ",[75,1011,899],{"class":701},[75,1013,1014],{"class":92}," c.location) ",[75,1016,913],{"class":795},[75,1018,916],{"class":92},[75,1020,1021],{"class":140},"`location ${",[75,1023,922],{"class":92},[75,1025,38],{"class":140},[75,1027,1028],{"class":92},"headers",[75,1030,38],{"class":140},[75,1032,1000],{"class":795},[75,1034,1003],{"class":140},[75,1036,1006],{"class":140},[75,1038,1039],{"class":140},")",[75,1041,930],{"class":140},[75,1043,933],{"class":92},[75,1045,1046,1048,1051,1054,1057,1059,1062,1065,1067,1070,1073,1075,1078,1080,1083,1085,1088],{"class":77,"line":224},[75,1047,893],{"class":701},[75,1049,1050],{"class":92}," (ms ",[75,1052,1053],{"class":701},">",[75,1055,1056],{"class":92}," (c.max_ms ",[75,1058,832],{"class":701},[75,1060,1061],{"class":92}," cfg.defaults.max_ms)) ",[75,1063,1064],{"class":795},"warn",[75,1066,916],{"class":92},[75,1068,1069],{"class":140},"`${",[75,1071,1072],{"class":92},"Math",[75,1074,38],{"class":140},[75,1076,1077],{"class":795},"round",[75,1079,1003],{"class":140},[75,1081,1082],{"class":92},"ms",[75,1084,1039],{"class":140},[75,1086,1087],{"class":140},"} ms`",[75,1089,933],{"class":92},[75,1091,1092],{"class":77,"line":236},[75,1093,1094],{"class":92},"}\n",[75,1096,1097,1099,1101,1103,1106,1108],{"class":77,"line":246},[75,1098,763],{"class":701},[75,1100,766],{"class":92},[75,1102,769],{"class":701},[75,1104,1105],{"class":102}," t",[75,1107,775],{"class":701},[75,1109,1110],{"class":92}," cfg.tls) {\n",[75,1112,1113,1115,1118,1120,1122,1125,1128,1131,1135,1137,1140,1143,1145,1148,1150,1153,1156,1158,1161,1164,1166,1168,1170,1173,1176,1179,1182],{"class":77,"line":263},[75,1114,783],{"class":701},[75,1116,1117],{"class":102}," cert",[75,1119,789],{"class":701},[75,1121,811],{"class":701},[75,1123,1124],{"class":701}," new",[75,1126,1127],{"class":102}," Promise",[75,1129,1130],{"class":92},"((",[75,1132,1134],{"class":1133},"s4XuR","ok",[75,1136,1009],{"class":92},[75,1138,1139],{"class":701},"=>",[75,1141,1142],{"class":92}," { ",[75,1144,769],{"class":701},[75,1146,1147],{"class":102}," s",[75,1149,789],{"class":701},[75,1151,1152],{"class":92}," tls.",[75,1154,1155],{"class":795},"connect",[75,1157,1003],{"class":92},[75,1159,1160],{"class":102},"443",[75,1162,1163],{"class":92},", t.host, { servername: t.host }, () ",[75,1165,1139],{"class":701},[75,1167,1142],{"class":92},[75,1169,1134],{"class":795},[75,1171,1172],{"class":92},"(s.",[75,1174,1175],{"class":795},"getPeerCertificate",[75,1177,1178],{"class":92},"()); s.",[75,1180,1181],{"class":795},"end",[75,1183,1184],{"class":92},"(); }); });\n",[75,1186,1187,1189,1192,1194,1196,1199,1202,1205,1207,1210,1212,1215,1218,1221],{"class":77,"line":275},[75,1188,783],{"class":701},[75,1190,1191],{"class":102}," days",[75,1193,789],{"class":701},[75,1195,766],{"class":92},[75,1197,1198],{"class":701},"new",[75,1200,1201],{"class":795}," Date",[75,1203,1204],{"class":92},"(cert.valid_to) ",[75,1206,857],{"class":701},[75,1208,1209],{"class":92}," Date.",[75,1211,796],{"class":795},[75,1213,1214],{"class":92},"()) ",[75,1216,1217],{"class":701},"\u002F",[75,1219,1220],{"class":102}," 864e5",[75,1222,758],{"class":92},[75,1224,1225,1227,1230,1233,1236,1238,1241,1244,1247,1249,1251,1253,1256,1258,1261,1263,1266,1268,1271,1273,1276],{"class":77,"line":285},[75,1226,893],{"class":701},[75,1228,1229],{"class":92}," (days ",[75,1231,1232],{"class":701},"\u003C",[75,1234,1235],{"class":92}," t.warn_days) ",[75,1237,913],{"class":795},[75,1239,1240],{"class":92},"({ name: ",[75,1242,1243],{"class":140},"`tls:${",[75,1245,1246],{"class":92},"t",[75,1248,38],{"class":140},[75,1250,396],{"class":92},[75,1252,930],{"class":140},[75,1254,1255],{"class":92}," }, ",[75,1257,1069],{"class":140},[75,1259,1260],{"class":92},"days",[75,1262,38],{"class":140},[75,1264,1265],{"class":795},"toFixed",[75,1267,1003],{"class":140},[75,1269,1270],{"class":102},"1",[75,1272,1039],{"class":140},[75,1274,1275],{"class":140},"} days left`",[75,1277,933],{"class":92},[75,1279,1280],{"class":77,"line":296},[75,1281,1094],{"class":92},[14,1283,1284],{},"Scheduled workflows run at most every five minutes and can be delayed when GitHub is busy, so this runner suits content and certificate checks rather than one-minute outage detection. It costs nothing on public repositories and a few minutes of runner time a day on private ones.",[40,1286,1288],{"id":1287},"step-3-one-minute-reachability-from-two-regions","Step 3: One-Minute Reachability From Two Regions",[14,1290,1291,1292,1294,1295,1299],{},"For outage detection, a dedicated service — Checkly, Grafana Cloud synthetic monitoring, UptimeRobot, Better Stack — runs checks every minute from several regions. Point it at the same ",[72,1293,569],{}," if it supports code-defined checks (Checkly and Grafana do), or configure the three or four most important checks by hand. The essential setting is the alert condition: ",[1296,1297,1298],"strong",{},"fail only when two or more regions fail",", for two consecutive runs.",[432,1301,1302,1384],{},[435,1303,443,1308,443,1311,443,1314,443,1317],{"viewBox":1304,"role":438,"ariaLabelledBy":1305,"xmlns":442},"0 0 760 270",[1306,1307],"syn-reg-title","syn-reg-desc",[445,1309,1310],{"id":1306},"False alarms with one region versus two",[449,1312,1313],{"id":1307},"Over three months, single-region checks raised 23 alerts, of which 21 were probe-side network problems and 2 were real outages. Requiring two regions to fail raised 2 alerts, both real, with detection delayed by about one minute.",[453,1315],{"x":455,"y":455,"width":456,"height":1316,"fill":458},"270",[460,1318,463,1319,463,1322,463,1327,463,1338,463,1343,463,1349,463,1353,463,1357,463,1360,463,1364,463,1368,463,1373,463,1376,463,1380,443],{"style":462},[465,1320,1321],{"x":467,"y":468,"fill":469,"style":470},"Alerts over three months, same checks",[465,1323,1326],{"x":488,"y":1324,"fill":469,"style":1325},"84","font-weight:700","Any 1 region fails",[453,1328],{"x":1329,"y":1330,"width":1331,"height":1332,"rx":1333,"fill":1334,"opacity":1335,"stroke":1336,"style":1337},"220","64","420","32","4","#ff595e","0.25","#d83b41","stroke-width:1px",[453,1339],{"x":484,"y":1330,"width":495,"height":1332,"rx":1333,"fill":1340,"opacity":1341,"stroke":1342,"style":1337},"#8ac926","0.4","#5a8a16",[465,1344,1348],{"x":1345,"y":1346,"fill":469,"style":1347},"430","85","text-anchor:middle","21 false (probe network)",[465,1350,1352],{"x":1351,"y":1346,"fill":469,"style":1325},"690","+2",[465,1354,1356],{"x":488,"y":1355,"fill":469,"style":1325},"164","2 regions agree",[453,1358],{"x":1329,"y":1359,"width":495,"height":1332,"rx":1333,"fill":1340,"opacity":1341,"stroke":1342,"style":1337},"144",[465,1361,1363],{"x":1316,"y":1362,"fill":500,"style":1325},"165","2 real, 0 false",[453,1365],{"x":1329,"y":1366,"width":1367,"height":1367,"fill":1334,"opacity":1335,"stroke":1336,"style":1337},"210","12",[465,1369,1372],{"x":1370,"y":1329,"fill":553,"style":1371},"238","font-size:11px","false alarm",[453,1374],{"x":1375,"y":1366,"width":1367,"height":1367,"fill":1340,"opacity":1341,"stroke":1342,"style":1337},"340",[465,1377,1379],{"x":1378,"y":1329,"fill":553,"style":1371},"358","real outage (detection delay +1 min)",[465,1381,1383],{"x":467,"y":1382,"fill":553,"style":554},"256","Checks every minute from US East, EU West and AP Southeast",[557,1385,1386],{},"Two-region agreement removed every false alarm in the period and cost about a minute of detection time.",[40,1388,1390],{"id":1389},"step-4-route-by-severity","Step 4: Route by Severity",[14,1392,1393],{},"Not every failure deserves the same response. Route them:",[1395,1396,1397,1410],"table",{},[1398,1399,1400],"thead",{},[1401,1402,1403,1407],"tr",{},[1404,1405,1406],"th",{},"Condition",[1404,1408,1409],{},"Destination",[1411,1412,1413,1422,1429,1437,1444],"tbody",{},[1401,1414,1415,1419],{},[1416,1417,1418],"td",{},"Home or a key template unreachable from 2+ regions, 2 runs",[1416,1420,1421],{},"page on-call",[1401,1423,1424,1427],{},[1416,1425,1426],{},"Certificate under 7 days",[1416,1428,1421],{},[1401,1430,1431,1434],{},[1416,1432,1433],{},"Content marker missing, redirect wrong, CSS undersized",[1416,1435,1436],{},"team channel",[1401,1438,1439,1442],{},[1416,1440,1441],{},"Certificate under 14 days",[1416,1443,1436],{},[1401,1445,1446,1449],{},[1416,1447,1448],{},"Response time over ceiling",[1416,1450,1451],{},"weekly report",[432,1453,1454,1549],{},[435,1455,443,1460,443,1463,443,1466,443,1469,443,1535],{"viewBox":1456,"role":438,"ariaLabelledBy":1457,"xmlns":442},"0 0 760 240",[1458,1459],"syn-route-title","syn-route-desc",[445,1461,1462],{"id":1458},"Routing check failures by severity",[449,1464,1465],{"id":1459},"Check results flow into three destinations. Unreachable key pages from two regions and certificates under seven days page the on-call person. Missing markers, wrong redirects, undersized CSS and certificates under fourteen days go to the team channel. Slow responses go to the weekly report.",[453,1467],{"x":455,"y":455,"width":456,"height":1468,"fill":458},"240",[460,1470,463,1471,463,1474,463,1482,463,1487,463,1490,463,1496,463,1501,463,1506,463,1510,463,1515,463,1519,443],{"style":462},[465,1472,1473],{"x":467,"y":468,"fill":469,"style":470},"Three destinations, chosen by urgency",[453,1475],{"x":488,"y":1476,"width":1477,"height":1478,"rx":1479,"fill":1480,"opacity":1481,"stroke":1480,"style":492},"90","160","60","10","#6a4c93","0.14",[465,1483,1486],{"x":1484,"y":1485,"fill":469,"style":476},"110","116","check results",[465,1488,1489],{"x":1484,"y":508,"fill":553,"style":554},"every run",[453,1491],{"x":1492,"y":1493,"width":1345,"height":1494,"rx":1495,"fill":1334,"opacity":1481,"stroke":1336,"style":492},"300","46","44","8",[465,1497,1500],{"x":1498,"y":1499,"fill":469,"style":1325},"320","73","page: unreachable (2 regions) · TLS \u003C 7 days",[453,1502],{"x":1492,"y":496,"width":1345,"height":1494,"rx":1495,"fill":1503,"opacity":1504,"stroke":1505,"style":492},"#ffca3a","0.22","#a97b00",[465,1507,1509],{"x":1498,"y":1508,"fill":469,"style":1325},"127","channel: marker · redirect · CSS size · TLS \u003C 14 days",[453,1511],{"x":1492,"y":1512,"width":1345,"height":1494,"rx":1495,"fill":1513,"opacity":1514,"stroke":1513,"style":492},"154","#1982c4","0.12",[465,1516,1518],{"x":1498,"y":1517,"fill":469,"style":1325},"181","weekly report: response time over ceiling",[460,1520,1523,1524,1523,1529,1523,1532,463],{"stroke":553,"fill":1521,"style":1522},"none","stroke-width:2px","\n      ",[1525,1526],"path",{"d":1527,"style":1528},"M192 110 L296 70","marker-end:url(#syn-r-arrow)",[1525,1530],{"d":1531,"style":1528},"M192 120 L296 122",[1525,1533],{"d":1534,"style":1528},"M192 132 L296 174",[1536,1537,463,1538,443],"defs",{},[1539,1540,1523,1546,463],"marker",{"id":1541,"viewBox":1542,"refX":1495,"refY":1543,"markerWidth":1544,"markerHeight":1544,"orient":1545},"syn-r-arrow","0 0 10 10","5","7","auto-start-reverse",[1525,1547],{"d":1548,"fill":553},"M0 0 L10 5 L0 10 z",[557,1550,1551],{},"Only two conditions wake anyone up; both mean readers cannot use the site or soon will not be able to.",[14,1553,1554,1555,1559],{},"Each alert includes the failing check's name, the assertion that failed, the response excerpt and a link to a short runbook. The runbook for a missing marker is three lines: check the last deploy; if it changed the template, roll back with the command from ",[34,1556,1558],{"href":1557},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-a-bad-static-deploy-in-under-a-minute\u002F","Rolling Back a Bad Static Deploy in Under a Minute","; otherwise purge the CDN cache for that path.",[40,1561,1563],{"id":1562},"measured-impact","Measured Impact",[14,1565,1566],{},"The documentation site ran homepage-only uptime checks for six months, then the content-aware set for six months.",[1395,1568,1569,1582],{},[1398,1570,1571],{},[1401,1572,1573,1576,1579],{},[1404,1574,1575],{},"Measure",[1404,1577,1578],{},"Homepage status only",[1404,1580,1581],{},"Content-aware set",[1411,1583,1584,1595,1605,1616,1625],{},[1401,1585,1586,1589,1592],{},[1416,1587,1588],{},"Reader-affecting incidents in period",[1416,1590,1591],{},"11",[1416,1593,1594],{},"14",[1401,1596,1597,1600,1603],{},[1416,1598,1599],{},"Detected by synthetic checks",[1416,1601,1602],{},"2",[1416,1604,1479],{},[1401,1606,1607,1610,1613],{},[1416,1608,1609],{},"Median time to detection",[1416,1611,1612],{},"2.6 days",[1416,1614,1615],{},"11 minutes",[1401,1617,1618,1621,1623],{},[1416,1619,1620],{},"False-alarm pages",[1416,1622,1544],{},[1416,1624,455],{},[1401,1626,1627,1630,1632],{},[1416,1628,1629],{},"Monthly cost",[1416,1631,455],{},[1416,1633,1634],{},"~6 USD (service) + free Actions minutes",[14,1636,1637,1638,38],{},"The four incidents the synthetic set still missed were a third-party script slowdown and three rising-404 cases, caught instead by RUM and edge logs, as intended — see ",[34,1639,1641],{"href":1640},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge\u002F","Logging 404s at the Edge",[40,1643,1645],{"id":1644},"keeping-checks-honest","Keeping Checks Honest",[14,1647,1648,1649,1652],{},"Synthetic checks rot in the same way smoke tests do. A CSS refactor renames ",[72,1650,1651],{},"site-header"," and the marker check starts failing on a healthy site — or worse, someone updates it to a marker that appears on every page including the error page. Two habits prevent this. Run the checks against every preview deploy as part of the pull request, so a change that breaks a marker fails the pull request that caused it, and the author updates the marker in the same change. And include one negative check — request a URL that must 404 and assert the 404 page's own marker — which proves the markers are specific enough to distinguish a real page from an error page.",[40,1654,1656],{"id":1655},"pitfalls-rollback","Pitfalls & Rollback",[45,1658,1659,1665,1675,1681,1687,1693,1699],{},[48,1660,1661,1664],{},[1296,1662,1663],{},"Prose as markers."," Wording changes on every edit; use structural class names and tags.",[48,1666,1667,1670,1671,1674],{},[1296,1668,1669],{},"Following redirects silently."," A check that follows a redirect to the homepage reports success on a broken URL. Use ",[72,1672,1673],{},"redirect: 'manual'"," and assert on the target.",[48,1676,1677,1680],{},[1296,1678,1679],{},"Single-region paging."," Probe-side network problems produce most false alarms.",[48,1682,1683,1686],{},[1296,1684,1685],{},"Checks outside the repository."," Hand-configured checks drift from the site; keep them as code next to it.",[48,1688,1689,1692],{},[1296,1690,1691],{},"Caching the check itself."," A CDN can serve a check from cache long after origin broke. Add a cache-busting query parameter to one check per template, or check with a header that bypasses cache, so at least one path exercises the origin.",[48,1694,1695,1698],{},[1296,1696,1697],{},"Silent scheduler failures."," A scheduled workflow that stops running reports nothing. Add a heartbeat: the check job pings a dead-man's-switch URL on each successful run, which alerts if pings stop.",[48,1700,1701,1704],{},[1296,1702,1703],{},"Rollback:"," checks are a data file and a workflow. Disabling a noisy check is a one-line change reviewed like any other.",[40,1706,1708],{"id":1707},"conclusion","Conclusion",[14,1710,1711],{},"Synthetic checks for a static site earn their keep when they check content, not status: one URL per template, structural markers, asset sanity, redirect targets and certificate expiry, from two regions that must agree before anyone is paged. On a documentation site that raised detection from 2 of 11 incidents to 10 of 14, cut time to detection from days to minutes, and eliminated false-alarm pages — for about six dollars a month.",[40,1713,1715],{"id":1714},"faq","FAQ",[1717,1718,1720],"h3",{"id":1719},"what-should-a-synthetic-check-assert-on-a-static-page","What should a synthetic check assert on a static page?",[14,1722,1723],{},"The status code, the presence of structural markers that prove the template rendered, such as the header, the main heading and the footer, the content type, and a response time ceiling. Asserting on markers catches the common case of a 200 response with the wrong content.",[1717,1725,1727],{"id":1726},"can-i-run-synthetic-checks-from-github-actions","Can I run synthetic checks from GitHub Actions?",[14,1729,1730],{},"Yes, with a scheduled workflow. The schedule minimum is five minutes and runs can be delayed under load, so it suits content checks and certificate checks. For one-minute reachability checks from several regions, a dedicated service is more reliable.",[1717,1732,1734],{"id":1733},"how-early-should-certificate-expiry-alert","How early should certificate expiry alert?",[14,1736,1737],{},"Report at 30 days, alert a channel at 14 days, and page at 7 days. Automatic renewal usually happens around 30 days before expiry, so a certificate still under 14 days means renewal has failed.",[1717,1739,1741],{"id":1740},"why-run-checks-from-two-regions","Why run checks from two regions?",[14,1743,1744],{},"A single probe location has its own network problems. Requiring failures from two independent regions before alerting removes almost all false alarms while still catching real outages within minutes.",[40,1746,1748],{"id":1747},"related","Related",[45,1750,1751,1760,1767,1774,1781],{},[48,1752,1753,1756,1757,1759],{},[1296,1754,1755],{},"Parent:"," ",[34,1758,37],{"href":36}," — all the signals together.",[48,1761,1762,1766],{},[34,1763,1765],{"href":1764},"\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"," — the deploy-time version of these checks.",[48,1768,1769,1773],{},[34,1770,1772],{"href":1771},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fcrawling-for-broken-links-on-a-schedule\u002F","Crawling for Broken Links on a Schedule"," — broader coverage, lower frequency.",[48,1775,1776,1780],{},[34,1777,1779],{"href":1778},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely\u002F","Enabling HSTS and Preload Safely"," — why certificate expiry becomes an outage under HSTS.",[48,1782,1783,1787],{},[34,1784,1786],{"href":1785},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcustom-domains-and-tls-on-cloudflare-pages\u002F","Custom Domains and TLS on Cloudflare Pages"," — where certificate problems usually start.",[1789,1790,1791],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}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 .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 .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}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":70,"searchDepth":85,"depth":85,"links":1793},[1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1809],{"id":42,"depth":85,"text":43},{"id":59,"depth":85,"text":60},{"id":562,"depth":85,"text":563},{"id":1287,"depth":85,"text":1288},{"id":1389,"depth":85,"text":1390},{"id":1562,"depth":85,"text":1563},{"id":1644,"depth":85,"text":1645},{"id":1655,"depth":85,"text":1656},{"id":1707,"depth":85,"text":1708},{"id":1714,"depth":85,"text":1715,"children":1804},[1805,1806,1807,1808],{"id":1719,"depth":120,"text":1720},{"id":1726,"depth":120,"text":1727},{"id":1733,"depth":120,"text":1734},{"id":1740,"depth":120,"text":1741},{"id":1747,"depth":85,"text":1748},[1811,1813,1816,1817],{"name":1812,"item":1217},"Home",{"name":1814,"item":1815},"Production-Ready Deployment & CI\u002FCD Workflows","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":37,"item":36},{"name":5,"item":1818},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites\u002F","2026-09-18","Content-aware synthetic checks for a static site: one URL per template, markers not just status codes, TLS expiry, two regions, and paging only on real outages.","md",[1823,1824,1825,1826],{"q":1720,"a":1723},{"q":1727,"a":1730},{"q":1734,"a":1737},{"q":1741,"a":1744},{},true,"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites",{"title":5,"description":1820},"production-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites\u002Findex","article","d3kkzLSwfmlXe51I3LfI3ihX3o7GCHw3mKcgU8dxMIg",[1835,1838,1841,1844,1847,1850,1853,1856,1859,1862,1865,1868,1871,1874,1877,1880,1883,1886,1889,1892,1895,1898,1901,1904,1907,1910,1913,1916,1919,1922,1925,1928,1931,1934,1937,1940,1943,1946,1949,1952,1955,1958,1961,1964,1967,1970,1973,1976,1979,1982,1985,1988,1991,1994,1997,2000,2003,2006,2009,2012,2015,2018,2021,2024,2027,2030,2033,2036,2039,2042,2045,2048,2051,2054,2057,2060,2063,2066,2069,2072,2075,2078,2081,2084,2087,2090,2093,2096,2099,2102,2105,2108,2111,2114,2117,2120,2123,2126,2129,2132,2135,2138,2141,2144,2147,2150,2153,2156,2159,2162,2165,2168,2171,2174,2177,2179,2182,2185,2188,2191,2194,2197,2200,2203,2206,2209,2212,2215,2218,2221,2224,2227,2230,2233,2236,2239,2242,2245,2248,2251,2254,2257,2259,2261,2263,2264,2267,2270,2273,2276,2279,2282,2285,2288,2291,2294,2297,2300,2303,2306,2309,2312,2314,2316,2319,2321,2324,2327,2330,2333,2336,2339,2342,2345,2348,2351,2354,2357,2360,2363,2366,2369,2372],{"path":1836,"title":1837},"\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":1839,"title":1840},"\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":1842,"title":1843},"\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":1845,"title":1846},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1848,"title":1849},"\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":1851,"title":1852},"\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":1854,"title":1855},"\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":1857,"title":1858},"\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":1860,"title":1861},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1863,"title":1864},"\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":1866,"title":1867},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1869,"title":1870},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1872,"title":1873},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1875,"title":1876},"\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":1878,"title":1879},"\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":1881,"title":1882},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1884,"title":1885},"\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":1887,"title":1888},"\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":1890,"title":1891},"\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":1893,"title":1894},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1896,"title":1897},"\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":1899,"title":1900},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1902,"title":1903},"\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":1905,"title":1906},"\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":1908,"title":1909},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1911,"title":1912},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1914,"title":1915},"\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":1917,"title":1918},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1920,"title":1921},"\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":1923,"title":1924},"\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":1926,"title":1927},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1929,"title":1930},"\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":1932,"title":1933},"\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":1935,"title":1936},"\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":1938,"title":1939},"\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":1941,"title":1942},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1944,"title":1945},"\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":1947,"title":1948},"\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":1950,"title":1951},"\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":1953,"title":1954},"\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":1956,"title":1957},"\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":1959,"title":1960},"\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":1962,"title":1963},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1965,"title":1966},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1968,"title":1969},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1971,"title":1972},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1974,"title":1975},"\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":1977,"title":1978},"\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":1980,"title":1981},"\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":1983,"title":1984},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1986,"title":1987},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1989,"title":1990},"\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":1992,"title":1993},"\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":1995,"title":1996},"\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":1998,"title":1999},"\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":2001,"title":2002},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2004,"title":2005},"\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":2007,"title":2008},"\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":2010,"title":2011},"\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":2013,"title":2014},"\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":2016,"title":2017},"\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":2019,"title":2020},"\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":2022,"title":2023},"\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":2025,"title":2026},"\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":2028,"title":2029},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2031,"title":2032},"\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":2034,"title":2035},"\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":2037,"title":2038},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2040,"title":2041},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2043,"title":2044},"\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":2046,"title":2047},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2049,"title":2050},"\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":2052,"title":2053},"\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":2055,"title":2056},"\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":2058,"title":2059},"\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":2061,"title":2062},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2064,"title":2065},"\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":2067,"title":2068},"\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":2070,"title":2071},"\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":2073,"title":2074},"\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":2076,"title":2077},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2079,"title":2080},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2082,"title":2083},"\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":2085,"title":2086},"\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":2088,"title":2089},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2091,"title":2092},"\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":2094,"title":2095},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2097,"title":2098},"\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":2100,"title":2101},"\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":2103,"title":2104},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2106,"title":2107},"\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":2109,"title":2110},"\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":2112,"title":2113},"\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":2115,"title":2116},"\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":2118,"title":2119},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2121,"title":2122},"\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":2124,"title":2125},"\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":2127,"title":2128},"\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":2130,"title":2131},"\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":2133,"title":2134},"\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":2136,"title":2137},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2139,"title":2140},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2142,"title":2143},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2145,"title":2146},"\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":2148,"title":2149},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2151,"title":2152},"\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":2154,"title":2155},"\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":2157,"title":2158},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2160,"title":2161},"\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":2163,"title":2164},"\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":2166,"title":2167},"\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":2169,"title":2170},"\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":2172,"title":2173},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2175,"title":2176},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2178,"title":1786},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcustom-domains-and-tls-on-cloudflare-pages",{"path":2180,"title":2181},"\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":2183,"title":2184},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2186,"title":2187},"\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":2189,"title":2190},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2192,"title":2193},"\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":2195,"title":2196},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2198,"title":2199},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2201,"title":2202},"\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":2204,"title":2205},"\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":2207,"title":2208},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2210,"title":2211},"\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":2213,"title":2214},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2216,"title":2217},"\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":2219,"title":2220},"\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":2222,"title":2223},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2225,"title":2226},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2228,"title":2229},"\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":2231,"title":2232},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2234,"title":2235},"\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":2237,"title":2238},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2240,"title":2241},"\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":2243,"title":2244},"\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":2246,"title":2247},"\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":2249,"title":2250},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2252,"title":2253},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2255,"title":2256},"\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":2258,"title":1772},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fcrawling-for-broken-links-on-a-schedule",{"path":2260,"title":37},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production",{"path":2262,"title":1641},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge",{"path":1829,"title":5},{"path":2265,"title":2266},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2268,"title":2269},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2271,"title":2272},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2274,"title":2275},"\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":2277,"title":2278},"\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":2280,"title":2281},"\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":2283,"title":2284},"\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":2286,"title":2287},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2289,"title":2290},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2292,"title":2293},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2295,"title":2296},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2298,"title":2299},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2301,"title":2302},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2304,"title":2305},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2307,"title":2308},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2310,"title":2311},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2313,"title":1558},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-a-bad-static-deploy-in-under-a-minute",{"path":2315,"title":1765},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url",{"path":2317,"title":2318},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2320,"title":1779},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely",{"path":2322,"title":2323},"\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":2325,"title":2326},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2328,"title":2329},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2331,"title":2332},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2334,"title":2335},"\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":2337,"title":2338},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2340,"title":2341},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2343,"title":2344},"\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":2346,"title":2347},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2349,"title":2350},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2352,"title":2353},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2355,"title":2356},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2358,"title":2359},"\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":2361,"title":2362},"\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":2364,"title":2365},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2367,"title":2368},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2370,"title":2371},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2373,"title":2374},"\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",1789722847833]