[{"data":1,"prerenderedAt":1998},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer":3,"all-docs-nav":1457},{"id":4,"title":5,"body":6,"breadcrumb":1433,"dateModified":1443,"datePublished":1443,"description":1444,"extension":1445,"faq":1446,"meta":1451,"navigation":340,"path":1452,"seo":1453,"slug":12,"stem":1454,"type":1455,"__hash__":1456},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer\u002Findex.md","Incremental Builds in Astro with the Content Layer",{"type":7,"value":8,"toc":1414},"minimark",[9,13,17,26,31,48,52,67,231,234,255,258,272,276,282,470,473,477,480,913,930,1005,1012,1016,1023,1088,1114,1211,1215,1225,1229,1232,1261,1265,1274,1278,1324,1328,1337,1341,1346,1349,1353,1356,1360,1363,1367,1370,1374,1410],[10,11,5],"h1",{"id":12},"incremental-builds-in-astro-with-the-content-layer",[14,15,16],"p",{},"Astro's content collections used to re-read and re-render every Markdown file on every build. For a 300-page blog that is fine. For a 10,000-page documentation site or a site pulling thousands of entries from a headless CMS, it made builds long and CI expensive. Astro 5's content layer changed that. Collections are now populated by loaders, entries are stored with a digest in a persistent data store, and unchanged entries are reused on the next build instead of being parsed and rendered again.",[14,18,19,20,25],{},"This guide explains what the content layer caches and what it does not, shows how to write a custom loader that takes advantage of digests, and sets up CI so the cache survives between runs. It is part of ",[21,22,24],"a",{"href":23},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002F","Incremental Builds and Build Caching for SSGs",".",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,42,45],"ul",{},[35,36,37,38,25],"li",{},"Astro 5 or later with collections defined in ",[39,40,41],"code",{},"src\u002Fcontent.config.ts",[35,43,44],{},"A CI system that can persist a directory between runs.",[35,46,47],{},"For custom loaders: familiarity with the collection schema API.",[27,49,51],{"id":50},"what-the-content-layer-caches","What the Content Layer Caches",[14,53,54,55,58,59,62,63,66],{},"Each collection is defined with a loader. The built-in ",[39,56,57],{},"glob()"," loader reads files from disk; the ",[39,60,61],{},"file()"," loader reads a single JSON or YAML file; custom loaders fetch from anywhere. On each build, the loader decides what to add, update or remove in the collection's store. Astro saves the store to ",[39,64,65],{},"node_modules\u002F.astro\u002Fdata-store.json",", including each entry's data, its digest and, for Markdown, its rendered HTML.",[68,69,70,227],"figure",{},[71,72,79,80,79,84,79,88,79,95,79,113],"svg",{"viewBox":73,"role":74,"ariaLabelledBy":75,"xmlns":78},"0 0 760 280","img",[76,77],"acl-flow-title","acl-flow-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[81,82,83],"title",{"id":76},"How the content layer reuses unchanged entries",[85,86,87],"desc",{"id":77},"For each entry, the loader computes a digest from its source. If the digest matches the one in the data store, the stored data and rendered HTML are reused. If it differs or the entry is new, it is parsed, validated against the schema and rendered, then written back to the store. Entries no longer present in the source are removed.",[89,90],"rect",{"x":91,"y":91,"width":92,"height":93,"fill":94},"0","760","280","#ffffff",[96,97,98,99,79],"defs",{},"\n    ",[100,101,108],"marker",{"id":102,"viewBox":103,"refX":104,"refY":105,"markerWidth":106,"markerHeight":106,"orient":107},"acl-flow-arrow","0 0 10 10","9","5","7","auto-start-reverse",[109,110],"path",{"d":111,"fill":112},"M0,0 L10,5 L0,10 z","#556071",[114,115,98,117,98,125,98,134,98,140,98,145,98,151,98,155,98,158,98,163,98,167,98,170,98,176,98,182,98,186,98,191,98,196,98,200,98,207,98,211,98,217,98,219,98,223,79],"g",{"style":116},"font-family:system-ui, sans-serif;font-size:12px",[118,119,124],"text",{"x":120,"y":121,"fill":122,"style":123},"380","26","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Per-entry decision on each build",[89,126],{"x":127,"y":128,"width":129,"height":130,"rx":131,"fill":132,"style":133,"stroke":132},"20","100","140","56","8","#166a9e","fill-opacity:0.1",[118,135,139],{"x":136,"y":137,"fill":122,"style":138},"90","124","text-anchor:middle","source entry",[118,141,144],{"x":136,"y":142,"fill":112,"style":143},"142","font-size:11px;text-anchor:middle","file or API item",[89,146],{"x":147,"y":128,"width":148,"height":130,"rx":131,"fill":149,"style":150,"stroke":149},"200","150","#6a4c93","fill-opacity:0.12",[118,152,154],{"x":153,"y":137,"fill":122,"style":138},"275","compute digest",[118,156,157],{"x":153,"y":142,"fill":112,"style":143},"hash of raw content",[89,159],{"x":160,"y":128,"width":161,"height":130,"rx":131,"fill":162,"style":133,"stroke":162},"390","130","#8a6d0f",[118,164,166],{"x":165,"y":137,"fill":122,"style":138},"455","matches",[118,168,169],{"x":165,"y":142,"fill":122,"style":138},"stored digest?",[89,171],{"x":172,"y":173,"width":174,"height":130,"rx":131,"fill":175,"style":150,"stroke":175},"570","46","170","#3f6410",[118,177,181],{"x":178,"y":179,"fill":175,"style":180},"655","70","font-weight:700;text-anchor:middle","yes: reuse",[118,183,185],{"x":178,"y":184,"fill":112,"style":143},"88","data + rendered HTML",[89,187],{"x":172,"y":188,"width":174,"height":130,"rx":131,"fill":189,"style":190,"stroke":189},"156","#d83b41","fill-opacity:0.08",[118,192,195],{"x":178,"y":193,"fill":194,"style":180},"180","#b32b30","no: process",[118,197,199],{"x":178,"y":198,"fill":112,"style":143},"198","parse, validate, render",[201,202],"line",{"x1":203,"y1":204,"x2":205,"y2":204,"stroke":112,"style":206},"160","128","196","stroke-width:1.5px;marker-end:url(#acl-flow-arrow)",[201,208],{"x1":209,"y1":204,"x2":210,"y2":204,"stroke":112,"style":206},"350","386",[201,212],{"x1":213,"y1":214,"x2":215,"y2":216,"stroke":112,"style":206},"520","118","566","78",[201,218],{"x1":213,"y1":129,"x2":215,"y2":193,"stroke":112,"style":206},[118,220,222],{"x":120,"y":221,"fill":122,"style":138},"252","store: node_modules\u002F.astro\u002Fdata-store.json",[118,224,226],{"x":120,"y":225,"fill":112,"style":143},"270","entries missing from the source are deleted from the store",[228,229,230],"figcaption",{},"The digest check is what turns a full content reload into an incremental one.",[14,232,233],{},"What is incremental:",[32,235,236,243,249],{},[35,237,238,242],{},[239,240,241],"strong",{},"Loading."," Unchanged files or API items are not re-parsed or re-validated.",[35,244,245,248],{},[239,246,247],{},"Markdown and MDX rendering."," Rendered HTML for unchanged entries is reused, which is where most of the saving comes from on content-heavy sites.",[35,250,251,254],{},[239,252,253],{},"Image processing."," Optimised images live in the same cache directory and are reused if unchanged.",[14,256,257],{},"What is not:",[32,259,260,266],{},[35,261,262,265],{},[239,263,264],{},"Page generation."," Astro still runs every page's component tree and writes every HTML file. For sites with thousands of pages this is now usually the largest part of the build.",[35,267,268,271],{},[239,269,270],{},"Client bundling."," Vite rebuilds client JavaScript and CSS each time, although it is fast for most content sites.",[27,273,275],{"id":274},"the-glob-loader","The glob Loader",[14,277,278,279,281],{},"For files on disk, the built-in ",[39,280,57],{}," loader handles digests for you:",[283,284,289],"pre",{"className":285,"code":286,"language":287,"meta":288,"style":288},"language-ts shiki shiki-themes github-light github-dark","\u002F\u002F src\u002Fcontent.config.ts\nimport { defineCollection, z } from 'astro:content';\nimport { glob } from 'astro\u002Floaders';\n\nconst docs = defineCollection({\n  loader: glob({ pattern: '**\u002F*.{md,mdx}', base: '.\u002Fsrc\u002Fcontent\u002Fdocs' }),\n  schema: z.object({\n    title: z.string(),\n    description: z.string(),\n    updated: z.coerce.date().optional(),\n  }),\n});\n\nexport const collections = { docs };\n","ts","",[39,290,291,299,320,335,342,362,386,397,409,419,436,442,448,453],{"__ignoreMap":288},[292,293,295],"span",{"class":201,"line":294},1,[292,296,298],{"class":297},"sJ8bj","\u002F\u002F src\u002Fcontent.config.ts\n",[292,300,302,306,310,313,317],{"class":201,"line":301},2,[292,303,305],{"class":304},"szBVR","import",[292,307,309],{"class":308},"sVt8B"," { defineCollection, z } ",[292,311,312],{"class":304},"from",[292,314,316],{"class":315},"sZZnC"," 'astro:content'",[292,318,319],{"class":308},";\n",[292,321,323,325,328,330,333],{"class":201,"line":322},3,[292,324,305],{"class":304},[292,326,327],{"class":308}," { glob } ",[292,329,312],{"class":304},[292,331,332],{"class":315}," 'astro\u002Floaders'",[292,334,319],{"class":308},[292,336,338],{"class":201,"line":337},4,[292,339,341],{"emptyLinePlaceholder":340},true,"\n",[292,343,345,348,352,355,359],{"class":201,"line":344},5,[292,346,347],{"class":304},"const",[292,349,351],{"class":350},"sj4cs"," docs",[292,353,354],{"class":304}," =",[292,356,358],{"class":357},"sScJk"," defineCollection",[292,360,361],{"class":308},"({\n",[292,363,365,368,371,374,377,380,383],{"class":201,"line":364},6,[292,366,367],{"class":308},"  loader: ",[292,369,370],{"class":357},"glob",[292,372,373],{"class":308},"({ pattern: ",[292,375,376],{"class":315},"'**\u002F*.{md,mdx}'",[292,378,379],{"class":308},", base: ",[292,381,382],{"class":315},"'.\u002Fsrc\u002Fcontent\u002Fdocs'",[292,384,385],{"class":308}," }),\n",[292,387,389,392,395],{"class":201,"line":388},7,[292,390,391],{"class":308},"  schema: z.",[292,393,394],{"class":357},"object",[292,396,361],{"class":308},[292,398,400,403,406],{"class":201,"line":399},8,[292,401,402],{"class":308},"    title: z.",[292,404,405],{"class":357},"string",[292,407,408],{"class":308},"(),\n",[292,410,412,415,417],{"class":201,"line":411},9,[292,413,414],{"class":308},"    description: z.",[292,416,405],{"class":357},[292,418,408],{"class":308},[292,420,422,425,428,431,434],{"class":201,"line":421},10,[292,423,424],{"class":308},"    updated: z.coerce.",[292,426,427],{"class":357},"date",[292,429,430],{"class":308},"().",[292,432,433],{"class":357},"optional",[292,435,408],{"class":308},[292,437,439],{"class":201,"line":438},11,[292,440,441],{"class":308},"  }),\n",[292,443,445],{"class":201,"line":444},12,[292,446,447],{"class":308},"});\n",[292,449,451],{"class":201,"line":450},13,[292,452,341],{"emptyLinePlaceholder":340},[292,454,456,459,462,465,467],{"class":201,"line":455},14,[292,457,458],{"class":304},"export",[292,460,461],{"class":304}," const",[292,463,464],{"class":350}," collections",[292,466,354],{"class":304},[292,468,469],{"class":308}," { docs };\n",[14,471,472],{},"It hashes each file's contents, compares with the store and only processes changed files. Deleted files are removed from the store. In development, it also watches the folder and updates single entries in place.",[27,474,476],{"id":475},"writing-a-loader-with-digests","Writing a Loader With Digests",[14,478,479],{},"Custom loaders get the same benefit if they pass a digest. Here is a loader for a headless CMS that fetches all entries, but only re-processes those whose content changed:",[283,481,483],{"className":285,"code":482,"language":287,"meta":288,"style":288},"import type { Loader } from 'astro\u002Floaders';\n\nexport function cmsLoader({ endpoint, token }): Loader {\n  return {\n    name: 'cms-loader',\n    async load({ store, parseData, generateDigest, meta, logger }) {\n      const since = meta.get('lastSync');\n      const url = new URL(endpoint);\n      if (since) url.searchParams.set('updated_since', since);\n      const res = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });\n      const { items, deleted } = await res.json();\n\n      for (const item of items) {\n        const digest = generateDigest(item);\n        const data = await parseData({ id: item.slug, data: item });\n        store.set({ id: item.slug, data, digest, rendered: { html: item.bodyHtml } });\n      }\n      for (const id of deleted ?? []) store.delete(id);\n\n      meta.set('lastSync', new Date().toISOString());\n      logger.info(`synced ${items.length} changed, ${deleted?.length ?? 0} deleted`);\n    },\n  };\n}\n",[39,484,485,501,505,540,547,558,594,619,637,656,685,717,721,740,756,774,785,791,820,825,853,895,901,907],{"__ignoreMap":288},[292,486,487,489,492,495,497,499],{"class":201,"line":294},[292,488,305],{"class":304},[292,490,491],{"class":304}," type",[292,493,494],{"class":308}," { Loader } ",[292,496,312],{"class":304},[292,498,332],{"class":315},[292,500,319],{"class":308},[292,502,503],{"class":201,"line":301},[292,504,341],{"emptyLinePlaceholder":340},[292,506,507,509,512,515,518,522,525,528,531,534,537],{"class":201,"line":322},[292,508,458],{"class":304},[292,510,511],{"class":304}," function",[292,513,514],{"class":357}," cmsLoader",[292,516,517],{"class":308},"({ ",[292,519,521],{"class":520},"s4XuR","endpoint",[292,523,524],{"class":308},", ",[292,526,527],{"class":520},"token",[292,529,530],{"class":308}," })",[292,532,533],{"class":304},":",[292,535,536],{"class":357}," Loader",[292,538,539],{"class":308}," {\n",[292,541,542,545],{"class":201,"line":337},[292,543,544],{"class":304},"  return",[292,546,539],{"class":308},[292,548,549,552,555],{"class":201,"line":344},[292,550,551],{"class":308},"    name: ",[292,553,554],{"class":315},"'cms-loader'",[292,556,557],{"class":308},",\n",[292,559,560,563,566,568,571,573,576,578,581,583,586,588,591],{"class":201,"line":364},[292,561,562],{"class":304},"    async",[292,564,565],{"class":357}," load",[292,567,517],{"class":308},[292,569,570],{"class":520},"store",[292,572,524],{"class":308},[292,574,575],{"class":520},"parseData",[292,577,524],{"class":308},[292,579,580],{"class":520},"generateDigest",[292,582,524],{"class":308},[292,584,585],{"class":520},"meta",[292,587,524],{"class":308},[292,589,590],{"class":520},"logger",[292,592,593],{"class":308}," }) {\n",[292,595,596,599,602,604,607,610,613,616],{"class":201,"line":388},[292,597,598],{"class":304},"      const",[292,600,601],{"class":350}," since",[292,603,354],{"class":304},[292,605,606],{"class":308}," meta.",[292,608,609],{"class":357},"get",[292,611,612],{"class":308},"(",[292,614,615],{"class":315},"'lastSync'",[292,617,618],{"class":308},");\n",[292,620,621,623,626,628,631,634],{"class":201,"line":399},[292,622,598],{"class":304},[292,624,625],{"class":350}," url",[292,627,354],{"class":304},[292,629,630],{"class":304}," new",[292,632,633],{"class":357}," URL",[292,635,636],{"class":308},"(endpoint);\n",[292,638,639,642,645,648,650,653],{"class":201,"line":411},[292,640,641],{"class":304},"      if",[292,643,644],{"class":308}," (since) url.searchParams.",[292,646,647],{"class":357},"set",[292,649,612],{"class":308},[292,651,652],{"class":315},"'updated_since'",[292,654,655],{"class":308},", since);\n",[292,657,658,660,663,665,668,671,674,677,679,682],{"class":201,"line":421},[292,659,598],{"class":304},[292,661,662],{"class":350}," res",[292,664,354],{"class":304},[292,666,667],{"class":304}," await",[292,669,670],{"class":357}," fetch",[292,672,673],{"class":308},"(url, { headers: { Authorization: ",[292,675,676],{"class":315},"`Bearer ${",[292,678,527],{"class":308},[292,680,681],{"class":315},"}`",[292,683,684],{"class":308}," } });\n",[292,686,687,689,692,695,697,700,703,706,708,711,714],{"class":201,"line":438},[292,688,598],{"class":304},[292,690,691],{"class":308}," { ",[292,693,694],{"class":350},"items",[292,696,524],{"class":308},[292,698,699],{"class":350},"deleted",[292,701,702],{"class":308}," } ",[292,704,705],{"class":304},"=",[292,707,667],{"class":304},[292,709,710],{"class":308}," res.",[292,712,713],{"class":357},"json",[292,715,716],{"class":308},"();\n",[292,718,719],{"class":201,"line":444},[292,720,341],{"emptyLinePlaceholder":340},[292,722,723,726,729,731,734,737],{"class":201,"line":450},[292,724,725],{"class":304},"      for",[292,727,728],{"class":308}," (",[292,730,347],{"class":304},[292,732,733],{"class":350}," item",[292,735,736],{"class":304}," of",[292,738,739],{"class":308}," items) {\n",[292,741,742,745,748,750,753],{"class":201,"line":455},[292,743,744],{"class":304},"        const",[292,746,747],{"class":350}," digest",[292,749,354],{"class":304},[292,751,752],{"class":357}," generateDigest",[292,754,755],{"class":308},"(item);\n",[292,757,759,761,764,766,768,771],{"class":201,"line":758},15,[292,760,744],{"class":304},[292,762,763],{"class":350}," data",[292,765,354],{"class":304},[292,767,667],{"class":304},[292,769,770],{"class":357}," parseData",[292,772,773],{"class":308},"({ id: item.slug, data: item });\n",[292,775,777,780,782],{"class":201,"line":776},16,[292,778,779],{"class":308},"        store.",[292,781,647],{"class":357},[292,783,784],{"class":308},"({ id: item.slug, data, digest, rendered: { html: item.bodyHtml } });\n",[292,786,788],{"class":201,"line":787},17,[292,789,790],{"class":308},"      }\n",[292,792,794,796,798,800,803,805,808,811,814,817],{"class":201,"line":793},18,[292,795,725],{"class":304},[292,797,728],{"class":308},[292,799,347],{"class":304},[292,801,802],{"class":350}," id",[292,804,736],{"class":304},[292,806,807],{"class":308}," deleted ",[292,809,810],{"class":304},"??",[292,812,813],{"class":308}," []) store.",[292,815,816],{"class":357},"delete",[292,818,819],{"class":308},"(id);\n",[292,821,823],{"class":201,"line":822},19,[292,824,341],{"emptyLinePlaceholder":340},[292,826,828,831,833,835,837,839,842,845,847,850],{"class":201,"line":827},20,[292,829,830],{"class":308},"      meta.",[292,832,647],{"class":357},[292,834,612],{"class":308},[292,836,615],{"class":315},[292,838,524],{"class":308},[292,840,841],{"class":304},"new",[292,843,844],{"class":357}," Date",[292,846,430],{"class":308},[292,848,849],{"class":357},"toISOString",[292,851,852],{"class":308},"());\n",[292,854,856,859,862,864,867,869,871,874,877,879,882,884,887,890,893],{"class":201,"line":855},21,[292,857,858],{"class":308},"      logger.",[292,860,861],{"class":357},"info",[292,863,612],{"class":308},[292,865,866],{"class":315},"`synced ${",[292,868,694],{"class":308},[292,870,25],{"class":315},[292,872,873],{"class":350},"length",[292,875,876],{"class":315},"} changed, ${",[292,878,699],{"class":308},[292,880,881],{"class":315},"?.",[292,883,873],{"class":350},[292,885,886],{"class":304}," ??",[292,888,889],{"class":350}," 0",[292,891,892],{"class":315},"} deleted`",[292,894,618],{"class":308},[292,896,898],{"class":201,"line":897},22,[292,899,900],{"class":308},"    },\n",[292,902,904],{"class":201,"line":903},23,[292,905,906],{"class":308},"  };\n",[292,908,910],{"class":201,"line":909},24,[292,911,912],{"class":308},"}\n",[14,914,915,916,918,919,922,923,925,926,929],{},"Two techniques combine here. The ",[39,917,585],{}," store persists a ",[39,920,921],{},"lastSync"," timestamp, so the loader asks the CMS only for entries changed since the last build — a much smaller response. And ",[39,924,580],{}," plus ",[39,927,928],{},"store.set"," with a digest means that even if the CMS returns an unchanged entry, Astro skips reprocessing it. If the CMS cannot filter by date, the digest alone still saves the parsing and rendering work.",[68,931,932,1002],{},[71,933,79,938,79,941,79,944,79,947],{"viewBox":934,"role":74,"ariaLabelledBy":935,"xmlns":78},"0 0 760 230",[936,937],"acl-cms-title","acl-cms-desc",[81,939,940],{"id":936},"CMS loader work with and without incremental sync",[85,942,943],{"id":937},"For 3,500 CMS entries with 20 changed since the last build: a full fetch without digests downloads 3,500 items and processes 3,500. A full fetch with digests downloads 3,500 and processes 20. An updated_since fetch with digests downloads 20 and processes 20.",[89,945],{"x":91,"y":91,"width":92,"height":946,"fill":94},"230",[114,948,98,949,98,953,98,958,98,962,98,966,98,972,98,977,98,980,98,982,98,986,98,988,98,990,98,994,98,996,98,998,79],{"style":116},[118,950,952],{"x":120,"y":951,"fill":122,"style":123},"28","3,500 CMS entries, 20 changed since last build",[118,954,957],{"x":225,"y":955,"fill":122,"style":956},"58","font-weight:700;text-anchor:end","loader strategy",[118,959,961],{"x":960,"y":955,"fill":122,"style":180},"410","items fetched",[118,963,965],{"x":964,"y":955,"fill":122,"style":180},"590","items processed",[201,967],{"x1":968,"y1":969,"x2":970,"y2":969,"stroke":112,"style":971},"40","68","720","stroke-width:1px",[118,973,976],{"x":225,"y":974,"fill":122,"style":975},"98","text-anchor:end","full fetch, no digest",[118,978,979],{"x":960,"y":974,"fill":194,"style":138},"3,500",[118,981,979],{"x":964,"y":974,"fill":194,"style":138},[118,983,985],{"x":225,"y":984,"fill":122,"style":975},"136","full fetch + digest",[118,987,979],{"x":960,"y":984,"fill":194,"style":138},[118,989,127],{"x":964,"y":984,"fill":175,"style":138},[118,991,993],{"x":225,"y":992,"fill":122,"style":975},"174","updated_since + digest",[118,995,127],{"x":960,"y":992,"fill":175,"style":138},[118,997,127],{"x":964,"y":992,"fill":175,"style":138},[118,999,1001],{"x":120,"y":1000,"fill":112,"style":143},"214","the digest saves processing; the timestamp also saves the API call and rate-limit budget",[228,1003,1004],{},"Digests make processing incremental; a sync timestamp makes the fetch incremental too.",[14,1006,1007,1008,25],{},"Run a full sync occasionally anyway — for example on a nightly schedule with the cache key bumped — so any entries missed by the timestamp filter, such as items restored from the CMS trash, are picked up. Content modelling for CMS-backed sites is covered in ",[21,1009,1011],{"href":1010},"\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",[27,1013,1015],{"id":1014},"keeping-the-cache-in-ci","Keeping the Cache in CI",[14,1017,1018,1019,1022],{},"The store lives in ",[39,1020,1021],{},"node_modules\u002F.astro",", which CI runners discard. Persist it explicitly:",[283,1024,1028],{"className":1025,"code":1026,"language":1027,"meta":288,"style":288},"language-yaml shiki shiki-themes github-light github-dark","- uses: actions\u002Fcache@v4\n  with:\n    path: node_modules\u002F.astro\n    key: astro-${{ hashFiles('package-lock.json', 'astro.config.*', 'src\u002Fcontent.config.*') }}-${{ github.sha }}\n    restore-keys: |\n      astro-${{ hashFiles('package-lock.json', 'astro.config.*', 'src\u002Fcontent.config.*') }}-\n","yaml",[39,1029,1030,1045,1053,1063,1073,1083],{"__ignoreMap":288},[292,1031,1032,1035,1039,1042],{"class":201,"line":294},[292,1033,1034],{"class":308},"- ",[292,1036,1038],{"class":1037},"s9eBZ","uses",[292,1040,1041],{"class":308},": ",[292,1043,1044],{"class":315},"actions\u002Fcache@v4\n",[292,1046,1047,1050],{"class":201,"line":301},[292,1048,1049],{"class":1037},"  with",[292,1051,1052],{"class":308},":\n",[292,1054,1055,1058,1060],{"class":201,"line":322},[292,1056,1057],{"class":1037},"    path",[292,1059,1041],{"class":308},[292,1061,1062],{"class":315},"node_modules\u002F.astro\n",[292,1064,1065,1068,1070],{"class":201,"line":337},[292,1066,1067],{"class":1037},"    key",[292,1069,1041],{"class":308},[292,1071,1072],{"class":315},"astro-${{ hashFiles('package-lock.json', 'astro.config.*', 'src\u002Fcontent.config.*') }}-${{ github.sha }}\n",[292,1074,1075,1078,1080],{"class":201,"line":344},[292,1076,1077],{"class":1037},"    restore-keys",[292,1079,1041],{"class":308},[292,1081,1082],{"class":304},"|\n",[292,1084,1085],{"class":201,"line":364},[292,1086,1087],{"class":315},"      astro-${{ hashFiles('package-lock.json', 'astro.config.*', 'src\u002Fcontent.config.*') }}-\n",[14,1089,1090,1091,1094,1095,1098,1099,1102,1103,1105,1106,1109,1110,25],{},"Order matters: ",[39,1092,1093],{},"npm ci"," deletes the whole ",[39,1096,1097],{},"node_modules"," folder, including anything restored into it. Restore the cache ",[239,1100,1101],{},"after"," ",[39,1104,1093],{}," and before ",[39,1107,1108],{},"astro build",". Including the content config in the key means a schema change starts from an empty store, which Astro would do anyway, and avoids restoring a large store that will be discarded. The full workflow is in ",[21,1111,1113],{"href":1112},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions\u002F","Building Astro Sites with GitHub Actions",[68,1115,1116,1208],{},[71,1117,79,1122,79,1125,79,1128,79,1131],{"viewBox":1118,"role":74,"ariaLabelledBy":1119,"xmlns":78},"0 0 760 260",[1120,1121],"acl-time-title","acl-time-desc",[81,1123,1124],{"id":1120},"Build phases with a cold and a warm content layer cache",[85,1126,1127],{"id":1121},"On a 6,000-entry documentation site, a cold build spends 190 seconds loading and rendering content, 40 seconds generating pages and 25 seconds on images and bundling. A warm build with 12 changed entries spends 6 seconds on content, 40 on pages and 5 on images and bundling.",[89,1129],{"x":91,"y":91,"width":92,"height":1130,"fill":94},"260",[114,1132,98,1133,98,1136,98,1141,98,1145,98,1148,98,1153,98,1157,98,1161,98,1165,98,1168,98,1171,98,1174,98,1177,98,1181,98,1185,98,1190,98,1193,98,1197,98,1200,98,1204,79],{"style":116},[118,1134,1135],{"x":120,"y":951,"fill":122,"style":123},"Build time by phase, 6,000 Markdown entries (seconds)",[118,1137,1140],{"x":1138,"y":1139,"fill":122},"94","80","cold cache",[89,1142],{"x":203,"y":1143,"width":120,"height":121,"fill":189,"style":1144},"64","fill-opacity:0.45",[89,1146],{"x":1147,"y":1143,"width":1139,"height":121,"fill":132,"style":1144},"540",[89,1149],{"x":1150,"y":1143,"width":1151,"height":121,"fill":149,"style":1152},"620","50","fill-opacity:0.4",[118,1154,1156],{"x":209,"y":1155,"fill":122,"style":138},"82","content 190",[118,1158,1160],{"x":1159,"y":1155,"fill":122,"style":138},"580","pages 40",[118,1162,1164],{"x":1163,"y":129,"fill":122},"55","warm, 12 changed",[89,1166],{"x":203,"y":137,"width":1167,"height":121,"fill":189,"style":1144},"12",[89,1169],{"x":1170,"y":137,"width":1139,"height":121,"fill":132,"style":1144},"172",[89,1172],{"x":221,"y":137,"width":1173,"height":121,"fill":149,"style":1152},"10",[118,1175,1160],{"x":1176,"y":142,"fill":122,"style":138},"212",[118,1178,1180],{"x":1179,"y":142,"fill":122},"272","total 51",[89,1182],{"x":203,"y":1183,"width":1184,"height":1167,"fill":189,"style":1144},"182","14",[118,1186,1189],{"x":193,"y":1187,"fill":122,"style":1188},"192","font-size:11px","content load + render",[89,1191],{"x":1192,"y":1183,"width":1184,"height":1167,"fill":132,"style":1144},"340",[118,1194,1196],{"x":1195,"y":1187,"fill":122,"style":1188},"360","page generation",[89,1198],{"x":1199,"y":1183,"width":1184,"height":1167,"fill":149,"style":1152},"480",[118,1201,1203],{"x":1202,"y":1187,"fill":122,"style":1188},"500","images + bundling",[118,1205,1207],{"x":120,"y":1206,"fill":112,"style":143},"236","cold total 255 s; warm total 51 s; page generation is now the largest phase",[228,1209,1210],{},"With a warm store, page generation — not content processing — dominates the build.",[27,1212,1214],{"id":1213},"when-the-cache-is-cleared","When the Cache Is Cleared",[14,1216,1217,1218,1221,1222,1224],{},"Astro discards the store and reloads everything when the Astro version changes, when ",[39,1219,1220],{},"content.config.ts"," or collection schemas change, or when the store file is missing or corrupt. Integrations that modify content, such as remark and rehype plugins, are part of the config, so adding a plugin also clears it — which is correct, because rendered HTML would otherwise be stale. If output ever looks stale after an unusual change, delete ",[39,1223,1021],{}," locally or bump the CI cache key.",[27,1226,1228],{"id":1227},"reducing-page-generation-time","Reducing Page Generation Time",[14,1230,1231],{},"Once content processing is incremental, page generation is the remaining cost. Three common improvements:",[1233,1234,1235,1245,1251],"ol",{},[35,1236,1237,1240,1241,1244],{},[239,1238,1239],{},"Avoid per-page collection queries."," Calling ",[39,1242,1243],{},"getCollection('docs')"," inside every page to build a sidebar re-sorts thousands of entries thousands of times. Compute navigation once in a module and import it.",[35,1246,1247,1250],{},[239,1248,1249],{},"Keep components cheap."," Syntax highlighting inside components at render time repeats work the Markdown pipeline already did.",[35,1252,1253,1256,1257,25],{},[239,1254,1255],{},"Split very large sites."," Separate versioned docs into their own builds, or build only the latest version on each commit, as described in ",[21,1258,1260],{"href":1259},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos\u002F","Matrix Builds for Multi-Site Monorepos",[27,1262,1264],{"id":1263},"measured-impact","Measured Impact",[14,1266,1267,1268,1270,1271,1273],{},"A documentation site with 6,000 Markdown entries moved from Astro 4's legacy collections to the content layer with the ",[39,1269,57],{}," loader and a persisted CI cache. Cold builds were unchanged at about four minutes. Typical pull request builds, which change a handful of files, fell from 4 minutes 15 seconds to 51 seconds. A second site loading 3,500 entries from a headless CMS with a ",[39,1272,921],{}," loader cut its build's API time from 70 seconds to under 3 and stopped hitting the CMS's rate limit during busy editing days.",[27,1275,1277],{"id":1276},"pitfalls-rollback","Pitfalls & Rollback",[32,1279,1280,1291,1303,1312,1318],{},[35,1281,1282,1287,1288,1290],{},[239,1283,1284,1285,25],{},"Restoring the cache before ",[39,1286,1093],{}," It is deleted with ",[39,1289,1097],{},"; restore after install.",[35,1292,1293,1296,1297,1300,1301,25],{},[239,1294,1295],{},"Loaders without digests."," Every entry is re-processed each build; pass ",[39,1298,1299],{},"digest"," to ",[39,1302,928],{},[35,1304,1305,1311],{},[239,1306,1307,1308,1310],{},"Relying on ",[39,1309,921],{}," without handling deletions."," Deleted CMS entries stay in the store unless the loader removes them.",[35,1313,1314,1317],{},[239,1315,1316],{},"Stale rendered HTML after plugin changes."," Changing plugins through a separate file the config imports may not clear the store; bump the cache key when you do.",[35,1319,1320,1323],{},[239,1321,1322],{},"Rollback:"," delete the cache step; builds become full builds again, with identical output.",[27,1325,1327],{"id":1326},"conclusion","Conclusion",[14,1329,1330,1331,1333,1334,1336],{},"Astro's content layer makes content processing incremental: loaders store each entry with a digest, unchanged entries reuse their data and rendered HTML, and the store persists in ",[39,1332,1021],{},". Use the ",[39,1335,57],{}," loader for files, pass digests from custom loaders and sync only changed items where the source allows it, and cache the store in CI after installing dependencies. Content-heavy builds then spend most of their time generating pages, which is the next thing to optimise.",[27,1338,1340],{"id":1339},"faq","FAQ",[1342,1343,1345],"h3",{"id":1344},"does-astro-support-incremental-builds","Does Astro support incremental builds?",[14,1347,1348],{},"Partly. Astro 5's content layer caches loaded and rendered collection entries between builds in a data store, so unchanged entries are not re-parsed or re-fetched. Astro still writes every page on each build, so page rendering time remains, but content loading and Markdown processing become incremental.",[1342,1350,1352],{"id":1351},"where-does-astro-store-the-content-layer-cache","Where does Astro store the content layer cache?",[14,1354,1355],{},"In node_modules\u002F.astro, alongside optimised image assets. The data store file holds loaded entries, their digests and rendered HTML. Persist that directory between CI runs to keep the cache.",[1342,1357,1359],{"id":1358},"what-is-a-digest-in-an-astro-loader","What is a digest in an Astro loader?",[14,1361,1362],{},"A hash of an entry's content that the loader passes to store.set. If the digest matches the stored one, Astro skips re-parsing and re-rendering the entry. Loaders compute it with the generateDigest helper from the entry's raw data.",[1342,1364,1366],{"id":1365},"when-does-the-content-layer-cache-get-invalidated","When does the content layer cache get invalidated?",[14,1368,1369],{},"When the Astro version, the content config or the collection schemas change, Astro clears the store and reloads everything. Individual entries are re-processed when their digest changes. Deleting node_modules\u002F.astro forces a full rebuild.",[27,1371,1373],{"id":1372},"related","Related",[32,1375,1376,1384,1391,1398,1403],{},[35,1377,1378,1102,1381,1383],{},[239,1379,1380],{},"Parent:",[21,1382,24],{"href":23}," — caching across generators.",[35,1385,1386,1390],{},[21,1387,1389],{"href":1388},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy\u002F","Enabling Incremental Builds in Eleventy"," — the Eleventy equivalent.",[35,1392,1393,1397],{},[21,1394,1396],{"href":1395},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fcaching-hugo-builds-in-github-actions\u002F","Caching Hugo Builds in GitHub Actions"," — the Hugo equivalent.",[35,1399,1400,1402],{},[21,1401,1113],{"href":1112}," — the full workflow.",[35,1404,1405,1409],{},[21,1406,1408],{"href":1407},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fmeasuring-build-time-regressions-in-ci\u002F","Measuring Build-Time Regressions in CI"," — noticing when the cache stops working.",[1411,1412,1413],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html .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 .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":288,"searchDepth":301,"depth":301,"links":1415},[1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1432],{"id":29,"depth":301,"text":30},{"id":50,"depth":301,"text":51},{"id":274,"depth":301,"text":275},{"id":475,"depth":301,"text":476},{"id":1014,"depth":301,"text":1015},{"id":1213,"depth":301,"text":1214},{"id":1227,"depth":301,"text":1228},{"id":1263,"depth":301,"text":1264},{"id":1276,"depth":301,"text":1277},{"id":1326,"depth":301,"text":1327},{"id":1339,"depth":301,"text":1340,"children":1427},[1428,1429,1430,1431],{"id":1344,"depth":322,"text":1345},{"id":1351,"depth":322,"text":1352},{"id":1358,"depth":322,"text":1359},{"id":1365,"depth":322,"text":1366},{"id":1372,"depth":301,"text":1373},[1434,1437,1440,1441],{"name":1435,"item":1436},"Home","\u002F",{"name":1438,"item":1439},"Production-Ready Deployment & CI\u002FCD Workflows","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":24,"item":23},{"name":5,"item":1442},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer\u002F","2026-09-18","How the Astro content layer caches entries between builds, how to write loaders with digests, and how to persist the data store in CI so builds stay fast.","md",[1447,1448,1449,1450],{"q":1345,"a":1348},{"q":1352,"a":1355},{"q":1359,"a":1362},{"q":1366,"a":1369},{},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer",{"title":5,"description":1444},"production-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer\u002Findex","article","9jUIPyntcdNBZ-iQo2fMYrbB0QwrAIy5Qd-yi-yyZhI",[1458,1461,1464,1467,1470,1473,1476,1479,1482,1485,1488,1491,1494,1497,1500,1503,1506,1509,1512,1515,1518,1521,1524,1527,1530,1533,1536,1539,1542,1545,1548,1551,1554,1557,1560,1563,1566,1569,1572,1575,1578,1581,1584,1587,1590,1593,1596,1599,1602,1605,1608,1611,1614,1617,1620,1623,1626,1629,1632,1635,1638,1641,1644,1647,1650,1653,1656,1659,1662,1665,1668,1671,1674,1677,1680,1683,1686,1689,1692,1695,1698,1701,1704,1707,1710,1713,1716,1719,1722,1725,1728,1731,1734,1737,1740,1743,1746,1749,1752,1755,1758,1761,1764,1767,1770,1773,1776,1779,1782,1785,1788,1791,1794,1797,1800,1803,1806,1809,1812,1815,1818,1821,1824,1827,1829,1831,1834,1837,1840,1843,1846,1848,1850,1852,1853,1855,1857,1860,1863,1866,1869,1872,1875,1878,1881,1884,1887,1890,1893,1896,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],{"path":1459,"title":1460},"\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":1462,"title":1463},"\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":1465,"title":1466},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fcontent-collections-vs-eleventy-data-cascade","Content Collections vs the Eleventy Data Cascade",{"path":1468,"title":1469},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1471,"title":1472},"\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":1474,"title":1475},"\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":1477,"title":1478},"\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":1480,"title":1481},"\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":1483,"title":1484},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1486,"title":1487},"\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":1489,"title":1490},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1492,"title":1493},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1495,"title":1496},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1498,"title":1499},"\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":1501,"title":1502},"\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":1504,"title":1505},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1507,"title":1508},"\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":1510,"title":1511},"\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":1513,"title":1514},"\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":1516,"title":1517},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1519,"title":1520},"\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":1522,"title":1523},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1525,"title":1526},"\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":1528,"title":1529},"\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":1531,"title":1532},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1534,"title":1535},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1537,"title":1538},"\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":1540,"title":1541},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1543,"title":1544},"\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":1546,"title":1547},"\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":1549,"title":1550},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1552,"title":1553},"\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":1555,"title":1556},"\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":1558,"title":1559},"\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":1561,"title":1562},"\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":1564,"title":1565},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1567,"title":1568},"\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":1570,"title":1571},"\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":1573,"title":1574},"\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":1576,"title":1577},"\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":1579,"title":1580},"\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":1582,"title":1583},"\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":1585,"title":1586},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1588,"title":1589},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1591,"title":1592},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1594,"title":1595},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1597,"title":1598},"\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":1600,"title":1601},"\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":1603,"title":1604},"\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":1606,"title":1607},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1609,"title":1610},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1612,"title":1613},"\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":1615,"title":1616},"\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":1618,"title":1619},"\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":1621,"title":1622},"\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":1624,"title":1625},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1627,"title":1628},"\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":1630,"title":1631},"\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":1633,"title":1634},"\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":1636,"title":1637},"\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":1639,"title":1640},"\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":1642,"title":1643},"\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":1645,"title":1646},"\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":1648,"title":1649},"\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":1651,"title":1652},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1654,"title":1655},"\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":1657,"title":1658},"\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":1660,"title":1661},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1663,"title":1664},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1666,"title":1667},"\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":1669,"title":1670},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1672,"title":1673},"\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":1675,"title":1676},"\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":1678,"title":1679},"\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":1681,"title":1682},"\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":1684,"title":1685},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1687,"title":1688},"\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":1690,"title":1691},"\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":1693,"title":1694},"\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":1696,"title":1697},"\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":1699,"title":1700},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1702,"title":1703},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1705,"title":1706},"\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":1708,"title":1709},"\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":1711,"title":1712},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1714,"title":1715},"\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":1717,"title":1718},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1720,"title":1721},"\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":1723,"title":1724},"\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":1726,"title":1727},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1729,"title":1730},"\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":1732,"title":1733},"\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":1735,"title":1736},"\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":1738,"title":1739},"\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":1741,"title":1742},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1744,"title":1745},"\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":1747,"title":1748},"\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":1750,"title":1751},"\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":1753,"title":1754},"\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":1756,"title":1757},"\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":1759,"title":1760},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1762,"title":1763},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1765,"title":1766},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1768,"title":1769},"\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":1771,"title":1772},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1774,"title":1775},"\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":1777,"title":1778},"\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":1780,"title":1781},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1783,"title":1784},"\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":1786,"title":1787},"\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":1789,"title":1790},"\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":1792,"title":1793},"\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":1795,"title":1796},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1798,"title":1799},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1801,"title":1802},"\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":1804,"title":1805},"\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":1807,"title":1808},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1810,"title":1811},"\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":1813,"title":1814},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1816,"title":1817},"\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":1819,"title":1820},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1822,"title":1823},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1825,"title":1826},"\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":1828,"title":1011},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build",{"path":1830,"title":1113},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions",{"path":1832,"title":1833},"\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":1835,"title":1836},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1838,"title":1839},"\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":1841,"title":1842},"\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":1844,"title":1845},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1847,"title":1260},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos",{"path":1849,"title":1396},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fcaching-hugo-builds-in-github-actions",{"path":1851,"title":1389},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy",{"path":1452,"title":5},{"path":1854,"title":24},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs",{"path":1856,"title":1408},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fmeasuring-build-time-regressions-in-ci",{"path":1858,"title":1859},"\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":1861,"title":1862},"\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":1864,"title":1865},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1867,"title":1868},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1870,"title":1871},"\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":1873,"title":1874},"\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":1876,"title":1877},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1879,"title":1880},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1882,"title":1883},"\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":1885,"title":1886},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1888,"title":1889},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1891,"title":1892},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1894,"title":1895},"\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":1897,"title":1898},"\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":1900,"title":1901},"\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":1903,"title":1904},"\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":1906,"title":1907},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1909,"title":1910},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1912,"title":1913},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1915,"title":1916},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1918,"title":1919},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1921,"title":1922},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1924,"title":1925},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1927,"title":1928},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1930,"title":1931},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1933,"title":1934},"\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":1936,"title":1937},"\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":1939,"title":1940},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1942,"title":1943},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1945,"title":1946},"\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":1948,"title":1949},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1951,"title":1952},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1954,"title":1955},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1957,"title":1958},"\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":1960,"title":1961},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1963,"title":1964},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1966,"title":1967},"\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":1969,"title":1970},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1972,"title":1973},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1975,"title":1976},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1978,"title":1979},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1981,"title":1982},"\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":1984,"title":1985},"\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":1987,"title":1988},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1990,"title":1991},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1993,"title":1994},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1996,"title":1997},"\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",1789722848090]