[{"data":1,"prerenderedAt":2188},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data":3,"all-docs-nav":1645},{"id":4,"title":5,"body":6,"breadcrumb":1622,"dateModified":1631,"datePublished":1631,"description":1632,"extension":1633,"faq":1634,"meta":1639,"navigation":105,"path":1640,"seo":1641,"slug":12,"stem":1642,"type":1643,"__hash__":1644},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data\u002Findex.md","Building a Core Web Vitals Dashboard from RUM Data",{"type":7,"value":8,"toc":1604},"minimark",[9,13,17,31,36,49,53,61,476,500,504,507,937,940,1089,1093,1096,1103,1145,1151,1234,1244,1346,1350,1357,1361,1364,1368,1371,1457,1460,1464,1520,1524,1527,1531,1536,1539,1543,1546,1550,1553,1557,1560,1564,1600],[10,11,5],"h1",{"id":12},"building-a-core-web-vitals-dashboard-from-rum-data",[14,15,16],"p",{},"Lab tests tell you how a page loads on an emulated phone; the Chrome User Experience Report tells you how it performed for a sample of Chrome users over the last 28 days. Neither tells you how the page you deployed this morning is performing for your readers right now, broken down by template, device and navigation type, with the element responsible for a slow LCP or the handler behind a slow INP. Real-user monitoring does, and for a static site it needs about 40 lines of client code, a small edge function and a storage table.",[14,18,19,20,25,26,30],{},"This guide builds that pipeline and the three charts worth looking at. 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",", and pairs with ",[21,27,29],{"href":28},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fcomparing-lab-and-field-data-with-crux\u002F","Comparing Lab and Field Data with CrUX",".",[32,33,35],"h2",{"id":34},"prerequisites","Prerequisites",[37,38,39,43,46],"ul",{},[40,41,42],"li",{},"A static site where you can add a small script to the base layout.",[40,44,45],{},"An endpoint to receive beacons — a Cloudflare Worker, a Netlify or Vercel function, or a Lambda behind CloudFront.",[40,47,48],{},"A place to store and query events: Workers Analytics Engine, ClickHouse, BigQuery or a Postgres table.",[32,50,52],{"id":51},"step-1-collect-with-attribution","Step 1: Collect With Attribution",[14,54,55,56,60],{},"The ",[57,58,59],"code",{},"web-vitals"," library's attribution build reports each metric with the details that explain it: the LCP element and its resource timing breakdown, the INP interaction target and event type, the largest CLS shift's element.",[62,63,68],"pre",{"className":64,"code":65,"language":66,"meta":67,"style":67},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F src\u002Fscripts\u002Frum.js — loaded with type=\"module\" in the base layout\nimport { onLCP, onINP, onCLS, onTTFB } from 'web-vitals\u002Fattribution';\n\nconst template = document.body.dataset.template ?? 'unknown';\nconst deploy = document.querySelector('meta[name=\"deploy-id\"]')?.content ?? '';\nconst queue = [];\n\nfunction add(m) {\n  const a = m.attribution ?? {};\n  queue.push({\n    n: m.name, v: Math.round(m.name === 'CLS' ? m.value * 1000 : m.value),\n    r: m.rating, nav: m.navigationType, t: template, d: deploy,\n    el: a.element ?? a.interactionTarget ?? a.largestShiftTarget ?? '',\n    ev: a.interactionType ?? '',\n    sub: m.name === 'LCP' ? [a.timeToFirstByte, a.resourceLoadDelay, a.resourceLoadDuration, a.elementRenderDelay].map(Math.round) : null,\n  });\n}\nonLCP(add); onINP(add); onCLS(add); onTTFB(add);\n\naddEventListener('visibilitychange', () => {\n  if (document.visibilityState === 'hidden' && queue.length) {\n    navigator.sendBeacon('\u002Fapi\u002Frum', JSON.stringify(queue.splice(0)));\n  }\n});\n","js","",[57,69,70,79,100,107,131,164,177,182,200,219,231,267,273,296,308,338,344,350,375,380,400,425,464,470],{"__ignoreMap":67},[71,72,75],"span",{"class":73,"line":74},"line",1,[71,76,78],{"class":77},"sJ8bj","\u002F\u002F src\u002Fscripts\u002Frum.js — loaded with type=\"module\" in the base layout\n",[71,80,82,86,90,93,97],{"class":73,"line":81},2,[71,83,85],{"class":84},"szBVR","import",[71,87,89],{"class":88},"sVt8B"," { onLCP, onINP, onCLS, onTTFB } ",[71,91,92],{"class":84},"from",[71,94,96],{"class":95},"sZZnC"," 'web-vitals\u002Fattribution'",[71,98,99],{"class":88},";\n",[71,101,103],{"class":73,"line":102},3,[71,104,106],{"emptyLinePlaceholder":105},true,"\n",[71,108,110,113,117,120,123,126,129],{"class":73,"line":109},4,[71,111,112],{"class":84},"const",[71,114,116],{"class":115},"sj4cs"," template",[71,118,119],{"class":84}," =",[71,121,122],{"class":88}," document.body.dataset.template ",[71,124,125],{"class":84},"??",[71,127,128],{"class":95}," 'unknown'",[71,130,99],{"class":88},[71,132,134,136,139,141,144,148,151,154,157,159,162],{"class":73,"line":133},5,[71,135,112],{"class":84},[71,137,138],{"class":115}," deploy",[71,140,119],{"class":84},[71,142,143],{"class":88}," document.",[71,145,147],{"class":146},"sScJk","querySelector",[71,149,150],{"class":88},"(",[71,152,153],{"class":95},"'meta[name=\"deploy-id\"]'",[71,155,156],{"class":88},")?.content ",[71,158,125],{"class":84},[71,160,161],{"class":95}," ''",[71,163,99],{"class":88},[71,165,167,169,172,174],{"class":73,"line":166},6,[71,168,112],{"class":84},[71,170,171],{"class":115}," queue",[71,173,119],{"class":84},[71,175,176],{"class":88}," [];\n",[71,178,180],{"class":73,"line":179},7,[71,181,106],{"emptyLinePlaceholder":105},[71,183,185,188,191,193,197],{"class":73,"line":184},8,[71,186,187],{"class":84},"function",[71,189,190],{"class":146}," add",[71,192,150],{"class":88},[71,194,196],{"class":195},"s4XuR","m",[71,198,199],{"class":88},") {\n",[71,201,203,206,209,211,214,216],{"class":73,"line":202},9,[71,204,205],{"class":84},"  const",[71,207,208],{"class":115}," a",[71,210,119],{"class":84},[71,212,213],{"class":88}," m.attribution ",[71,215,125],{"class":84},[71,217,218],{"class":88}," {};\n",[71,220,222,225,228],{"class":73,"line":221},10,[71,223,224],{"class":88},"  queue.",[71,226,227],{"class":146},"push",[71,229,230],{"class":88},"({\n",[71,232,234,237,240,243,246,249,252,255,258,261,264],{"class":73,"line":233},11,[71,235,236],{"class":88},"    n: m.name, v: Math.",[71,238,239],{"class":146},"round",[71,241,242],{"class":88},"(m.name ",[71,244,245],{"class":84},"===",[71,247,248],{"class":95}," 'CLS'",[71,250,251],{"class":84}," ?",[71,253,254],{"class":88}," m.value ",[71,256,257],{"class":84},"*",[71,259,260],{"class":115}," 1000",[71,262,263],{"class":84}," :",[71,265,266],{"class":88}," m.value),\n",[71,268,270],{"class":73,"line":269},12,[71,271,272],{"class":88},"    r: m.rating, nav: m.navigationType, t: template, d: deploy,\n",[71,274,276,279,281,284,286,289,291,293],{"class":73,"line":275},13,[71,277,278],{"class":88},"    el: a.element ",[71,280,125],{"class":84},[71,282,283],{"class":88}," a.interactionTarget ",[71,285,125],{"class":84},[71,287,288],{"class":88}," a.largestShiftTarget ",[71,290,125],{"class":84},[71,292,161],{"class":95},[71,294,295],{"class":88},",\n",[71,297,299,302,304,306],{"class":73,"line":298},14,[71,300,301],{"class":88},"    ev: a.interactionType ",[71,303,125],{"class":84},[71,305,161],{"class":95},[71,307,295],{"class":88},[71,309,311,314,316,319,321,324,327,330,333,336],{"class":73,"line":310},15,[71,312,313],{"class":88},"    sub: m.name ",[71,315,245],{"class":84},[71,317,318],{"class":95}," 'LCP'",[71,320,251],{"class":84},[71,322,323],{"class":88}," [a.timeToFirstByte, a.resourceLoadDelay, a.resourceLoadDuration, a.elementRenderDelay].",[71,325,326],{"class":146},"map",[71,328,329],{"class":88},"(Math.round) ",[71,331,332],{"class":84},":",[71,334,335],{"class":115}," null",[71,337,295],{"class":88},[71,339,341],{"class":73,"line":340},16,[71,342,343],{"class":88},"  });\n",[71,345,347],{"class":73,"line":346},17,[71,348,349],{"class":88},"}\n",[71,351,353,356,359,362,364,367,369,372],{"class":73,"line":352},18,[71,354,355],{"class":146},"onLCP",[71,357,358],{"class":88},"(add); ",[71,360,361],{"class":146},"onINP",[71,363,358],{"class":88},[71,365,366],{"class":146},"onCLS",[71,368,358],{"class":88},[71,370,371],{"class":146},"onTTFB",[71,373,374],{"class":88},"(add);\n",[71,376,378],{"class":73,"line":377},19,[71,379,106],{"emptyLinePlaceholder":105},[71,381,383,386,388,391,394,397],{"class":73,"line":382},20,[71,384,385],{"class":146},"addEventListener",[71,387,150],{"class":88},[71,389,390],{"class":95},"'visibilitychange'",[71,392,393],{"class":88},", () ",[71,395,396],{"class":84},"=>",[71,398,399],{"class":88}," {\n",[71,401,403,406,409,411,414,417,420,423],{"class":73,"line":402},21,[71,404,405],{"class":84},"  if",[71,407,408],{"class":88}," (document.visibilityState ",[71,410,245],{"class":84},[71,412,413],{"class":95}," 'hidden'",[71,415,416],{"class":84}," &&",[71,418,419],{"class":88}," queue.",[71,421,422],{"class":115},"length",[71,424,199],{"class":88},[71,426,428,431,434,436,439,442,445,447,450,453,456,458,461],{"class":73,"line":427},22,[71,429,430],{"class":88},"    navigator.",[71,432,433],{"class":146},"sendBeacon",[71,435,150],{"class":88},[71,437,438],{"class":95},"'\u002Fapi\u002Frum'",[71,440,441],{"class":88},", ",[71,443,444],{"class":115},"JSON",[71,446,30],{"class":88},[71,448,449],{"class":146},"stringify",[71,451,452],{"class":88},"(queue.",[71,454,455],{"class":146},"splice",[71,457,150],{"class":88},[71,459,460],{"class":115},"0",[71,462,463],{"class":88},")));\n",[71,465,467],{"class":73,"line":466},23,[71,468,469],{"class":88},"  }\n",[71,471,473],{"class":73,"line":472},24,[71,474,475],{"class":88},"});\n",[14,477,478,479,482,483,486,487,490,491,495,496,499],{},"The base layout sets ",[57,480,481],{},"data-template"," on ",[57,484,485],{},"\u003Cbody>"," from the generator's layout name and writes a ",[57,488,489],{},"deploy-id"," meta tag from the commit SHA. Those two fields are what make the data actionable: every regression can be tied to a template and to the deploy that introduced it. If analytics must ignore prerendered pages, follow the gate in ",[21,492,494],{"href":493},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules\u002F","Instant Navigation with Speculation Rules"," — though for vitals, keeping prerendered navigations and labelling them via ",[57,497,498],{},"navigationType"," is more informative.",[32,501,503],{"id":502},"step-2-receive-and-store-at-the-edge","Step 2: Receive and Store at the Edge",[14,505,506],{},"A Cloudflare Worker validates the batch, adds the country and device class from the request, and writes to Workers Analytics Engine:",[62,508,510],{"className":64,"code":509,"language":66,"meta":67,"style":67},"export default {\n  async fetch(req, env) {\n    if (req.method !== 'POST') return new Response(null, { status: 405 });\n    const items = await req.json().catch(() => []);\n    const mobile = \u002FMobi|Android\u002Fi.test(req.headers.get('user-agent') ?? '');\n    for (const i of items.slice(0, 10)) {\n      if (!['LCP', 'INP', 'CLS', 'TTFB'].includes(i.n) || !(i.v >= 0 && i.v \u003C 60000)) continue;\n      env.RUM.writeDataPoint({\n        indexes: [i.t],\n        blobs: [i.n, i.t, i.nav ?? '', mobile ? 'mobile' : 'desktop', req.cf?.country ?? '', i.d ?? '', (i.el ?? '').slice(0, 200), i.ev ?? ''],\n        doubles: [i.v, ...(i.sub ?? [0, 0, 0, 0])],\n      });\n    }\n    return new Response(null, { status: 204 });\n  },\n};\n",[57,511,512,522,542,582,615,668,702,776,791,796,864,897,902,907,927,932],{"__ignoreMap":67},[71,513,514,517,520],{"class":73,"line":74},[71,515,516],{"class":84},"export",[71,518,519],{"class":84}," default",[71,521,399],{"class":88},[71,523,524,527,530,532,535,537,540],{"class":73,"line":81},[71,525,526],{"class":84},"  async",[71,528,529],{"class":146}," fetch",[71,531,150],{"class":88},[71,533,534],{"class":195},"req",[71,536,441],{"class":88},[71,538,539],{"class":195},"env",[71,541,199],{"class":88},[71,543,544,547,550,553,556,559,562,565,568,570,573,576,579],{"class":73,"line":102},[71,545,546],{"class":84},"    if",[71,548,549],{"class":88}," (req.method ",[71,551,552],{"class":84},"!==",[71,554,555],{"class":95}," 'POST'",[71,557,558],{"class":88},") ",[71,560,561],{"class":84},"return",[71,563,564],{"class":84}," new",[71,566,567],{"class":146}," Response",[71,569,150],{"class":88},[71,571,572],{"class":115},"null",[71,574,575],{"class":88},", { status: ",[71,577,578],{"class":115},"405",[71,580,581],{"class":88}," });\n",[71,583,584,587,590,592,595,598,601,604,607,610,612],{"class":73,"line":109},[71,585,586],{"class":84},"    const",[71,588,589],{"class":115}," items",[71,591,119],{"class":84},[71,593,594],{"class":84}," await",[71,596,597],{"class":88}," req.",[71,599,600],{"class":146},"json",[71,602,603],{"class":88},"().",[71,605,606],{"class":146},"catch",[71,608,609],{"class":88},"(() ",[71,611,396],{"class":84},[71,613,614],{"class":88}," []);\n",[71,616,617,619,622,624,627,631,634,637,640,643,645,648,651,654,656,659,661,663,665],{"class":73,"line":133},[71,618,586],{"class":84},[71,620,621],{"class":115}," mobile",[71,623,119],{"class":84},[71,625,626],{"class":95}," \u002F",[71,628,630],{"class":629},"sA_wV","Mobi",[71,632,633],{"class":84},"|",[71,635,636],{"class":629},"Android",[71,638,639],{"class":95},"\u002F",[71,641,642],{"class":84},"i",[71,644,30],{"class":88},[71,646,647],{"class":146},"test",[71,649,650],{"class":88},"(req.headers.",[71,652,653],{"class":146},"get",[71,655,150],{"class":88},[71,657,658],{"class":95},"'user-agent'",[71,660,558],{"class":88},[71,662,125],{"class":84},[71,664,161],{"class":95},[71,666,667],{"class":88},");\n",[71,669,670,673,676,678,681,684,687,690,692,694,696,699],{"class":73,"line":166},[71,671,672],{"class":84},"    for",[71,674,675],{"class":88}," (",[71,677,112],{"class":84},[71,679,680],{"class":115}," i",[71,682,683],{"class":84}," of",[71,685,686],{"class":88}," items.",[71,688,689],{"class":146},"slice",[71,691,150],{"class":88},[71,693,460],{"class":115},[71,695,441],{"class":88},[71,697,698],{"class":115},"10",[71,700,701],{"class":88},")) {\n",[71,703,704,707,709,712,715,718,720,723,725,728,730,733,736,739,742,745,748,751,754,757,759,762,765,768,771,774],{"class":73,"line":179},[71,705,706],{"class":84},"      if",[71,708,675],{"class":88},[71,710,711],{"class":84},"!",[71,713,714],{"class":88},"[",[71,716,717],{"class":95},"'LCP'",[71,719,441],{"class":88},[71,721,722],{"class":95},"'INP'",[71,724,441],{"class":88},[71,726,727],{"class":95},"'CLS'",[71,729,441],{"class":88},[71,731,732],{"class":95},"'TTFB'",[71,734,735],{"class":88},"].",[71,737,738],{"class":146},"includes",[71,740,741],{"class":88},"(i.n) ",[71,743,744],{"class":84},"||",[71,746,747],{"class":84}," !",[71,749,750],{"class":88},"(i.v ",[71,752,753],{"class":84},">=",[71,755,756],{"class":115}," 0",[71,758,416],{"class":84},[71,760,761],{"class":88}," i.v ",[71,763,764],{"class":84},"\u003C",[71,766,767],{"class":115}," 60000",[71,769,770],{"class":88},")) ",[71,772,773],{"class":84},"continue",[71,775,99],{"class":88},[71,777,778,781,784,786,789],{"class":73,"line":184},[71,779,780],{"class":88},"      env.",[71,782,783],{"class":115},"RUM",[71,785,30],{"class":88},[71,787,788],{"class":146},"writeDataPoint",[71,790,230],{"class":88},[71,792,793],{"class":73,"line":202},[71,794,795],{"class":88},"        indexes: [i.t],\n",[71,797,798,801,803,805,808,811,814,816,819,822,824,826,829,831,833,836,838,840,843,845,847,849,851,854,857,859,861],{"class":73,"line":221},[71,799,800],{"class":88},"        blobs: [i.n, i.t, i.nav ",[71,802,125],{"class":84},[71,804,161],{"class":95},[71,806,807],{"class":88},", mobile ",[71,809,810],{"class":84},"?",[71,812,813],{"class":95}," 'mobile'",[71,815,263],{"class":84},[71,817,818],{"class":95}," 'desktop'",[71,820,821],{"class":88},", req.cf?.country ",[71,823,125],{"class":84},[71,825,161],{"class":95},[71,827,828],{"class":88},", i.d ",[71,830,125],{"class":84},[71,832,161],{"class":95},[71,834,835],{"class":88},", (i.el ",[71,837,125],{"class":84},[71,839,161],{"class":95},[71,841,842],{"class":88},").",[71,844,689],{"class":146},[71,846,150],{"class":88},[71,848,460],{"class":115},[71,850,441],{"class":88},[71,852,853],{"class":115},"200",[71,855,856],{"class":88},"), i.ev ",[71,858,125],{"class":84},[71,860,161],{"class":95},[71,862,863],{"class":88},"],\n",[71,865,866,869,872,875,877,880,882,884,886,888,890,892,894],{"class":73,"line":233},[71,867,868],{"class":88},"        doubles: [i.v, ",[71,870,871],{"class":84},"...",[71,873,874],{"class":88},"(i.sub ",[71,876,125],{"class":84},[71,878,879],{"class":88}," [",[71,881,460],{"class":115},[71,883,441],{"class":88},[71,885,460],{"class":115},[71,887,441],{"class":88},[71,889,460],{"class":115},[71,891,441],{"class":88},[71,893,460],{"class":115},[71,895,896],{"class":88},"])],\n",[71,898,899],{"class":73,"line":269},[71,900,901],{"class":88},"      });\n",[71,903,904],{"class":73,"line":275},[71,905,906],{"class":88},"    }\n",[71,908,909,912,914,916,918,920,922,925],{"class":73,"line":298},[71,910,911],{"class":84},"    return",[71,913,564],{"class":84},[71,915,567],{"class":146},[71,917,150],{"class":88},[71,919,572],{"class":115},[71,921,575],{"class":88},[71,923,924],{"class":115},"204",[71,926,581],{"class":88},[71,928,929],{"class":73,"line":310},[71,930,931],{"class":88},"  },\n",[71,933,934],{"class":73,"line":340},[71,935,936],{"class":88},"};\n",[14,938,939],{},"Validation matters: RUM endpoints are public, so bound values, cap batch sizes and ignore unknown metrics. Analytics Engine charges per data point written and read; at 1.2 million page views a month with four metrics each, the bill was about 3 USD.",[941,942,943,1085],"figure",{},[944,945,952,953,952,957,952,961,952,967,952,1070],"svg",{"viewBox":946,"role":947,"ariaLabelledBy":948,"xmlns":951},"0 0 760 270","img",[949,950],"rum-pipe-title","rum-pipe-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[954,955,956],"title",{"id":949},"RUM pipeline for a static site",[958,959,960],"desc",{"id":950},"In the browser, web-vitals with attribution collects LCP, INP, CLS and TTFB and sends one beacon when the page is hidden. An edge function validates and enriches the batch with device class and country, then writes rows to an analytics store. A scheduled query aggregates p75 by template, device and navigation type into a dashboard and alerts.",[962,963],"rect",{"x":460,"y":460,"width":964,"height":965,"fill":966},"760","270","#ffffff",[968,969,971,972,971,980,971,988,971,994,971,1000,971,1004,971,1008,971,1012,971,1015,971,1018,971,1024,971,1028,971,1031,971,1034,971,1041,971,1045,971,1048,971,1051,971,1067,952],"g",{"style":970},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[973,974,979],"text",{"x":975,"y":976,"fill":977,"style":978},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Four steps from reader to chart",[962,981],{"x":982,"y":983,"width":984,"height":983,"rx":698,"fill":985,"opacity":986,"stroke":985,"style":987},"20","80","160","#1982c4","0.14","stroke-width:1.5px",[973,989,993],{"x":990,"y":991,"fill":977,"style":992},"100","106","font-weight:700;text-anchor:middle","browser",[973,995,999],{"x":990,"y":996,"fill":997,"style":998},"126","#556071","font-size:11px;text-anchor:middle","web-vitals + attribution",[973,1001,1003],{"x":990,"y":1002,"fill":997,"style":998},"144","~2 KB, 1 beacon",[962,1005],{"x":1006,"y":983,"width":984,"height":983,"rx":698,"fill":1007,"opacity":986,"stroke":1007,"style":987},"210","#6a4c93",[973,1009,1011],{"x":1010,"y":991,"fill":977,"style":992},"290","edge function",[973,1013,1014],{"x":1010,"y":996,"fill":997,"style":998},"validate + enrich",[973,1016,1017],{"x":1010,"y":1002,"fill":997,"style":998},"device, country",[962,1019],{"x":1020,"y":983,"width":984,"height":983,"rx":698,"fill":1021,"opacity":1022,"stroke":1023,"style":987},"400","#ffca3a","0.24","#a97b00",[973,1025,1027],{"x":1026,"y":991,"fill":977,"style":992},"480","analytics store",[973,1029,1030],{"x":1026,"y":996,"fill":997,"style":998},"one row per metric",[973,1032,1033],{"x":1026,"y":1002,"fill":997,"style":998},"~3 USD \u002F month",[962,1035],{"x":1036,"y":983,"width":1037,"height":983,"rx":698,"fill":1038,"opacity":1039,"stroke":1040,"style":987},"590","150","#8ac926","0.18","#5a8a16",[973,1042,1044],{"x":1043,"y":991,"fill":977,"style":992},"665","dashboard",[973,1046,1047],{"x":1043,"y":996,"fill":997,"style":998},"p75 by template",[973,1049,1050],{"x":1043,"y":1002,"fill":997,"style":998},"+ daily alert",[968,1052,1055,1056,1055,1061,1055,1064,971],{"stroke":997,"fill":1053,"style":1054},"none","stroke-width:2px","\n      ",[1057,1058],"path",{"d":1059,"style":1060},"M182 120 L206 120","marker-end:url(#rum-arrow)",[1057,1062],{"d":1063,"style":1060},"M372 120 L396 120",[1057,1065],{"d":1066,"style":1060},"M562 120 L586 120",[973,1068,1069],{"x":975,"y":1006,"fill":997,"style":998},"Template and deploy ID travel with every row, so a regression names its page type and its commit",[1071,1072,971,1073,952],"defs",{},[1074,1075,1055,1082,971],"marker",{"id":1076,"viewBox":1077,"refX":1078,"refY":1079,"markerWidth":1080,"markerHeight":1080,"orient":1081},"rum-arrow","0 0 10 10","8","5","7","auto-start-reverse",[1057,1083],{"d":1084,"fill":997},"M0 0 L10 5 L0 10 z",[1086,1087,1088],"figcaption",{},"No third party receives reader data, and the whole pipeline runs on the same platform as the site.",[32,1090,1092],{"id":1091},"step-3-the-three-charts-worth-having","Step 3: The Three Charts Worth Having",[14,1094,1095],{},"Dashboards with twenty panels go unread. Three charts answer nearly every question:",[14,1097,1098,1102],{},[1099,1100,1101],"strong",{},"1. p75 per metric per template, daily, mobile and desktop split."," This is the headline. It shows which templates pass the thresholds (LCP ≤ 2.5 s, INP ≤ 200 ms, CLS ≤ 0.1) and whether they are moving.",[62,1104,1108],{"className":1105,"code":1106,"language":1107,"meta":67,"style":67},"language-sql shiki shiki-themes github-light github-dark","SELECT blob2 AS template, blob4 AS device, blob1 AS metric,\n       quantileWeighted(0.75)(double1, _sample_interval) AS p75,\n       sum(_sample_interval) AS views\nFROM rum\nWHERE timestamp > now() - INTERVAL '1' DAY\nGROUP BY template, device, metric\nORDER BY template, metric;\n","sql",[57,1109,1110,1115,1120,1125,1130,1135,1140],{"__ignoreMap":67},[71,1111,1112],{"class":73,"line":74},[71,1113,1114],{},"SELECT blob2 AS template, blob4 AS device, blob1 AS metric,\n",[71,1116,1117],{"class":73,"line":81},[71,1118,1119],{},"       quantileWeighted(0.75)(double1, _sample_interval) AS p75,\n",[71,1121,1122],{"class":73,"line":102},[71,1123,1124],{},"       sum(_sample_interval) AS views\n",[71,1126,1127],{"class":73,"line":109},[71,1128,1129],{},"FROM rum\n",[71,1131,1132],{"class":73,"line":133},[71,1133,1134],{},"WHERE timestamp > now() - INTERVAL '1' DAY\n",[71,1136,1137],{"class":73,"line":166},[71,1138,1139],{},"GROUP BY template, device, metric\n",[71,1141,1142],{"class":73,"line":179},[71,1143,1144],{},"ORDER BY template, metric;\n",[14,1146,1147,1150],{},[1099,1148,1149],{},"2. p75 by deploy ID for the last ten deploys."," A regression appears as a step at a specific deploy; the chart names the commit.",[941,1152,1153,1231],{},[944,1154,952,1159,952,1162,952,1165,952,1168],{"viewBox":1155,"role":947,"ariaLabelledBy":1156,"xmlns":951},"0 0 760 250",[1157,1158],"rum-dep-title","rum-dep-desc",[954,1160,1161],{"id":1157},"LCP p75 by deploy on the home template",[958,1163,1164],{"id":1158},"Ten deploys along the x axis. Mobile LCP p75 on the home template sits near 1.8 seconds, jumps to 2.6 seconds at deploy 7 which added an unsized hero image, and returns to 1.8 seconds at deploy 9 after the fix.",[962,1166],{"x":460,"y":460,"width":964,"height":1167,"fill":966},"250",[968,1169,971,1170,971,1173,971,1177,971,1180,971,1184,971,1191,971,1195,971,1199,971,1204,971,1210,971,1214,971,1220,971,1224,971,1227,952],{"style":970},[973,1171,1172],{"x":975,"y":976,"fill":977,"style":978},"A regression shows up as a step at one deploy",[73,1174],{"x1":1175,"y1":853,"x2":1176,"y2":853,"stroke":997,"style":987},"70","720",[73,1178],{"x1":1175,"y1":1179,"x2":1175,"y2":853,"stroke":997,"style":987},"50",[73,1181],{"x1":1175,"y1":983,"x2":1176,"y2":983,"stroke":1182,"style":1183},"#d83b41","stroke-width:1px;stroke-dasharray:5 4",[973,1185,1190],{"x":1186,"y":1187,"fill":1188,"style":1189},"716","74","#b32b30","font-size:11px;text-anchor:end","2.5 s threshold",[973,1192,1194],{"x":1193,"y":924,"fill":997,"style":1189},"62","1.0 s",[973,1196,1198],{"x":1193,"y":1197,"fill":997,"style":1189},"54","3.0 s",[1200,1201],"polyline",{"points":1202,"fill":1053,"stroke":1007,"style":1203},"100,140 170,141 240,139 310,142 380,140 450,141 520,74 590,73 660,140 710,139","stroke-width:2.5px",[1205,1206],"circle",{"cx":1207,"cy":1187,"r":1208,"fill":1209,"stroke":1182,"style":987},"520","6","#ff595e",[973,1211,1213],{"x":1207,"y":1193,"fill":1188,"style":1212},"font-size:11px;font-weight:700;text-anchor:middle","deploy 7 · a3f9e21",[973,1215,1219],{"x":1216,"y":1217,"fill":1218,"style":1212},"660","164","#3f6410","fixed in deploy 9",[973,1221,1223],{"x":990,"y":1222,"fill":997,"style":998},"220","1",[973,1225,698],{"x":1226,"y":1222,"fill":997,"style":998},"710",[973,1228,1230],{"x":1020,"y":1229,"fill":997,"style":998},"240","home template, mobile, p75 per deploy (each deploy live ≥ 1 day)",[1086,1232,1233],{},"Because every beacon carries the deploy ID, the chart points straight at the commit that caused the jump.",[14,1235,1236,1239,1240,1243],{},[1099,1237,1238],{},"3. Top attribution targets for failing views."," For views rated \"poor\", the most common LCP elements, INP targets and CLS shift sources. This is the chart that produces fixes: \"",[57,1241,1242],{},"button.copy-code"," accounts for 38% of poor INP on the guide template\" is a ticket; \"INP is 230 ms\" is not.",[941,1245,1246,1343],{},[944,1247,952,1252,952,1255,952,1258,952,1261],{"viewBox":1248,"role":947,"ariaLabelledBy":1249,"xmlns":951},"0 0 760 280",[1250,1251],"rum-attr-title","rum-attr-desc",[954,1253,1254],{"id":1250},"Top INP targets for poor interactions on the guide template",[958,1256,1257],{"id":1251},"Horizontal bars of the share of poor INP interactions by target element. The copy-code button accounts for 38 percent, the table-of-contents toggle for 21 percent, the search input for 17 percent, the theme toggle for 9 percent, and other elements for 15 percent.",[962,1259],{"x":460,"y":460,"width":964,"height":1260,"fill":966},"280",[968,1262,971,1263,971,1266,971,1272,971,1276,971,1283,971,1289,971,1293,971,1296,971,1301,971,1305,971,1310,971,1315,971,1319,971,1323,971,1328,971,1332,971,1335,971,1340,952],{"style":970},[973,1264,1265],{"x":975,"y":976,"fill":977,"style":978},"Poor INP on the guide template, by interaction target",[73,1267],{"x1":1268,"y1":1269,"x2":1268,"y2":1270,"stroke":1271,"style":987},"230","46","246","#d9e2ef",[973,1273,1242],{"x":1274,"y":1187,"fill":977,"style":1275},"40","font-family:ui-monospace, monospace",[962,1277],{"x":1268,"y":1278,"width":975,"height":1279,"rx":1280,"fill":1209,"opacity":1281,"stroke":1182,"style":1282},"60","22","4","0.3","stroke-width:1px",[973,1284,1288],{"x":1285,"y":1286,"fill":977,"style":1287},"620","76","font-weight:700","38%",[973,1290,1292],{"x":1274,"y":1291,"fill":977,"style":1275},"114","details.toc",[962,1294],{"x":1268,"y":990,"width":1006,"height":1279,"rx":1280,"fill":1021,"opacity":1295,"stroke":1023,"style":1282},"0.4",[973,1297,1300],{"x":1298,"y":1299,"fill":977,"style":1287},"450","116","21%",[973,1302,1304],{"x":1274,"y":1303,"fill":977,"style":1275},"154","input#search",[962,1306],{"x":1268,"y":1307,"width":1308,"height":1279,"rx":1280,"fill":985,"opacity":1309,"stroke":985,"style":1282},"140","170","0.25",[973,1311,1314],{"x":1312,"y":1313,"fill":977,"style":1287},"410","156","17%",[973,1316,1318],{"x":1274,"y":1317,"fill":977,"style":1275},"194","button.theme-toggle",[962,1320],{"x":1268,"y":1321,"width":1322,"height":1279,"rx":1280,"fill":1007,"opacity":1309,"stroke":1007,"style":1282},"180","90",[973,1324,1327],{"x":1325,"y":1326,"fill":977,"style":1287},"330","196","9%",[973,1329,1331],{"x":1274,"y":1330,"fill":977},"234","other",[962,1333],{"x":1268,"y":1222,"width":1037,"height":1279,"rx":1280,"fill":1334,"stroke":997,"style":1282},"#f8fafc",[973,1336,1339],{"x":1337,"y":1338,"fill":977,"style":1287},"390","236","15%",[973,1341,1342],{"x":975,"y":965,"fill":997,"style":998},"Interactions rated poor (INP > 500 ms), mobile, 14 days",[1086,1344,1345],{},"The copy button was running syntax re-highlighting on click; moving that to build time removed the largest bar entirely.",[32,1347,1349],{"id":1348},"step-4-alert-on-change-not-on-level","Step 4: Alert on Change, Not on Level",[14,1351,1352,1353,30],{},"Absolute thresholds make poor alerts: a template that has always had a 2.3 s LCP should not page anyone daily. Alert instead on change — p75 for a template and device up more than 20% compared with the same weekday a week earlier, with at least 2,000 views in the window. Send the alert to the team channel with the deploy chart and attribution chart linked. The same approach to thresholds is used for cache monitoring in ",[21,1354,1356],{"href":1355},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops\u002F","Alerting on Cache Hit Ratio Drops",[32,1358,1360],{"id":1359},"privacy-and-consent","Privacy and Consent",[14,1362,1363],{},"Core Web Vitals beacons as described here contain no identifiers: no cookies, no user IDs, no full URLs with query strings, and the edge function never stores the IP address. The element selectors in attribution data describe your own markup, not reader behaviour. That makes the data performance telemetry rather than behavioural tracking in most privacy frameworks, and many sites collect it without a consent prompt — but the judgement belongs to whoever owns privacy compliance for the site, and it is worth recording the reasoning. Two details keep the data minimal: strip query strings from the page path before sending, since they can contain email addresses or tokens from marketing links, and truncate attribution selectors to a fixed length so an unusual DOM cannot smuggle text content into the store.",[32,1365,1367],{"id":1366},"measured-impact","Measured Impact",[14,1369,1370],{},"Four months after the dashboard went live on a 900-page docs site:",[1372,1373,1374,1390],"table",{},[1375,1376,1377],"thead",{},[1378,1379,1380,1384,1387],"tr",{},[1381,1382,1383],"th",{},"Measure",[1381,1385,1386],{},"Before dashboard",[1381,1388,1389],{},"After 4 months",[1391,1392,1393,1405,1416,1427,1437,1446],"tbody",{},[1378,1394,1395,1399,1402],{},[1396,1397,1398],"td",{},"Time from regression to detection",[1396,1400,1401],{},"~4 weeks (CrUX)",[1396,1403,1404],{},"~1 day",[1378,1406,1407,1410,1413],{},[1396,1408,1409],{},"INP p75, guide template, mobile",[1396,1411,1412],{},"246 ms",[1396,1414,1415],{},"128 ms",[1378,1417,1418,1421,1424],{},[1396,1419,1420],{},"LCP p75, home template, mobile",[1396,1422,1423],{},"2.6 s",[1396,1425,1426],{},"1.8 s",[1378,1428,1429,1432,1434],{},[1396,1430,1431],{},"CLS p75, blog template",[1396,1433,986],{},[1396,1435,1436],{},"0.03",[1378,1438,1439,1442,1444],{},[1396,1440,1441],{},"Regressions traced to a specific deploy",[1396,1443,460],{},[1396,1445,1079],{},[1378,1447,1448,1451,1454],{},[1396,1449,1450],{},"Collection cost per month",[1396,1452,1453],{},"—",[1396,1455,1456],{},"~3 USD",[14,1458,1459],{},"Every improvement in the table came from the attribution chart naming a specific element: the copy button's click handler, an unsized hero on the homepage, a late-loading newsletter embed on the blog.",[32,1461,1463],{"id":1462},"pitfalls-rollback","Pitfalls & Rollback",[37,1465,1466,1472,1486,1492,1502,1508,1514],{},[40,1467,1468,1471],{},[1099,1469,1470],{},"No template dimension."," Site-wide p75 hides which page type is slow. Tag every beacon with the template.",[40,1473,1474,1477,1478,1481,1482,1485],{},[1099,1475,1476],{},"Sending on unload."," ",[57,1479,1480],{},"unload"," is unreliable and blocks bfcache; send on ",[57,1483,1484],{},"visibilitychange"," to hidden.",[40,1487,1488,1491],{},[1099,1489,1490],{},"Trusting beacon values blindly."," The endpoint is public; validate metric names and ranges.",[40,1493,1494,1497,1498,1501],{},[1099,1495,1496],{},"Mixing navigation types."," Prerendered and back\u002Fforward-cache navigations have near-zero LCP; averaging them with cold loads hides regressions. Chart ",[57,1499,1500],{},"navigate"," separately.",[40,1503,1504,1507],{},[1099,1505,1506],{},"Too little traffic per bucket."," A p75 from 40 views swings wildly. Hide buckets below a minimum count instead of charting noise.",[40,1509,1510,1513],{},[1099,1511,1512],{},"Charts without attribution."," Numbers alone rarely lead to fixes.",[40,1515,1516,1519],{},[1099,1517,1518],{},"Rollback:"," remove the script from the layout; collection stops on the next deploy. Stored data can be kept or dropped independently.",[32,1521,1523],{"id":1522},"conclusion","Conclusion",[14,1525,1526],{},"A RUM dashboard for a static site is a small script, a validating edge function, a cheap analytics table and three charts: p75 by template, p75 by deploy, and attribution for poor views. On a 900-page docs site it cut detection time for regressions from weeks to a day, traced five regressions to specific deploys, and — through attribution — produced the fixes that halved INP on the busiest template.",[32,1528,1530],{"id":1529},"faq","FAQ",[1532,1533,1535],"h3",{"id":1534},"why-build-my-own-rum-dashboard-instead-of-using-crux","Why build my own RUM dashboard instead of using CrUX?",[14,1537,1538],{},"CrUX is delayed by weeks, covers only Chrome users who opt in, and reports only sufficiently popular URLs. Your own RUM covers every page and browser that supports the metrics, updates within minutes, and can include attribution data that points at the element or script responsible.",[1532,1540,1542],{"id":1541},"how-much-data-does-rum-collection-add","How much data does RUM collection add?",[14,1544,1545],{},"About 2 KB of compressed JavaScript for the web-vitals library with attribution, and three small beacons per page view sent with sendBeacon when the page is hidden. It does not affect the metrics it measures.",[1532,1547,1549],{"id":1548},"should-i-sample","Should I sample?",[14,1551,1552],{},"On sites with more than a few hundred thousand page views a day, sample at 10 to 25 percent to control storage cost. The 75th percentile per template stays stable at those rates for any template with more than a few thousand views a day.",[1532,1554,1556],{"id":1555},"which-percentile-should-the-dashboard-show","Which percentile should the dashboard show?",[14,1558,1559],{},"The 75th percentile, which is what Google's Core Web Vitals thresholds use. Show the median alongside it to spot shifts that affect most readers, and the 95th to spot long tails.",[32,1561,1563],{"id":1562},"related","Related",[37,1565,1566,1574,1581,1588,1593],{},[40,1567,1568,1477,1571,1573],{},[1099,1569,1570],{},"Parent:",[21,1572,24],{"href":23}," — the other production signals.",[40,1575,1576,1580],{},[21,1577,1579],{"href":1578},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fmeasuring-inp-on-static-sites-with-real-user-monitoring\u002F","Measuring INP on Static Sites with Real-User Monitoring"," — INP collection in depth.",[40,1582,1583,1587],{},[21,1584,1586],{"href":1585},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fmeasuring-cls-in-the-field-with-web-vitals-js\u002F","Measuring CLS in the Field with web-vitals.js"," — CLS attribution details.",[40,1589,1590,1592],{},[21,1591,29],{"href":28}," — calibrating lab budgets with this data.",[40,1594,1595,1599],{},[21,1596,1598],{"href":1597},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fproxying-third-party-apis-from-an-edge-function\u002F","Proxying Third-Party APIs from an Edge Function"," — the same edge-function pattern.",[1601,1602,1603],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sA_wV, html code.shiki .sA_wV{--shiki-default:#032F62;--shiki-dark:#DBEDFF}",{"title":67,"searchDepth":81,"depth":81,"links":1605},[1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1621],{"id":34,"depth":81,"text":35},{"id":51,"depth":81,"text":52},{"id":502,"depth":81,"text":503},{"id":1091,"depth":81,"text":1092},{"id":1348,"depth":81,"text":1349},{"id":1359,"depth":81,"text":1360},{"id":1366,"depth":81,"text":1367},{"id":1462,"depth":81,"text":1463},{"id":1522,"depth":81,"text":1523},{"id":1529,"depth":81,"text":1530,"children":1616},[1617,1618,1619,1620],{"id":1534,"depth":102,"text":1535},{"id":1541,"depth":102,"text":1542},{"id":1548,"depth":102,"text":1549},{"id":1555,"depth":102,"text":1556},{"id":1562,"depth":81,"text":1563},[1623,1625,1628,1629],{"name":1624,"item":639},"Home",{"name":1626,"item":1627},"Production-Ready Deployment & CI\u002FCD Workflows","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":24,"item":23},{"name":5,"item":1630},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data\u002F","2026-09-18","Collect LCP, INP and CLS from real readers with web-vitals, store them cheaply at the edge, and chart p75 by template, device and deploy with attribution.","md",[1635,1636,1637,1638],{"q":1535,"a":1538},{"q":1542,"a":1545},{"q":1549,"a":1552},{"q":1556,"a":1559},{},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data",{"title":5,"description":1632},"production-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data\u002Findex","article","bNdFKrv-rv1vDusgiNhAqsGLrf9FLjsBODePP41oKdU",[1646,1649,1652,1655,1658,1661,1664,1667,1670,1673,1676,1679,1682,1685,1688,1691,1694,1697,1700,1703,1706,1709,1712,1715,1718,1721,1724,1727,1730,1733,1736,1739,1742,1745,1748,1751,1754,1757,1760,1763,1766,1769,1772,1775,1778,1781,1784,1787,1790,1793,1796,1799,1802,1805,1808,1811,1814,1817,1820,1823,1826,1829,1832,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,1927,1930,1933,1936,1939,1942,1945,1948,1951,1953,1956,1959,1962,1965,1968,1971,1974,1977,1980,1983,1986,1989,1992,1995,1998,2001,2004,2007,2010,2013,2016,2019,2022,2025,2028,2031,2034,2037,2040,2043,2046,2049,2052,2055,2058,2061,2063,2064,2067,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,2180,2183,2186],{"path":1647,"title":1648},"\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":1650,"title":1651},"\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":1653,"title":1654},"\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":1656,"title":1657},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1659,"title":1660},"\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":1662,"title":1663},"\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":1665,"title":1666},"\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":1668,"title":1669},"\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":1671,"title":1672},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1674,"title":1675},"\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":1677,"title":1678},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1680,"title":1681},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1683,"title":1684},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1686,"title":1687},"\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":1689,"title":1690},"\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":1692,"title":1693},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1695,"title":1696},"\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":1698,"title":1699},"\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":1701,"title":1702},"\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":1704,"title":1705},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1707,"title":1708},"\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":1710,"title":1711},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1713,"title":1714},"\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":1716,"title":1717},"\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":1719,"title":1720},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1722,"title":1723},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1725,"title":1726},"\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":1728,"title":1729},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1731,"title":1732},"\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":1734,"title":1735},"\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":1737,"title":1738},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1740,"title":1741},"\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":1743,"title":1744},"\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":1746,"title":1747},"\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":1749,"title":1750},"\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":1752,"title":1753},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1755,"title":1756},"\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":1758,"title":1759},"\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":1761,"title":1762},"\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":1764,"title":1765},"\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":1767,"title":1768},"\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":1770,"title":1771},"\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":1773,"title":1774},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1776,"title":1777},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1779,"title":1780},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1782,"title":1783},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1785,"title":1786},"\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":1788,"title":1789},"\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":1791,"title":1792},"\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":1794,"title":1795},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1797,"title":1798},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1800,"title":1801},"\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":1803,"title":1804},"\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":1806,"title":1807},"\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":1809,"title":1810},"\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":1812,"title":1813},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1815,"title":1816},"\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":1818,"title":1819},"\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":1821,"title":1822},"\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":1824,"title":1825},"\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":1827,"title":1828},"\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":1830,"title":1831},"\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":1833,"title":1834},"\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":1836,"title":1837},"\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":1839,"title":1840},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1842,"title":1843},"\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":1845,"title":1846},"\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":1848,"title":1849},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1851,"title":1852},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1854,"title":1855},"\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":1857,"title":1858},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1860,"title":1861},"\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":1863,"title":1864},"\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":1866,"title":1867},"\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":1869,"title":1870},"\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":1872,"title":1873},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1875,"title":1876},"\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":1878,"title":1879},"\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":1881,"title":1882},"\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":1884,"title":1885},"\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":1887,"title":1888},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1890,"title":1891},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1893,"title":1894},"\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":1896,"title":1897},"\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":1899,"title":1900},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1902,"title":1903},"\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":1905,"title":1906},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1908,"title":1909},"\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":1911,"title":1912},"\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":1914,"title":1915},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1917,"title":1918},"\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":1920,"title":1921},"\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":1923,"title":1924},"\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":1926,"title":29},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fcomparing-lab-and-field-data-with-crux",{"path":1928,"title":1929},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1931,"title":1932},"\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":1934,"title":1935},"\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":1937,"title":1938},"\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":1940,"title":1941},"\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":1943,"title":1944},"\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":1946,"title":1947},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1949,"title":1950},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1952,"title":494},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules",{"path":1954,"title":1955},"\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":1957,"title":1958},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1960,"title":1961},"\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":1963,"title":1964},"\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":1966,"title":1967},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1969,"title":1970},"\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":1972,"title":1973},"\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":1975,"title":1976},"\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":1978,"title":1979},"\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":1981,"title":1982},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1984,"title":1985},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1987,"title":1988},"\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":1990,"title":1991},"\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":1993,"title":1994},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1996,"title":1997},"\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":1999,"title":2000},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2002,"title":2003},"\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":2005,"title":2006},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2008,"title":2009},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2011,"title":2012},"\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":2014,"title":2015},"\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":2017,"title":2018},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2020,"title":2021},"\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":2023,"title":2024},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2026,"title":2027},"\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":2029,"title":2030},"\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":2032,"title":2033},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2035,"title":2036},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2038,"title":2039},"\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":2041,"title":2042},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2044,"title":2045},"\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":2047,"title":2048},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2050,"title":2051},"\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":2053,"title":2054},"\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":2056,"title":2057},"\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":2059,"title":2060},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2062,"title":1356},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops",{"path":1640,"title":5},{"path":2065,"title":2066},"\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":2068,"title":24},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production",{"path":2070,"title":2071},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2073,"title":2074},"\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":2076,"title":2077},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2079,"title":2080},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2082,"title":2083},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2085,"title":2086},"\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":2088,"title":2089},"\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":2091,"title":2092},"\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":2094,"title":2095},"\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":2097,"title":2098},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2100,"title":2101},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2103,"title":2104},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2106,"title":2107},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2109,"title":2110},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2112,"title":2113},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2115,"title":2116},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2118,"title":2119},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2121,"title":2122},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2124,"title":2125},"\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":2127,"title":2128},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url","Running Smoke Tests Against a Preview URL",{"path":2130,"title":2131},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2133,"title":2134},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2136,"title":2137},"\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":2139,"title":2140},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2142,"title":2143},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2145,"title":2146},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2148,"title":2149},"\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":2151,"title":2152},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2154,"title":2155},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2157,"title":2158},"\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":2160,"title":2161},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2163,"title":2164},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2166,"title":2167},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2169,"title":2170},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2172,"title":2173},"\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":2175,"title":2176},"\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":2178,"title":2179},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2181,"title":2182},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2184,"title":2185},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2187,"title":1598},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fproxying-third-party-apis-from-an-edge-function",1789722847316]