[{"data":1,"prerenderedAt":2996},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders":3,"all-docs-nav":1846,"filed:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders":2987},{"id":4,"title":5,"body":6,"breadcrumb":1822,"dateModified":1832,"datePublished":1832,"description":1833,"extension":1834,"faq":1835,"meta":1840,"navigation":323,"path":1841,"seo":1842,"slug":12,"stem":1843,"type":1844,"__hash__":1845},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders\u002Findex.md","Loading Remote Content With Astro Content Layer Loaders",{"type":7,"value":8,"toc":1802},"minimark",[9,13,22,31,36,58,62,224,260,264,523,526,530,1059,1081,1085,1150,1160,1164,1167,1301,1304,1441,1445,1456,1460,1495,1499,1502,1599,1602,1673,1677,1717,1721,1724,1728,1733,1736,1740,1743,1747,1750,1754,1757,1761,1798],[10,11,5],"h1",{"id":12},"loading-remote-content-with-astro-content-layer-loaders",[14,15,16,17,21],"p",{},"Many static sites get some of their content from somewhere other than the repository: release notes from GitHub, product data from an internal API, articles from a headless CMS, changelog entries from a database. Before Astro 5, the usual pattern was to ",[18,19,20],"code",{},"fetch"," in each page's frontmatter or in a shared helper, which meant every build refetched everything, nothing was validated, and pages had to know where their data came from. The content layer replaces that with loaders: functions that fill a collection from any source, store the entries with a schema, and can update incrementally between builds.",[14,23,24,25,30],{},"This guide writes a custom loader that pulls about 1,800 integration articles from an internal REST API into an Astro 5 collection, renders their Markdown bodies, and syncs only changes on subsequent builds. It belongs to ",[26,27,29],"a",{"href":28},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002F","Astro vs Eleventy for Documentation Sites",", where remote data handling is one of the practical differences between the two generators.",[32,33,35],"h2",{"id":34},"prerequisites","Prerequisites",[37,38,39,43,46],"ul",{},[40,41,42],"li",{},"Astro 5.0 or later.",[40,44,45],{},"An API that can list items and, ideally, return items changed since a timestamp or cursor.",[40,47,48,49,52,53,57],{},"A CI cache for ",[18,50,51],{},"node_modules\u002F.astro",", as in ",[26,54,56],{"href":55},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer\u002F","Incremental Builds in Astro with the Content Layer",".",[32,59,61],{"id":60},"how-loaders-fit-into-a-build","How Loaders Fit Into a Build",[63,64,65,220],"figure",{},[66,67,74,75,74,79,74,83,74,90,74,205],"svg",{"viewBox":68,"role":69,"ariaLabelledBy":70,"xmlns":73},"0 0 760 346","img",[71,72],"acl-seq-title","acl-seq-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[76,77,78],"title",{"id":71},"Sequence of a content layer loader syncing from a remote API",[80,81,82],"desc",{"id":72},"Four actors, the Astro build, the loader, the data store and the remote API. The build calls the loader's load function. The loader reads the last sync cursor from the meta store. It asks the API for items changed since the cursor. The API returns 37 changed items and 2 deleted IDs. The loader renders Markdown for changed items, sets them in the store with digests, deletes the two removed entries and saves the new cursor. Pages then query the collection from the store.",[84,85],"rect",{"x":86,"y":86,"width":87,"height":88,"fill":89},"0","760","346","#ffffff",[91,92,94,95,94,105,94,108,94,111,94,114,94,121,94,124,94,127,94,131,94,134,94,137,94,141,94,144,94,147,94,150,94,157,94,163,94,167,94,171,94,175,94,181,94,185,94,189,94,193,94,197,94,201,74],"g",{"style":93},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[84,96],{"x":97,"y":98,"width":99,"height":100,"rx":101,"fill":102,"stroke":103,"style":104},"30.0","56.0","160.0","42.9","8","#f8fafc","#d9e2ef","stroke-width:1.5px",[84,106],{"x":107,"y":98,"width":99,"height":100,"rx":101,"fill":102,"stroke":103,"style":104},"210.0",[84,109],{"x":110,"y":98,"width":99,"height":100,"rx":101,"fill":102,"stroke":103,"style":104},"390.0",[84,112],{"x":113,"y":98,"width":99,"height":100,"rx":101,"fill":102,"stroke":103,"style":104},"570.0",[115,116],"path",{"d":117,"fill":118,"stroke":119,"style":120},"M114.0 133.9 L284.0 133.9","none","#556071","stroke-width:1.8px;marker-end:url(#acl-seq-arrow)",[115,122],{"d":123,"fill":118,"stroke":119,"style":120},"M294.0 166.8 L464.0 166.8",[115,125],{"d":126,"fill":118,"stroke":119,"style":120},"M294.0 199.8 L644.0 199.8",[115,128],{"d":129,"fill":118,"stroke":119,"style":130},"M646.0 232.7 L296.0 232.7","stroke-width:1.8px;stroke-dasharray:5 4;marker-end:url(#acl-seq-arrow)",[115,132],{"d":133,"fill":118,"stroke":119,"style":120},"M294.0 280.6 L464.0 280.6",[115,135],{"d":136,"fill":118,"stroke":119,"style":120},"M114.0 313.5 L464.0 313.5",[115,138],{"d":139,"fill":118,"stroke":103,"style":140},"M110.0 100.9 L110.0 329.5","stroke-width:1.5px;stroke-dasharray:4 4",[115,142],{"d":143,"fill":118,"stroke":103,"style":140},"M290.0 100.9 L290.0 329.5",[115,145],{"d":146,"fill":118,"stroke":103,"style":140},"M470.0 100.9 L470.0 329.5",[115,148],{"d":149,"fill":118,"stroke":103,"style":140},"M650.0 100.9 L650.0 329.5",[151,152,156],"text",{"x":153,"y":97,"fill":154,"style":155},"380.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","A loader during a build",[151,158,162],{"x":159,"y":160,"fill":154,"style":161},"110.0","82.7","font-size:13px;text-anchor:middle;font-weight:700","Astro build",[151,164,166],{"x":165,"y":160,"fill":154,"style":161},"290.0","Loader",[151,168,170],{"x":169,"y":160,"fill":154,"style":161},"470.0","Data store",[151,172,174],{"x":173,"y":160,"fill":154,"style":161},"650.0","Remote API",[151,176,180],{"x":177,"y":178,"fill":154,"style":179},"200.0","125.8","font-size:11.5px;text-anchor:middle","load(context)",[151,182,184],{"x":153,"y":183,"fill":154,"style":179},"158.8","read sync cursor",[151,186,188],{"x":169,"y":187,"fill":154,"style":179},"191.7","GET ?changed_since=cursor",[151,190,192],{"x":169,"y":191,"fill":119,"style":179},"224.7","37 changed, 2 deleted",[151,194,196],{"x":153,"y":195,"fill":154,"style":179},"257.6","set entries, delete 2, save",[151,198,200],{"x":153,"y":199,"fill":154,"style":179},"272.6","cursor",[151,202,204],{"x":165,"y":203,"fill":154,"style":179},"305.5","getCollection at render time",[206,207,94,208,74],"defs",{},[209,210,216,217,94],"marker",{"id":211,"viewBox":212,"refX":101,"refY":213,"markerWidth":214,"markerHeight":214,"orient":215},"acl-seq-arrow","0 0 10 10","5","7","auto-start-reverse","\n      ",[115,218],{"d":219,"fill":119},"M0 0 L10 5 L0 10 z",[221,222,223],"figcaption",{},"On a warm build the loader touches 39 items instead of 1,800.",[14,225,226,227,230,231,234,235,237,238,241,242,245,246,249,250,253,254,230,257,57],{},"A loader is an object with a ",[18,228,229],{},"name"," and a ",[18,232,233],{},"load"," function. Astro calls ",[18,236,233],{}," once per build with a context that includes the ",[18,239,240],{},"store"," (entries), ",[18,243,244],{},"meta"," (key-value storage for things like sync cursors), ",[18,247,248],{},"parseData"," (schema validation), ",[18,251,252],{},"generateDigest",", ",[18,255,256],{},"renderMarkdown",[18,258,259],{},"logger",[32,261,263],{"id":262},"step-1-define-the-collection-with-a-schema","Step 1: Define the Collection With a Schema",[265,266,271],"pre",{"className":267,"code":268,"language":269,"meta":270,"style":270},"language-ts shiki shiki-themes github-light github-dark","\u002F\u002F src\u002Fcontent.config.ts\nimport { defineCollection, z } from 'astro:content';\nimport { integrationsLoader } from '.\u002Floaders\u002Fintegrations';\n\nconst integrations = defineCollection({\n  loader: integrationsLoader({ baseUrl: import.meta.env.INTEGRATIONS_API, token: import.meta.env.INTEGRATIONS_TOKEN }),\n  schema: z.object({\n    title: z.string(),\n    vendor: z.string(),\n    category: z.enum(['auth', 'storage', 'messaging', 'analytics', 'payments']),\n    updatedAt: z.coerce.date(),\n    logo: z.string().url().optional(),\n  }),\n});\n\nexport const collections = { integrations };\n","ts","",[18,272,273,282,303,318,325,345,386,397,409,419,457,468,489,495,501,506],{"__ignoreMap":270},[274,275,278],"span",{"class":276,"line":277},"line",1,[274,279,281],{"class":280},"sJ8bj","\u002F\u002F src\u002Fcontent.config.ts\n",[274,283,285,289,293,296,300],{"class":276,"line":284},2,[274,286,288],{"class":287},"szBVR","import",[274,290,292],{"class":291},"sVt8B"," { defineCollection, z } ",[274,294,295],{"class":287},"from",[274,297,299],{"class":298},"sZZnC"," 'astro:content'",[274,301,302],{"class":291},";\n",[274,304,306,308,311,313,316],{"class":276,"line":305},3,[274,307,288],{"class":287},[274,309,310],{"class":291}," { integrationsLoader } ",[274,312,295],{"class":287},[274,314,315],{"class":298}," '.\u002Floaders\u002Fintegrations'",[274,317,302],{"class":291},[274,319,321],{"class":276,"line":320},4,[274,322,324],{"emptyLinePlaceholder":323},true,"\n",[274,326,328,331,335,338,342],{"class":276,"line":327},5,[274,329,330],{"class":287},"const",[274,332,334],{"class":333},"sj4cs"," integrations",[274,336,337],{"class":287}," =",[274,339,341],{"class":340},"sScJk"," defineCollection",[274,343,344],{"class":291},"({\n",[274,346,348,351,354,357,359,361,363,366,369,372,374,376,378,380,383],{"class":276,"line":347},6,[274,349,350],{"class":291},"  loader: ",[274,352,353],{"class":340},"integrationsLoader",[274,355,356],{"class":291},"({ baseUrl: ",[274,358,288],{"class":287},[274,360,57],{"class":291},[274,362,244],{"class":333},[274,364,365],{"class":291},".env.",[274,367,368],{"class":333},"INTEGRATIONS_API",[274,370,371],{"class":291},", token: ",[274,373,288],{"class":287},[274,375,57],{"class":291},[274,377,244],{"class":333},[274,379,365],{"class":291},[274,381,382],{"class":333},"INTEGRATIONS_TOKEN",[274,384,385],{"class":291}," }),\n",[274,387,389,392,395],{"class":276,"line":388},7,[274,390,391],{"class":291},"  schema: z.",[274,393,394],{"class":340},"object",[274,396,344],{"class":291},[274,398,400,403,406],{"class":276,"line":399},8,[274,401,402],{"class":291},"    title: z.",[274,404,405],{"class":340},"string",[274,407,408],{"class":291},"(),\n",[274,410,412,415,417],{"class":276,"line":411},9,[274,413,414],{"class":291},"    vendor: z.",[274,416,405],{"class":340},[274,418,408],{"class":291},[274,420,422,425,428,431,434,436,439,441,444,446,449,451,454],{"class":276,"line":421},10,[274,423,424],{"class":291},"    category: z.",[274,426,427],{"class":340},"enum",[274,429,430],{"class":291},"([",[274,432,433],{"class":298},"'auth'",[274,435,253],{"class":291},[274,437,438],{"class":298},"'storage'",[274,440,253],{"class":291},[274,442,443],{"class":298},"'messaging'",[274,445,253],{"class":291},[274,447,448],{"class":298},"'analytics'",[274,450,253],{"class":291},[274,452,453],{"class":298},"'payments'",[274,455,456],{"class":291},"]),\n",[274,458,460,463,466],{"class":276,"line":459},11,[274,461,462],{"class":291},"    updatedAt: z.coerce.",[274,464,465],{"class":340},"date",[274,467,408],{"class":291},[274,469,471,474,476,479,482,484,487],{"class":276,"line":470},12,[274,472,473],{"class":291},"    logo: z.",[274,475,405],{"class":340},[274,477,478],{"class":291},"().",[274,480,481],{"class":340},"url",[274,483,478],{"class":291},[274,485,486],{"class":340},"optional",[274,488,408],{"class":291},[274,490,492],{"class":276,"line":491},13,[274,493,494],{"class":291},"  }),\n",[274,496,498],{"class":276,"line":497},14,[274,499,500],{"class":291},"});\n",[274,502,504],{"class":276,"line":503},15,[274,505,324],{"emptyLinePlaceholder":323},[274,507,509,512,515,518,520],{"class":276,"line":508},16,[274,510,511],{"class":287},"export",[274,513,514],{"class":287}," const",[274,516,517],{"class":333}," collections",[274,519,337],{"class":287},[274,521,522],{"class":291}," { integrations };\n",[14,524,525],{},"The schema is the contract with the remote source. If the API starts returning a category the site does not know, the build fails with the entry ID and field, instead of rendering a broken page.",[32,527,529],{"id":528},"step-2-write-the-loader","Step 2: Write the Loader",[265,531,533],{"className":267,"code":532,"language":269,"meta":270,"style":270},"\u002F\u002F src\u002Floaders\u002Fintegrations.ts\nimport type { Loader } from 'astro\u002Floaders';\n\nexport function integrationsLoader(opts: { baseUrl: string; token: string }): Loader {\n  return {\n    name: 'integrations',\n    async load({ store, meta, parseData, generateDigest, renderMarkdown, logger }) {\n      const cursor = meta.get('cursor');\n      const url = new URL('\u002Fv1\u002Fintegrations', opts.baseUrl);\n      if (cursor) url.searchParams.set('changed_since', cursor);\n      else store.clear();\n\n      const res = await fetch(url, { headers: { Authorization: `Bearer ${opts.token}` } });\n      if (!res.ok) throw new Error(`integrations API ${res.status}`);\n      const { items, deleted, next_cursor } = await res.json();\n\n      for (const id of deleted ?? []) store.delete(id);\n      for (const item of items) {\n        const data = await parseData({ id: item.slug, data: item.meta });\n        const digest = generateDigest(item);\n        store.set({ id: item.slug, data, digest, rendered: await renderMarkdown(item.body) });\n      }\n      meta.set('cursor', next_cursor);\n      logger.info(`${items.length} updated, ${deleted?.length ?? 0} deleted (cursor ${cursor ? 'incremental' : 'full'})`);\n    },\n  };\n}\n",[18,534,535,540,557,561,613,620,631,667,691,714,733,747,751,784,822,857,861,892,909,928,944,964,970,985,1041,1047,1053],{"__ignoreMap":270},[274,536,537],{"class":276,"line":277},[274,538,539],{"class":280},"\u002F\u002F src\u002Floaders\u002Fintegrations.ts\n",[274,541,542,544,547,550,552,555],{"class":276,"line":284},[274,543,288],{"class":287},[274,545,546],{"class":287}," type",[274,548,549],{"class":291}," { Loader } ",[274,551,295],{"class":287},[274,553,554],{"class":298}," 'astro\u002Floaders'",[274,556,302],{"class":291},[274,558,559],{"class":276,"line":305},[274,560,324],{"emptyLinePlaceholder":323},[274,562,563,565,568,571,574,578,581,584,587,589,592,595,598,600,602,605,607,610],{"class":276,"line":320},[274,564,511],{"class":287},[274,566,567],{"class":287}," function",[274,569,570],{"class":340}," integrationsLoader",[274,572,573],{"class":291},"(",[274,575,577],{"class":576},"s4XuR","opts",[274,579,580],{"class":287},":",[274,582,583],{"class":291}," { ",[274,585,586],{"class":576},"baseUrl",[274,588,580],{"class":287},[274,590,591],{"class":333}," string",[274,593,594],{"class":291},"; ",[274,596,597],{"class":576},"token",[274,599,580],{"class":287},[274,601,591],{"class":333},[274,603,604],{"class":291}," })",[274,606,580],{"class":287},[274,608,609],{"class":340}," Loader",[274,611,612],{"class":291}," {\n",[274,614,615,618],{"class":276,"line":327},[274,616,617],{"class":287},"  return",[274,619,612],{"class":291},[274,621,622,625,628],{"class":276,"line":347},[274,623,624],{"class":291},"    name: ",[274,626,627],{"class":298},"'integrations'",[274,629,630],{"class":291},",\n",[274,632,633,636,639,642,644,646,648,650,652,654,656,658,660,662,664],{"class":276,"line":388},[274,634,635],{"class":287},"    async",[274,637,638],{"class":340}," load",[274,640,641],{"class":291},"({ ",[274,643,240],{"class":576},[274,645,253],{"class":291},[274,647,244],{"class":576},[274,649,253],{"class":291},[274,651,248],{"class":576},[274,653,253],{"class":291},[274,655,252],{"class":576},[274,657,253],{"class":291},[274,659,256],{"class":576},[274,661,253],{"class":291},[274,663,259],{"class":576},[274,665,666],{"class":291}," }) {\n",[274,668,669,672,675,677,680,683,685,688],{"class":276,"line":399},[274,670,671],{"class":287},"      const",[274,673,674],{"class":333}," cursor",[274,676,337],{"class":287},[274,678,679],{"class":291}," meta.",[274,681,682],{"class":340},"get",[274,684,573],{"class":291},[274,686,687],{"class":298},"'cursor'",[274,689,690],{"class":291},");\n",[274,692,693,695,698,700,703,706,708,711],{"class":276,"line":411},[274,694,671],{"class":287},[274,696,697],{"class":333}," url",[274,699,337],{"class":287},[274,701,702],{"class":287}," new",[274,704,705],{"class":340}," URL",[274,707,573],{"class":291},[274,709,710],{"class":298},"'\u002Fv1\u002Fintegrations'",[274,712,713],{"class":291},", opts.baseUrl);\n",[274,715,716,719,722,725,727,730],{"class":276,"line":421},[274,717,718],{"class":287},"      if",[274,720,721],{"class":291}," (cursor) url.searchParams.",[274,723,724],{"class":340},"set",[274,726,573],{"class":291},[274,728,729],{"class":298},"'changed_since'",[274,731,732],{"class":291},", cursor);\n",[274,734,735,738,741,744],{"class":276,"line":459},[274,736,737],{"class":287},"      else",[274,739,740],{"class":291}," store.",[274,742,743],{"class":340},"clear",[274,745,746],{"class":291},"();\n",[274,748,749],{"class":276,"line":470},[274,750,324],{"emptyLinePlaceholder":323},[274,752,753,755,758,760,763,766,769,772,774,776,778,781],{"class":276,"line":491},[274,754,671],{"class":287},[274,756,757],{"class":333}," res",[274,759,337],{"class":287},[274,761,762],{"class":287}," await",[274,764,765],{"class":340}," fetch",[274,767,768],{"class":291},"(url, { headers: { Authorization: ",[274,770,771],{"class":298},"`Bearer ${",[274,773,577],{"class":291},[274,775,57],{"class":298},[274,777,597],{"class":291},[274,779,780],{"class":298},"}`",[274,782,783],{"class":291}," } });\n",[274,785,786,788,791,794,797,800,802,805,807,810,813,815,818,820],{"class":276,"line":497},[274,787,718],{"class":287},[274,789,790],{"class":291}," (",[274,792,793],{"class":287},"!",[274,795,796],{"class":291},"res.ok) ",[274,798,799],{"class":287},"throw",[274,801,702],{"class":287},[274,803,804],{"class":340}," Error",[274,806,573],{"class":291},[274,808,809],{"class":298},"`integrations API ${",[274,811,812],{"class":291},"res",[274,814,57],{"class":298},[274,816,817],{"class":291},"status",[274,819,780],{"class":298},[274,821,690],{"class":291},[274,823,824,826,828,831,833,836,838,841,844,847,849,852,855],{"class":276,"line":503},[274,825,671],{"class":287},[274,827,583],{"class":291},[274,829,830],{"class":333},"items",[274,832,253],{"class":291},[274,834,835],{"class":333},"deleted",[274,837,253],{"class":291},[274,839,840],{"class":333},"next_cursor",[274,842,843],{"class":291}," } ",[274,845,846],{"class":287},"=",[274,848,762],{"class":287},[274,850,851],{"class":291}," res.",[274,853,854],{"class":340},"json",[274,856,746],{"class":291},[274,858,859],{"class":276,"line":508},[274,860,324],{"emptyLinePlaceholder":323},[274,862,864,867,869,871,874,877,880,883,886,889],{"class":276,"line":863},17,[274,865,866],{"class":287},"      for",[274,868,790],{"class":291},[274,870,330],{"class":287},[274,872,873],{"class":333}," id",[274,875,876],{"class":287}," of",[274,878,879],{"class":291}," deleted ",[274,881,882],{"class":287},"??",[274,884,885],{"class":291}," []) store.",[274,887,888],{"class":340},"delete",[274,890,891],{"class":291},"(id);\n",[274,893,895,897,899,901,904,906],{"class":276,"line":894},18,[274,896,866],{"class":287},[274,898,790],{"class":291},[274,900,330],{"class":287},[274,902,903],{"class":333}," item",[274,905,876],{"class":287},[274,907,908],{"class":291}," items) {\n",[274,910,912,915,918,920,922,925],{"class":276,"line":911},19,[274,913,914],{"class":287},"        const",[274,916,917],{"class":333}," data",[274,919,337],{"class":287},[274,921,762],{"class":287},[274,923,924],{"class":340}," parseData",[274,926,927],{"class":291},"({ id: item.slug, data: item.meta });\n",[274,929,931,933,936,938,941],{"class":276,"line":930},20,[274,932,914],{"class":287},[274,934,935],{"class":333}," digest",[274,937,337],{"class":287},[274,939,940],{"class":340}," generateDigest",[274,942,943],{"class":291},"(item);\n",[274,945,947,950,952,955,958,961],{"class":276,"line":946},21,[274,948,949],{"class":291},"        store.",[274,951,724],{"class":340},[274,953,954],{"class":291},"({ id: item.slug, data, digest, rendered: ",[274,956,957],{"class":287},"await",[274,959,960],{"class":340}," renderMarkdown",[274,962,963],{"class":291},"(item.body) });\n",[274,965,967],{"class":276,"line":966},22,[274,968,969],{"class":291},"      }\n",[274,971,973,976,978,980,982],{"class":276,"line":972},23,[274,974,975],{"class":291},"      meta.",[274,977,724],{"class":340},[274,979,573],{"class":291},[274,981,687],{"class":298},[274,983,984],{"class":291},", next_cursor);\n",[274,986,988,991,994,996,999,1001,1003,1006,1009,1011,1014,1016,1019,1022,1025,1027,1030,1033,1036,1039],{"class":276,"line":987},24,[274,989,990],{"class":291},"      logger.",[274,992,993],{"class":340},"info",[274,995,573],{"class":291},[274,997,998],{"class":298},"`${",[274,1000,830],{"class":291},[274,1002,57],{"class":298},[274,1004,1005],{"class":333},"length",[274,1007,1008],{"class":298},"} updated, ${",[274,1010,835],{"class":291},[274,1012,1013],{"class":298},"?.",[274,1015,1005],{"class":333},[274,1017,1018],{"class":287}," ??",[274,1020,1021],{"class":333}," 0",[274,1023,1024],{"class":298},"} deleted (cursor ${",[274,1026,200],{"class":291},[274,1028,1029],{"class":287}," ?",[274,1031,1032],{"class":298}," 'incremental'",[274,1034,1035],{"class":287}," :",[274,1037,1038],{"class":298}," 'full'})`",[274,1040,690],{"class":291},[274,1042,1044],{"class":276,"line":1043},25,[274,1045,1046],{"class":291},"    },\n",[274,1048,1050],{"class":276,"line":1049},26,[274,1051,1052],{"class":291},"  };\n",[274,1054,1056],{"class":276,"line":1055},27,[274,1057,1058],{"class":291},"}\n",[14,1060,1061,1064,1065,1068,1069,1072,1073,1076,1077,1080],{},[18,1062,1063],{},"store.set"," with a digest skips the write when the digest matches the stored entry, so re-sending unchanged items costs almost nothing. Storing ",[18,1066,1067],{},"rendered"," means pages can use ",[18,1070,1071],{},"render()"," and get ",[18,1074,1075],{},"Content"," and ",[18,1078,1079],{},"headings"," as they would for local Markdown.",[32,1082,1084],{"id":1083},"step-3-use-the-collection-in-pages","Step 3: Use the Collection in Pages",[265,1086,1090],{"className":1087,"code":1088,"language":1089,"meta":270,"style":270},"language-astro shiki shiki-themes github-light github-dark","---\n\u002F\u002F src\u002Fpages\u002Fintegrations\u002F[slug].astro\nimport { getCollection, render } from 'astro:content';\nexport async function getStaticPaths() {\n  const items = await getCollection('integrations');\n  return items.map((entry) => ({ params: { slug: entry.id }, props: { entry } }));\n}\nconst { entry } = Astro.props;\nconst { Content, headings } = await render(entry);\n---\n\u003Ch1>{entry.data.title}\u003C\u002Fh1>\n\u003CContent \u002F>\n","astro",[18,1091,1092,1097,1102,1107,1112,1117,1122,1126,1131,1136,1140,1145],{"__ignoreMap":270},[274,1093,1094],{"class":276,"line":277},[274,1095,1096],{},"---\n",[274,1098,1099],{"class":276,"line":284},[274,1100,1101],{},"\u002F\u002F src\u002Fpages\u002Fintegrations\u002F[slug].astro\n",[274,1103,1104],{"class":276,"line":305},[274,1105,1106],{},"import { getCollection, render } from 'astro:content';\n",[274,1108,1109],{"class":276,"line":320},[274,1110,1111],{},"export async function getStaticPaths() {\n",[274,1113,1114],{"class":276,"line":327},[274,1115,1116],{},"  const items = await getCollection('integrations');\n",[274,1118,1119],{"class":276,"line":347},[274,1120,1121],{},"  return items.map((entry) => ({ params: { slug: entry.id }, props: { entry } }));\n",[274,1123,1124],{"class":276,"line":388},[274,1125,1058],{},[274,1127,1128],{"class":276,"line":399},[274,1129,1130],{},"const { entry } = Astro.props;\n",[274,1132,1133],{"class":276,"line":411},[274,1134,1135],{},"const { Content, headings } = await render(entry);\n",[274,1137,1138],{"class":276,"line":421},[274,1139,1096],{},[274,1141,1142],{"class":276,"line":459},[274,1143,1144],{},"\u003Ch1>{entry.data.title}\u003C\u002Fh1>\n",[274,1146,1147],{"class":276,"line":470},[274,1148,1149],{},"\u003CContent \u002F>\n",[14,1151,1152,1153,1156,1157,57],{},"The page has no idea the content came from an API. The index page filters by ",[18,1154,1155],{},"category"," with ",[18,1158,1159],{},"getCollection('integrations', (e) => e.data.category === 'auth')",[32,1161,1163],{"id":1162},"step-4-handle-failure-without-publishing-an-empty-site","Step 4: Handle Failure Without Publishing an Empty Site",[14,1165,1166],{},"The worst outcome is a build that succeeds with no content because the API returned an empty list during an incident. The loader guards against it in two ways: it throws on any non-2xx response, failing the build; and on a full sync it refuses to clear the store if the API returns fewer than 80% of the previously stored count:",[265,1168,1170],{"className":267,"code":1169,"language":269,"meta":270,"style":270},"const previous = Number(meta.get('count') ?? 0);\nif (!cursor && previous && items.length \u003C previous * 0.8)\n  throw new Error(`integrations API returned ${items.length} items, expected about ${previous}`);\nmeta.set('count', String(store.keys().length));\n",[18,1171,1172,1203,1242,1272],{"__ignoreMap":270},[274,1173,1174,1176,1179,1181,1184,1187,1189,1191,1194,1197,1199,1201],{"class":276,"line":277},[274,1175,330],{"class":287},[274,1177,1178],{"class":333}," previous",[274,1180,337],{"class":287},[274,1182,1183],{"class":340}," Number",[274,1185,1186],{"class":291},"(meta.",[274,1188,682],{"class":340},[274,1190,573],{"class":291},[274,1192,1193],{"class":298},"'count'",[274,1195,1196],{"class":291},") ",[274,1198,882],{"class":287},[274,1200,1021],{"class":333},[274,1202,690],{"class":291},[274,1204,1205,1208,1210,1212,1215,1218,1221,1223,1226,1228,1231,1233,1236,1239],{"class":276,"line":284},[274,1206,1207],{"class":287},"if",[274,1209,790],{"class":291},[274,1211,793],{"class":287},[274,1213,1214],{"class":291},"cursor ",[274,1216,1217],{"class":287},"&&",[274,1219,1220],{"class":291}," previous ",[274,1222,1217],{"class":287},[274,1224,1225],{"class":291}," items.",[274,1227,1005],{"class":333},[274,1229,1230],{"class":287}," \u003C",[274,1232,1220],{"class":291},[274,1234,1235],{"class":287},"*",[274,1237,1238],{"class":333}," 0.8",[274,1240,1241],{"class":291},")\n",[274,1243,1244,1247,1249,1251,1253,1256,1258,1260,1262,1265,1268,1270],{"class":276,"line":305},[274,1245,1246],{"class":287},"  throw",[274,1248,702],{"class":287},[274,1250,804],{"class":340},[274,1252,573],{"class":291},[274,1254,1255],{"class":298},"`integrations API returned ${",[274,1257,830],{"class":291},[274,1259,57],{"class":298},[274,1261,1005],{"class":333},[274,1263,1264],{"class":298},"} items, expected about ${",[274,1266,1267],{"class":291},"previous",[274,1269,780],{"class":298},[274,1271,690],{"class":291},[274,1273,1274,1277,1279,1281,1283,1285,1288,1291,1294,1296,1298],{"class":276,"line":320},[274,1275,1276],{"class":291},"meta.",[274,1278,724],{"class":340},[274,1280,573],{"class":291},[274,1282,1193],{"class":298},[274,1284,253],{"class":291},[274,1286,1287],{"class":340},"String",[274,1289,1290],{"class":291},"(store.",[274,1292,1293],{"class":340},"keys",[274,1295,478],{"class":291},[274,1297,1005],{"class":333},[274,1299,1300],{"class":291},"));\n",[14,1302,1303],{},"A failed build leaves the previous deploy live, which is the right outcome.",[63,1305,1306,1438],{},[66,1307,74,1312,74,1315,74,1318,74,1321,74,1431],{"viewBox":1308,"role":69,"ariaLabelledBy":1309,"xmlns":73},"0 0 760 260",[1310,1311],"acl-fail-title","acl-fail-desc",[76,1313,1314],{"id":1310},"Decision tree for handling API responses in the loader",[80,1316,1317],{"id":1311},"The root asks what the API returned. A non-2xx status throws and fails the build, keeping the previous deploy live. A full list under 80 percent of the previous count also throws. A valid incremental response applies changes and deletions. A valid full response clears the store and loads everything.",[84,1319],{"x":86,"y":86,"width":87,"height":1320,"fill":89},"260",[91,1322,94,1323,94,1331,94,1335,94,1338,94,1342,94,1351,94,1354,94,1357,94,1360,94,1366,94,1369,94,1373,94,1376,94,1380,94,1387,94,1391,94,1396,94,1400,94,1402,94,1405,94,1410,94,1413,94,1416,94,1420,94,1425,94,1428,74],{"style":93},[84,1324],{"x":1325,"y":1326,"width":1327,"height":1328,"rx":101,"fill":1329,"opacity":1330,"stroke":1329,"style":104},"250.0","60.0","260.0","50.0","#6a4c93","0.14",[115,1332],{"d":1333,"fill":118,"stroke":119,"style":1334},"M380.0 111.0 L380.0 132.0","stroke-width:2px",[115,1336],{"d":1337,"fill":118,"stroke":119,"style":1334},"M103.2 132.0 L656.8 132.0",[115,1339],{"d":1340,"fill":118,"stroke":119,"style":1341},"M103.2 132.0 L103.2 150.0","stroke-width:2px;marker-end:url(#acl-fail-arrow)",[84,1343],{"x":1344,"y":1345,"width":1346,"height":1347,"rx":101,"fill":1348,"opacity":1349,"stroke":1350,"style":104},"20.0","154.0","166.5","89.8","#ff595e","0.12","#d83b41",[115,1352],{"d":1353,"fill":118,"stroke":119,"style":1341},"M287.8 132.0 L287.8 150.0",[84,1355],{"x":1356,"y":1345,"width":1346,"height":1347,"rx":101,"fill":1348,"opacity":1349,"stroke":1350,"style":104},"204.5",[115,1358],{"d":1359,"fill":118,"stroke":119,"style":1341},"M472.2 132.0 L472.2 150.0",[84,1361],{"x":1362,"y":1345,"width":1346,"height":1347,"rx":101,"fill":1363,"opacity":1364,"stroke":1365,"style":104},"389.0","#8ac926","0.2","#5a8a16",[115,1367],{"d":1368,"fill":118,"stroke":119,"style":1341},"M656.8 132.0 L656.8 150.0",[84,1370],{"x":1371,"y":1345,"width":1346,"height":1347,"rx":101,"fill":1372,"opacity":1330,"stroke":1372,"style":104},"573.5","#1982c4",[151,1374,1375],{"x":153,"y":97,"fill":154,"style":155},"What the loader does with each API response",[151,1377,1379],{"x":153,"y":1378,"fill":154,"style":161},"90.2","What did the API return?",[151,1381,1386],{"x":1382,"y":1383,"fill":1384,"style":1385},"103.2","170.0","#b32b30","font-size:11px;text-anchor:middle;font-weight:700","Non-2xx status",[151,1388,1390],{"x":1382,"y":1389,"fill":154,"style":161},"190.3","Throw",[151,1392,1395],{"x":1382,"y":1393,"fill":119,"style":1394},"207.2","font-size:11px;text-anchor:middle","build fails, old deploy stays",[151,1397,1399],{"x":1398,"y":1383,"fill":1384,"style":1385},"287.8","Full list under 80%",[151,1401,1390],{"x":1398,"y":1389,"fill":154,"style":161},[151,1403,1404],{"x":1398,"y":1393,"fill":119,"style":1394},"suspected partial data",[151,1406,1409],{"x":1407,"y":1383,"fill":1408,"style":1385},"472.2","#3f6410","Valid incremental",[151,1411,1412],{"x":1407,"y":1389,"fill":154,"style":161},"Apply changes",[151,1414,1415],{"x":1407,"y":1393,"fill":119,"style":1394},"set changed, delete",[151,1417,1419],{"x":1407,"y":1418,"fill":119,"style":1394},"221.5","removed",[151,1421,1424],{"x":1422,"y":1383,"fill":1423,"style":1385},"656.8","#166a9e","Valid full list",[151,1426,1427],{"x":1422,"y":1389,"fill":154,"style":161},"Reload",[151,1429,1430],{"x":1422,"y":1393,"fill":119,"style":1394},"clear store and set all",[206,1432,94,1433,74],{},[209,1434,216,1436,94],{"id":1435,"viewBox":212,"refX":101,"refY":213,"markerWidth":214,"markerHeight":214,"orient":215},"acl-fail-arrow",[115,1437],{"d":219,"fill":119},[221,1439,1440],{},"Both failure branches fail loudly, so a partial outage cannot publish a half-empty site.",[32,1442,1444],{"id":1443},"step-5-refresh-content-without-a-code-change","Step 5: Refresh Content Without a Code Change",[14,1446,1447,1448,1451,1452,57],{},"Content changes in the API need a build. The API's admin publishes a webhook on change, which triggers a GitHub Actions ",[18,1449,1450],{},"repository_dispatch"," build with the Astro cache restored. Because the loader syncs incrementally, the content-only build spends about 3 seconds in the loader instead of 41. For a cheaper option, a scheduled build every hour does the same with no webhook, as in ",[26,1453,1455],{"href":1454},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions\u002F","Scheduled Content Publishing With GitHub Actions",[32,1457,1459],{"id":1458},"testing-the-loader-locally","Testing the Loader Locally",[14,1461,1462,1463,1465,1466,1076,1468,1470,1471,1473,1474,1476,1477,1479,1480,1483,1484,1487,1488,1490,1491,1494],{},"The loader is ordinary TypeScript, so it can be tested without running a build. A Vitest test calls ",[18,1464,233],{}," with a fake context — an in-memory ",[18,1467,240],{},[18,1469,244],{},", a ",[18,1472,248],{}," that applies the Zod schema, and a stub ",[18,1475,256],{}," — against a mocked ",[18,1478,20],{}," that returns fixture responses for a full sync, an incremental sync with deletions, a 500 error and a suspiciously short list. Four tests cover the behaviour that matters in production, and they run in under a second. During development, ",[18,1481,1482],{},"astro dev"," runs the loader at startup and ",[18,1485,1486],{},"astro sync"," runs it on demand, which makes it quick to see real entries; setting ",[18,1489,368],{}," to a staging URL in ",[18,1492,1493],{},".env.development"," keeps local builds off the production API.",[32,1496,1498],{"id":1497},"measured-impact","Measured Impact",[14,1500,1501],{},"The previous implementation fetched the full list in a shared helper used by 1,800 pages, memoised per build.",[1503,1504,1505,1527],"table",{},[1506,1507,1508],"thead",{},[1509,1510,1511,1515,1518,1521,1524],"tr",{},[1512,1513,1514],"th",{},"Measure",[1512,1516,1517],{},"Fetch in pages",[1512,1519,1520],{},"Loader, cold",[1512,1522,1523],{},"Loader, warm",[1512,1525,1526],{},"Tool",[1528,1529,1530,1548,1565,1582],"tbody",{},[1509,1531,1532,1536,1539,1542,1545],{},[1533,1534,1535],"td",{},"Time in data fetching",[1533,1537,1538],{},"41 s",[1533,1540,1541],{},"38 s",[1533,1543,1544],{},"3.1 s",[1533,1546,1547],{},"Astro build log",[1509,1549,1550,1553,1556,1559,1562],{},[1533,1551,1552],{},"API requests per build",[1533,1554,1555],{},"19 (paged)",[1533,1557,1558],{},"19",[1533,1560,1561],{},"1",[1533,1563,1564],{},"API access log",[1509,1566,1567,1570,1573,1576,1579],{},[1533,1568,1569],{},"Full build",[1533,1571,1572],{},"2 min 52 s",[1533,1574,1575],{},"2 min 49 s",[1533,1577,1578],{},"2 min 14 s",[1533,1580,1581],{},"CI timing",[1509,1583,1584,1587,1590,1593,1596],{},[1533,1585,1586],{},"Invalid entries caught",[1533,1588,1589],{},"0 (rendered broken)",[1533,1591,1592],{},"4 on first run",[1533,1594,1595],{},"—",[1533,1597,1598],{},"Schema errors",[14,1600,1601],{},"The four invalid entries on the first run were integrations with a category the site did not support. Previously they had rendered as pages with an empty category badge and no index listing.",[63,1603,1604,1670],{},[66,1605,74,1610,74,1613,74,1616,74,1619],{"viewBox":1606,"role":69,"ariaLabelledBy":1607,"xmlns":73},"0 0 760 295",[1608,1609],"acl-time-title","acl-time-desc",[76,1611,1612],{"id":1608},"Seconds spent fetching integration content per build by approach",[80,1614,1615],{"id":1609},"Vertical bars. Fetching in pages took 41 seconds. The loader on a cold build took 38 seconds. The loader on a warm build with the cache restored took 3.1 seconds.",[84,1617],{"x":86,"y":86,"width":87,"height":1618,"fill":89},"295",[91,1620,94,1621,94,1629,94,1637,94,1643,94,1646,94,1649,94,1654,94,1657,94,1660,94,1663,94,1667,74],{"style":93},[84,1622],{"x":1623,"y":1624,"width":1625,"height":1383,"rx":1626,"fill":1348,"opacity":1627,"stroke":1350,"style":1628},"108.3","76.0","90.0","3","0.3","stroke-width:1px",[84,1630],{"x":1631,"y":1632,"width":1625,"height":1633,"rx":1626,"fill":1634,"opacity":1635,"stroke":1636,"style":1628},"335.0","88.4","157.6","#ffca3a","0.45","#a97b00",[84,1638],{"x":1639,"y":1640,"width":1625,"height":1641,"rx":1626,"fill":1363,"opacity":1642,"stroke":1365,"style":1628},"561.7","233.1","12.9","0.4",[115,1644],{"d":1645,"fill":118,"stroke":119,"style":104},"M30.0 246.0 L730.0 246.0",[151,1647,1648],{"x":153,"y":97,"fill":154,"style":155},"Time spent fetching content per build",[151,1650,1538],{"x":1651,"y":1652,"fill":1384,"style":1653},"153.3","69.0","font-size:12px;text-anchor:middle;font-weight:700",[151,1655,1517],{"x":1651,"y":1656,"fill":119,"style":179},"264.0",[151,1658,1541],{"x":153,"y":1659,"fill":154,"style":1653},"81.4",[151,1661,1662],{"x":153,"y":1656,"fill":119,"style":179},"Loader cold",[151,1664,1544],{"x":1665,"y":1666,"fill":1408,"style":1653},"606.7","226.1",[151,1668,1669],{"x":1665,"y":1656,"fill":119,"style":179},"Loader warm",[221,1671,1672],{},"Measured from Astro's build log timestamps on GitHub Actions, median of five builds.",[32,1674,1676],{"id":1675},"pitfalls-rollback","Pitfalls & Rollback",[37,1678,1679,1689,1695,1701,1707],{},[40,1680,1681,1685,1686,1688],{},[1682,1683,1684],"strong",{},"No cache in CI."," Without ",[18,1687,51],{}," restored, every build is a full sync.",[40,1690,1691,1694],{},[1682,1692,1693],{},"Ignoring deletions."," Deleted remote items keep their pages unless the loader removes them.",[40,1696,1697,1700],{},[1682,1698,1699],{},"Clearing the store on a bad response."," Throw instead; a failed build is better than an empty site.",[40,1702,1703,1706],{},[1682,1704,1705],{},"Secrets in client code."," The token is read in the loader at build time only; never pass it to a component that ships to the browser.",[40,1708,1709,1712,1713,1716],{},[1682,1710,1711],{},"Rollback:"," the pages depend only on the collection, so the loader can be replaced by the old fetch helper or by a ",[18,1714,1715],{},"glob"," loader over exported files without touching any page.",[32,1718,1720],{"id":1719},"conclusion","Conclusion",[14,1722,1723],{},"A content layer loader turns remote content into a validated, cached collection that pages use like local files. For 1,800 API-backed pages it caught four invalid entries on its first run, cut warm-build fetching from 41 seconds to 3, and made a partial API outage fail the build rather than publish an incomplete site.",[32,1725,1727],{"id":1726},"faq","FAQ",[1729,1730,1732],"h3",{"id":1731},"what-is-the-difference-between-a-content-layer-loader-and-fetching-in-a-page","What is the difference between a content layer loader and fetching in a page?",[14,1734,1735],{},"Fetching in a page's frontmatter runs for every page that does it, on every build, with no caching or validation. A loader runs once per build, stores entries in Astro's data store with a schema, and can skip entries whose digest has not changed. Pages then query the collection like local content, so they do not know or care where it came from.",[1729,1737,1739],{"id":1738},"do-loader-results-persist-between-builds","Do loader results persist between builds?",[14,1741,1742],{},"Yes, when the data store in node_modules\u002F.astro is preserved between builds. A loader can read its stored entries and a sync token from the meta store, ask the API only for what changed since then, and update or delete entries accordingly. In CI the cache directory has to be saved and restored for this to work.",[1729,1744,1746],{"id":1745},"how-do-i-handle-content-deleted-in-the-remote-source","How do I handle content deleted in the remote source?",[14,1748,1749],{},"Either clear the store and reload everything, which is simple and safe for small collections, or have the API return deleted IDs since the last sync and call store delete for each. Without one of these, deleted items stay in the collection and their pages keep being built.",[1729,1751,1753],{"id":1752},"can-a-loader-render-markdown-from-the-api","Can a loader render Markdown from the API?",[14,1755,1756],{},"Yes. The loader context includes a renderMarkdown function, and storing its result in the entry's rendered field lets pages use the render function and the Content component exactly as with local Markdown files, including headings for a table of contents.",[32,1758,1760],{"id":1759},"related","Related",[37,1762,1763,1772,1779,1784,1791],{},[40,1764,1765,1768,1769,1771],{},[1682,1766,1767],{},"Parent:"," ",[26,1770,29],{"href":28}," — how each generator handles data.",[40,1773,1774,1778],{},[26,1775,1777],{"href":1776},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fcontent-collections-vs-eleventy-data-cascade\u002F","Content Collections vs the Eleventy Data Cascade"," — the local-content side of the comparison.",[40,1780,1781,1783],{},[26,1782,56],{"href":55}," — caching the data store.",[40,1785,1786,1790],{},[26,1787,1789],{"href":1788},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build\u002F","Wiring a Headless CMS to a Static Build"," — webhooks and rebuilds from a CMS.",[40,1792,1793,1797],{},[26,1794,1796],{"href":1795},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-astro-build-errors-after-upgrading-to-astro-5\u002F","Fixing Astro Build Errors After Upgrading to Astro 5"," — moving legacy collections to loaders.",[1799,1800,1801],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .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}",{"title":270,"searchDepth":284,"depth":284,"links":1803},[1804,1805,1806,1807,1808,1809,1810,1811,1812,1813,1814,1815,1821],{"id":34,"depth":284,"text":35},{"id":60,"depth":284,"text":61},{"id":262,"depth":284,"text":263},{"id":528,"depth":284,"text":529},{"id":1083,"depth":284,"text":1084},{"id":1162,"depth":284,"text":1163},{"id":1443,"depth":284,"text":1444},{"id":1458,"depth":284,"text":1459},{"id":1497,"depth":284,"text":1498},{"id":1675,"depth":284,"text":1676},{"id":1719,"depth":284,"text":1720},{"id":1726,"depth":284,"text":1727,"children":1816},[1817,1818,1819,1820],{"id":1731,"depth":305,"text":1732},{"id":1738,"depth":305,"text":1739},{"id":1745,"depth":305,"text":1746},{"id":1752,"depth":305,"text":1753},{"id":1759,"depth":284,"text":1760},[1823,1826,1829,1830],{"name":1824,"item":1825},"Home","\u002F",{"name":1827,"item":1828},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":29,"item":28},{"name":5,"item":1831},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders\u002F","2026-10-02","Pull content from an API or CMS into Astro collections with a custom content layer loader, cache it between builds with digests, and validate it with a schema.","md",[1836,1837,1838,1839],{"q":1732,"a":1735},{"q":1739,"a":1742},{"q":1746,"a":1749},{"q":1753,"a":1756},{},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders",{"title":5,"description":1833},"choosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders\u002Findex","article","OKXvO8xPT9jNb5Ozg1SqjCgu9uvak1mJcEj3tHSHvis",[1847,1850,1853,1856,1859,1862,1865,1868,1871,1874,1877,1880,1882,1885,1887,1890,1893,1896,1898,1899,1902,1905,1908,1911,1914,1917,1920,1923,1926,1929,1932,1935,1938,1941,1944,1947,1950,1953,1956,1959,1962,1965,1968,1971,1974,1977,1980,1983,1986,1989,1992,1995,1998,2001,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,2180,2183,2186,2189,2192,2195,2198,2201,2204,2207,2210,2213,2216,2219,2222,2225,2228,2231,2234,2237,2240,2243,2246,2249,2252,2255,2258,2261,2264,2267,2270,2273,2276,2279,2282,2285,2288,2291,2294,2297,2300,2303,2306,2309,2312,2315,2318,2321,2324,2327,2330,2333,2336,2339,2342,2345,2348,2351,2354,2357,2360,2363,2366,2369,2372,2375,2378,2381,2384,2387,2390,2393,2396,2399,2402,2405,2408,2411,2414,2417,2420,2423,2426,2429,2432,2435,2438,2441,2444,2447,2450,2453,2456,2459,2462,2465,2468,2471,2474,2477,2480,2483,2486,2489,2492,2495,2498,2501,2504,2507,2510,2513,2516,2519,2522,2525,2528,2531,2534,2537,2540,2543,2546,2549,2552,2555,2558,2561,2564,2567,2570,2573,2576,2579,2582,2585,2588,2591,2594,2597,2600,2603,2606,2609,2612,2615,2618,2621,2624,2627,2630,2633,2636,2639,2641,2644,2646,2649,2652,2655,2658,2661,2664,2667,2670,2673,2676,2679,2682,2685,2688,2691,2694,2697,2699,2702,2705,2708,2711,2714,2717,2720,2723,2726,2729,2732,2735,2738,2741,2744,2747,2750,2753,2756,2759,2762,2765,2768,2771,2774,2777,2780,2783,2786,2789,2792,2795,2798,2801,2804,2807,2810,2813,2816,2819,2822,2825,2828,2831,2834,2837,2840,2843,2846,2849,2852,2855,2858,2861,2864,2867,2870,2873,2876,2879,2882,2885,2888,2891,2894,2897,2900,2903,2906,2909,2912,2915,2918,2921,2924,2927,2930,2933,2936,2939,2942,2945,2948,2951,2954,2957,2960,2963,2966,2969,2972,2975,2978,2981,2984],{"path":1848,"title":1849},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites","Accessible Code Blocks in Documentation Sites",{"path":1851,"title":1852},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-dark-mode-toggles-for-static-sites","Accessible Dark Mode Toggles for Static Sites",{"path":1854,"title":1855},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-svg-diagrams-on-static-sites","Accessible SVG Diagrams on Static Sites",{"path":1857,"title":1858},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fenforcing-alt-text-for-markdown-images-at-build-time","Enforcing Alt Text for Markdown Images at Build Time",{"path":1860,"title":1861},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-heading-order-problems-in-markdown-content","Fixing Heading Order Problems in Markdown Content",{"path":1863,"title":1864},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-low-color-contrast-flagged-by-lighthouse","Fixing Low Color Contrast Flagged by Lighthouse",{"path":1866,"title":1867},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1869,"title":1870},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fkeyboard-navigation-and-focus-order-on-static-sites","Keyboard Navigation and Focus Order on Static Sites",{"path":1872,"title":1873},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fskip-links-and-landmarks-in-ssg-layouts","Skip Links and Landmarks in SSG Layouts",{"path":1875,"title":1876},"\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":1878,"title":1879},"\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":1881,"title":1777},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fcontent-collections-vs-eleventy-data-cascade",{"path":1883,"title":1884},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fdev-server-performance-astro-vs-eleventy","Dev Server Performance: Astro vs Eleventy",{"path":1886,"title":1796},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-astro-build-errors-after-upgrading-to-astro-5",{"path":1888,"title":1889},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-duplicate-permalink-errors-in-eleventy","Fixing Duplicate Permalink Errors in Eleventy",{"path":1891,"title":1892},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-eleventy-out-of-memory-errors-on-large-collections","Fixing Eleventy Out-of-Memory Errors on Large Collections",{"path":1894,"title":1895},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-slow-astro-builds-caused-by-large-mdx-collections","Fixing Slow Astro Builds Caused by Large MDX Collections",{"path":1897,"title":29},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites",{"path":1841,"title":5},{"path":1900,"title":1901},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fmarkdown-pipelines-remark-vs-markdown-it","Markdown Pipelines: remark vs markdown-it",{"path":1903,"title":1904},"\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":1906,"title":1907},"\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":1909,"title":1910},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy","Syntax Highlighting with Shiki in Astro and Eleventy",{"path":1912,"title":1913},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fupgrading-eleventy-2-to-3-with-esm-configuration","Upgrading Eleventy 2 to 3 With ESM Configuration",{"path":1915,"title":1916},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fadding-local-search-to-a-vitepress-site","Adding Local Search to a VitePress Site",{"path":1918,"title":1919},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1921,"title":1922},"\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":1924,"title":1925},"\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":1927,"title":1928},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Ffixing-broken-links-reported-by-docusaurus-builds","Fixing Broken Links Reported by Docusaurus Builds",{"path":1930,"title":1931},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fgenerating-api-reference-pages-in-starlight-from-openapi","Generating API Reference Pages in Starlight From OpenAPI",{"path":1933,"title":1934},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1936,"title":1937},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1939,"title":1940},"\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":1942,"title":1943},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1945,"title":1946},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1948,"title":1949},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fspeeding-up-docusaurus-builds-with-rspack","Speeding Up Docusaurus Builds With Rspack",{"path":1951,"title":1952},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1954,"title":1955},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioning-vitepress-documentation-without-a-plugin","Versioning VitePress Documentation Without a Plugin",{"path":1957,"title":1958},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1960,"title":1961},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-vs-starlight-for-vue-and-astro-teams","VitePress vs Starlight for Vue and Astro Teams",{"path":1963,"title":1964},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-fail-after-a-version-upgrade","Fixing Hugo Builds That Fail After a Version Upgrade",{"path":1966,"title":1967},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-slow-down-after-adding-taxonomies","Fixing Hugo Builds That Slow Down After Adding Taxonomies",{"path":1969,"title":1970},"\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":1972,"title":1973},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-image-processing-cache-in-ci","Hugo Image Processing Cache in CI",{"path":1975,"title":1976},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-modules-and-dependency-caching","Hugo Modules and Dependency Caching",{"path":1978,"title":1979},"\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":1981,"title":1982},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1984,"title":1985},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fparallel-hugo-builds-across-ci-jobs","Parallel Hugo Builds Across CI Jobs",{"path":1987,"title":1988},"\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":1990,"title":1991},"\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":1993,"title":1994},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsharing-a-theme-across-hugo-sites-with-modules","Sharing a Theme Across Hugo Sites With Modules",{"path":1996,"title":1997},"\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":1999,"title":2000},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsplitting-large-hugo-sites-with-segments","Splitting Large Hugo Sites with Segments",{"path":2002,"title":1827},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":2004,"title":2005},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ffixing-hreflang-errors-reported-in-search-console","Fixing Hreflang Errors Reported in Search Console",{"path":2007,"title":2008},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fhreflang-and-language-alternates-on-static-sites","hreflang and Language Alternates on Static Sites",{"path":2010,"title":2011},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":2013,"title":2014},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":2016,"title":2017},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Flanguage-detection-and-redirects-at-the-edge","Language Detection and Redirects at the Edge",{"path":2019,"title":2020},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-eleventy-sites-with-the-i18n-plugin","Multilingual Eleventy Sites With the i18n Plugin",{"path":2022,"title":2023},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":2025,"title":2026},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fright-to-left-layouts-on-static-sites","Right-to-Left Layouts on Static Sites",{"path":2028,"title":2029},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fsubdirectories-vs-subdomains-for-translated-static-sites","Subdirectories vs Subdomains for Translated Static Sites",{"path":2031,"title":2032},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ftranslation-workflows-with-git-and-crowdin","Translation Workflows with Git and Crowdin",{"path":2034,"title":2035},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fcustom-domains-and-https-for-jekyll-on-github-pages","Custom Domains and HTTPS for Jekyll on GitHub Pages",{"path":2037,"title":2038},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":2040,"title":2041},"\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":2043,"title":2044},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Ffixing-jekyll-builds-that-break-after-a-ruby-upgrade","Fixing Jekyll Builds That Break After a Ruby Upgrade",{"path":2046,"title":2047},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":2049,"title":2050},"\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":2052,"title":2053},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Frunning-jekyll-in-docker-for-reproducible-builds","Running Jekyll in Docker for Reproducible Builds",{"path":2055,"title":2056},"\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":2058,"title":2059},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":2061,"title":2062},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":2064,"title":2065},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fauditing-content-parity-after-a-migration","Auditing Content Parity After a Migration",{"path":2067,"title":2068},"\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":2070,"title":2071},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":2073,"title":2074},"\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":2076,"title":2077},"\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":2079,"title":2080},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-a-wordpress-export-to-eleventy","Migrating a WordPress Export to Eleventy",{"path":2082,"title":2083},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":2085,"title":2086},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":2088,"title":2089},"\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":2091,"title":2092},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-nextjs-pages-router-to-astro","Migrating from Next.js Pages Router to Astro",{"path":2094,"title":2095},"\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":2097,"title":2098},"\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":2100,"title":2101},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Frecovering-search-traffic-lost-after-a-generator-migration","Recovering Search Traffic Lost After a Generator Migration",{"path":2103,"title":2104},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Freplacing-gatsby-graphql-queries-during-a-migration","Replacing Gatsby GraphQL Queries During a Migration",{"path":2106,"title":2107},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ffixing-404s-on-refresh-in-nextjs-static-export","Fixing 404s on Refresh in Next.js Static Export",{"path":2109,"title":2110},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fgenerating-sitemaps-and-rss-in-nextjs-static-export","Generating Sitemaps and RSS in Next.js Static Export",{"path":2112,"title":2113},"\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":2115,"title":2116},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2118,"title":2119},"\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":2121,"title":2122},"\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":2124,"title":2125},"\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":2127,"title":2128},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-static-export-vs-gatsby-for-existing-react-sites","Next.js Static Export vs Gatsby for Existing React Sites",{"path":2130,"title":2131},"\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":2133,"title":2134},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ftrailing-slash-and-basepath-in-nextjs-static-export","Trailing Slash and basePath in Next.js Static Export",{"path":2136,"title":2137},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fusing-mdx-in-nextjs-static-export","Using MDX in Next.js Static Export",{"path":2139,"title":2140},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Faccessible-search-ui-for-static-sites","Accessible Search UI for Static Sites",{"path":2142,"title":2143},"\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":2145,"title":2146},"\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":2148,"title":2149},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2151,"title":2152},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ffixing-missing-results-in-pagefind-indexes","Fixing Missing Results in Pagefind Indexes",{"path":2154,"title":2155},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":2157,"title":2158},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2160,"title":2161},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2163,"title":2164},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2166,"title":2167},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-lunr-for-small-documentation-sites","Pagefind vs Lunr for Small Documentation Sites",{"path":2169,"title":2170},"\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":2172,"title":2173},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fself-hosting-typesense-for-a-static-site","Self-Hosting Typesense for a Static Site",{"path":2175,"title":2176},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2178,"title":2179},"\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":2181,"title":2182},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fchoosing-an-ssg-for-a-marketing-site-with-non-technical-editors","Choosing an SSG for a Marketing Site with Non-Technical Editors",{"path":2184,"title":2185},"\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":2187,"title":2188},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":2190,"title":2191},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fgatsby-vs-astro-for-content-sites-in-2026","Gatsby vs Astro for Content Sites in 2026",{"path":2193,"title":2194},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2196,"title":2197},"\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":2199,"title":2200},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fscoring-ssg-long-term-maintenance-risk","Scoring SSG Long-Term Maintenance Risk",{"path":2202,"title":2203},"\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":2205,"title":2206},"\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":2208,"title":2209},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fwhen-a-static-site-generator-is-the-wrong-choice","When a Static Site Generator Is the Wrong Choice",{"path":2211,"title":2212},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fadding-json-ld-structured-data-at-build-time","Adding JSON-LD Structured Data at Build Time",{"path":2214,"title":2215},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fcanonical-urls-and-duplicate-content-on-static-sites","Canonical URLs and Duplicate Content on Static Sites",{"path":2217,"title":2218},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-pages-crawled-but-not-indexed-on-static-sites","Fixing Pages Crawled but Not Indexed on Static Sites",{"path":2220,"title":2221},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-soft-404s-on-static-hosts","Fixing Soft 404s on Static Hosts",{"path":2223,"title":2224},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-breadcrumb-structured-data-in-astro","Generating Breadcrumb Structured Data in Astro",{"path":2226,"title":2227},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-sitemaps-for-large-static-sites","Generating Sitemaps for Large Static Sites",{"path":2229,"title":2230},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2232,"title":2233},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frobots-txt-and-noindex-for-preview-and-staging","robots.txt and noindex for Preview and Staging",{"path":2235,"title":2236},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frss-and-atom-feeds-for-static-blogs","RSS and Atom Feeds for Static Blogs",{"path":2238,"title":2239},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fseo-safe-pagination-and-tag-pages","SEO-Safe Pagination and Tag Pages",{"path":2241,"title":2242},"\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":2244,"title":2245},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-for-static-sites-in-nginx","Cache-Control Headers for Static Sites in Nginx",{"path":2247,"title":2248},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-s3-and-cloudfront","Cache-Control Headers on S3 and CloudFront",{"path":2250,"title":2251},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-vercel-for-static-sites","Cache-Control Headers on Vercel for Static Sites",{"path":2253,"title":2254},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-keys-and-query-strings-on-cdns","Cache Keys and Query Strings on CDNs",{"path":2256,"title":2257},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcaching-404s-and-redirects-at-the-edge","Caching 404s and Redirects at the Edge",{"path":2259,"title":2260},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcloudflare-vs-cloudfront-cache-hit-ratios-for-static-sites","Cloudflare vs CloudFront Cache Hit Ratios for Static Sites",{"path":2262,"title":2263},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ffixing-stale-html-after-deploys-on-cloudflare","Fixing Stale HTML After Deploys on Cloudflare",{"path":2265,"title":2266},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2268,"title":2269},"\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":2271,"title":2272},"\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":2274,"title":2275},"\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":2277,"title":2278},"\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":2280,"title":2281},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2283,"title":2284},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fcode-splitting-and-module-preload-in-vite-based-ssgs","Code Splitting and Module Preload in Vite-Based SSGs",{"path":2286,"title":2287},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-missing-tailwind-classes-in-production-builds","Fixing Missing Tailwind Classes in Production Builds",{"path":2289,"title":2290},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-unused-javascript-warnings-on-static-pages","Fixing Unused JavaScript Warnings on Static Pages",{"path":2292,"title":2293},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2295,"title":2296},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites","Inlining Critical CSS on Static Sites",{"path":2298,"title":2299},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fkeeping-tailwind-css-output-small-on-static-sites","Keeping Tailwind CSS Output Small on Static Sites",{"path":2301,"title":2302},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fminifying-html-css-and-js-in-eleventy","Minifying HTML, CSS and JS in Eleventy",{"path":2304,"title":2305},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fprecompressing-assets-with-brotli-and-zstd","Precompressing Assets with Brotli and Zstd",{"path":2307,"title":2308},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fpurging-unused-css-with-tailwind-and-lightningcss","Purging Unused CSS with Tailwind and Lightning CSS",{"path":2310,"title":2311},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons","SVG Icon Sprites vs Inline Icons",{"path":2313,"title":2314},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ftailwind-v4-in-astro-without-postcss-plugins","Tailwind v4 in Astro Without PostCSS Plugins",{"path":2316,"title":2317},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fcls-from-client-side-rendered-components","CLS from Client-Side Rendered Components",{"path":2319,"title":2320},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fdebugging-cls-with-the-layout-instability-api","Debugging CLS with the Layout Instability API",{"path":2322,"title":2323},"\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":2325,"title":2326},"\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":2328,"title":2329},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-dynamic-table-of-contents-widgets","Fixing CLS From Dynamic Table of Contents Widgets",{"path":2331,"title":2332},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-images-without-dimensions-in-markdown","Fixing CLS From Images Without Dimensions in Markdown",{"path":2334,"title":2335},"\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":2337,"title":2338},"\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":2340,"title":2341},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2343,"title":2344},"\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":2346,"title":2347},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Freserving-space-for-ad-and-promo-slots","Reserving Space for Ad and Promo Slots",{"path":2349,"title":2350},"\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":2352,"title":2353},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2355,"title":2356},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffixing-invisible-text-while-web-fonts-load","Fixing Invisible Text While Web Fonts Load",{"path":2358,"title":2359},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2361,"title":2362},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2364,"title":2365},"\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":2367,"title":2368},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2370,"title":2371},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fself-hosted-fonts-vs-google-fonts-for-static-sites","Self-Hosted Fonts vs Google Fonts for Static Sites",{"path":2373,"title":2374},"\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":2376,"title":2377},"\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":2379,"title":2380},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fusing-system-font-stacks-to-skip-webfonts","Using System Font Stacks to Skip Web Fonts",{"path":2382,"title":2383},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2385,"title":2386},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fart-direction-with-the-picture-element","Art Direction with the Picture Element",{"path":2388,"title":2389},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2391,"title":2392},"\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":2394,"title":2395},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2397,"title":2398},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Ffixing-blurry-images-from-astro-assets-resizing","Fixing Blurry Images From astro:assets Resizing",{"path":2400,"title":2401},"\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":2403,"title":2404},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2406,"title":2407},"\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":2409,"title":2410},"\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":2412,"title":2413},"\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":2415,"title":2416},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-astro-images-through-cloudflare-image-resizing","Serving Astro Images Through Cloudflare Image Resizing",{"path":2418,"title":2419},"\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":2421,"title":2422},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2424,"title":2425},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2427,"title":2428},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fbreaking-up-long-tasks-on-static-sites","Breaking Up Long Tasks on Static Sites",{"path":2430,"title":2431},"\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":2433,"title":2434},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-hydration-mismatch-errors-in-astro-islands","Fixing Hydration Mismatch Errors in Astro Islands",{"path":2436,"title":2437},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-poor-inp-on-static-pages-with-heavy-widgets","Fixing Poor INP on Static Pages With Heavy Widgets",{"path":2439,"title":2440},"\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":2442,"title":2443},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2445,"title":2446},"\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":2448,"title":2449},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2451,"title":2452},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2454,"title":2455},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2457,"title":2458},"\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":2460,"title":2461},"\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":2463,"title":2464},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-regressions-caused-by-cookie-consent-tools","Fixing LCP Regressions Caused by Cookie Consent Tools",{"path":2466,"title":2467},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-when-the-hero-is-a-background-image","Fixing LCP When the Hero Is a Background Image",{"path":2469,"title":2470},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-slow-lcp-on-pages-with-embedded-video","Fixing Slow LCP on Pages With Embedded Video",{"path":2472,"title":2473},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Fimproving-ttfb-for-static-html","Improving TTFB for Static HTML",{"path":2475,"title":2476},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2478,"title":2479},"\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":2481,"title":2482},"\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":2484,"title":2485},"\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":2487,"title":2488},"\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":2490,"title":2491},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2493,"title":2494},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Flighthouse-ci-vs-webpagetest-for-regression-gates","Lighthouse CI vs WebPageTest for Regression Gates",{"path":2496,"title":2497},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fmeasuring-web-vitals-in-playwright-tests","Measuring Web Vitals in Playwright Tests",{"path":2499,"title":2500},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2502,"title":2503},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fperformance-testing-on-throttled-mobile-profiles","Performance Testing on Throttled Mobile Profiles",{"path":2505,"title":2506},"\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":2508,"title":2509},"\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":2511,"title":2512},"\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":2514,"title":2515},"\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":2517,"title":2518},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2520,"title":2521},"\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":2523,"title":2524},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2526,"title":2527},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2529,"title":2530},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2532,"title":2533},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffixing-wasted-preloads-flagged-by-chrome","Fixing Wasted Preloads Flagged by Chrome",{"path":2535,"title":2536},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2538,"title":2539},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2541,"title":2542},"\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":2544,"title":2545},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2547,"title":2548},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-in-astro-without-hurting-vitals","View Transitions in Astro Without Hurting Vitals",{"path":2550,"title":2551},"\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":2553,"title":2554},"\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":2556,"title":2557},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffacades-for-chat-widgets-and-maps","Facades for Chat Widgets and Maps",{"path":2559,"title":2560},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffixing-main-thread-blocking-from-chat-widgets","Fixing Main-Thread Blocking From Chat Widgets",{"path":2562,"title":2563},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2565,"title":2566},"\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":2568,"title":2569},"\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":2571,"title":2572},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking","Measuring Third-Party Cost with Request Blocking",{"path":2574,"title":2575},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fprivacy-friendly-analytics-compared-by-page-weight","Privacy-Friendly Analytics Compared by Page Weight",{"path":2577,"title":2578},"\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":2580,"title":2581},"\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":2583,"title":2584},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2586,"title":2587},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2589,"title":2590},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2592,"title":2593},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2595,"title":2596},"\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":2598,"title":2599},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-astro-to-cloudflare-workers-static-assets","Deploying Astro to Cloudflare Workers Static Assets",{"path":2601,"title":2602},"\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":2604,"title":2605},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-to-cloudflare-from-github-actions-with-wrangler","Deploying to Cloudflare From GitHub Actions With Wrangler",{"path":2607,"title":2608},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2610,"title":2611},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2613,"title":2614},"\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":2616,"title":2617},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2619,"title":2620},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2622,"title":2623},"\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":2625,"title":2626},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2628,"title":2629},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fgit-based-cms-options-for-static-sites-compared","Git-Based CMS Options for Static Sites Compared",{"path":2631,"title":2632},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2634,"title":2635},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fmanaging-images-in-docs-as-code-repos","Managing Images in Docs-as-Code Repos",{"path":2637,"title":2638},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2640,"title":1455},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions",{"path":2642,"title":2643},"\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":2645,"title":1789},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build",{"path":2647,"title":2648},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2650,"title":2651},"\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":2653,"title":2654},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2656,"title":2657},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2659,"title":2660},"\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":2662,"title":2663},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Ffixing-flaky-static-site-builds-in-github-actions","Fixing Flaky Static Site Builds in GitHub Actions",{"path":2665,"title":2666},"\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":2668,"title":2669},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2671,"title":2672},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2674,"title":2675},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2677,"title":2678},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpublishing-any-generator-to-github-pages-with-actions","Publishing Any Generator to GitHub Pages With Actions",{"path":2680,"title":2681},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2683,"title":2684},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fbuild-caching-on-netlify-and-vercel","Build Caching on Netlify and Vercel",{"path":2686,"title":2687},"\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":2689,"title":2690},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2692,"title":2693},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2695,"title":2696},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Ffixing-stale-pages-from-incremental-builds","Fixing Stale Pages From Incremental Builds",{"path":2698,"title":56},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer",{"path":2700,"title":2701},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-rebuild-times-across-astro-eleventy-and-hugo","Incremental Rebuild Times Across Astro, Eleventy and Hugo",{"path":2703,"title":2704},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2706,"title":2707},"\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":2709,"title":2710},"\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":2712,"title":2713},"\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":2715,"title":2716},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2718,"title":2719},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2721,"title":2722},"\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":2724,"title":2725},"\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":2727,"title":2728},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ffinding-the-cause-of-a-sudden-field-lcp-drop","Finding the Cause of a Sudden Field LCP Drop",{"path":2730,"title":2731},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2733,"title":2734},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2736,"title":2737},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2739,"title":2740},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Freal-user-error-tracking-on-static-sites","Real-User Error Tracking on Static Sites",{"path":2742,"title":2743},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2745,"title":2746},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2748,"title":2749},"\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":2751,"title":2752},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fbandwidth-pricing-for-static-sites-across-netlify-vercel-and-cloudflare","Static Site Bandwidth Pricing: Netlify, Vercel, Cloudflare",{"path":2754,"title":2755},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-redirects-on-vercel-for-static-sites","Configuring Redirects on Vercel for Static Sites",{"path":2757,"title":2758},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2760,"title":2761},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fdeploying-astro-to-vercel-as-a-fully-static-site","Deploying Astro to Vercel as a Fully Static Site",{"path":2763,"title":2764},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-netlify-builds-that-exceed-the-time-limit","Fixing Netlify Builds That Exceed the Time Limit",{"path":2766,"title":2767},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-vercel-builds-that-run-out-of-memory","Fixing Vercel Builds That Run Out of Memory",{"path":2769,"title":2770},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2772,"title":2773},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2775,"title":2776},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2778,"title":2779},"\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":2781,"title":2782},"\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":2784,"title":2785},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs","Vercel Build Output API for Custom SSGs",{"path":2787,"title":2788},"\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":2790,"title":2791},"\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":2793,"title":2794},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2796,"title":2797},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2799,"title":2800},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Ffixing-preview-deploys-leaking-into-search-results","Fixing Preview Deploys Leaking Into Search Results",{"path":2802,"title":2803},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2805,"title":2806},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2808,"title":2809},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2811,"title":2812},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2814,"title":2815},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpull-request-previews-for-github-pages-sites","Pull Request Previews for GitHub Pages Sites",{"path":2817,"title":2818},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2820,"title":2821},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2823,"title":2824},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites","Blue-Green Deploys for Static Sites",{"path":2826,"title":2827},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2829,"title":2830},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2832,"title":2833},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2835,"title":2836},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fkeeping-old-assets-alive-after-deploy","Keeping Old Assets Alive After Deploy",{"path":2838,"title":2839},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2841,"title":2842},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets","Recovering From a Deploy That Deleted Live Assets",{"path":2844,"title":2845},"\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":2847,"title":2848},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-netlify-deploys-from-the-cli-and-api","Rolling Back Netlify Deploys From the CLI and API",{"path":2850,"title":2851},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes","Rolling Back S3 and CloudFront Deploys With Versioned Prefixes",{"path":2853,"title":2854},"\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":2856,"title":2857},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2859,"title":2860},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2862,"title":2863},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts","Fixing Content Security Policy Violations From Inline Scripts",{"path":2865,"title":2866},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-mixed-content-warnings-after-moving-to-https","Fixing Mixed Content Warnings After Moving to HTTPS",{"path":2868,"title":2869},"\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":2871,"title":2872},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2874,"title":2875},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2877,"title":2878},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2880,"title":2881},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-for-static-sites-served-by-caddy","Security Headers for Static Sites Served by Caddy",{"path":2883,"title":2884},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-on-vercel-for-static-sites","Security Headers on Vercel for Static Sites",{"path":2886,"title":2887},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-txt-and-disclosure-for-static-sites","security.txt and Disclosure for Static Sites",{"path":2889,"title":2890},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2892,"title":2893},"\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":2895,"title":2896},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2898,"title":2899},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2901,"title":2902},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2904,"title":2905},"\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":2907,"title":2908},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2910,"title":2911},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2913,"title":2914},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2916,"title":2917},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-from-a-docker-container-with-nginx","Serving a Static Site From a Docker Container With Nginx",{"path":2919,"title":2920},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy-and-automatic-https","Serving a Static Site With Caddy and Automatic HTTPS",{"path":2922,"title":2923},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2925,"title":2926},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2928,"title":2929},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2931,"title":2932},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2934,"title":2935},"\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":2937,"title":2938},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Ffixing-cold-starts-in-netlify-functions-for-forms","Fixing Cold Starts in Netlify Functions for Forms",{"path":2940,"title":2941},"\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":2943,"title":2944},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2946,"title":2947},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2949,"title":2950},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2952,"title":2953},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2955,"title":2956},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fproxying-third-party-apis-from-an-edge-function","Proxying Third-Party APIs from an Edge Function",{"path":2958,"title":2959},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2961,"title":2962},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci","Accessibility Testing with axe and pa11y in CI",{"path":2964,"title":2965},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright","End-to-End Tests for Static Sites with Playwright",{"path":2967,"title":2968},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ffixing-flaky-playwright-tests-against-preview-deploys","Fixing Flaky Playwright Tests Against Preview Deploys",{"path":2970,"title":2971},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2973,"title":2974},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2976,"title":2977},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2979,"title":2980},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-search-and-navigation-flows-with-playwright","Testing Search and Navigation Flows With Playwright",{"path":2982,"title":2983},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2985,"title":2986},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2988,"tools":2992},{"label":2989,"plural":2990,"u":2991},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[2993],{"label":2994,"u":2995},"Astro","\u002Ftools\u002Fastro\u002F",1790943194164]