[{"data":1,"prerenderedAt":1541},["ShallowReactive",2],{"page:\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy":3,"all-docs-nav":998},{"id":4,"title":5,"body":6,"breadcrumb":974,"dateModified":984,"datePublished":984,"description":985,"extension":986,"faq":987,"meta":992,"navigation":281,"path":993,"seo":994,"slug":12,"stem":995,"type":996,"__hash__":997},"content\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy\u002Findex.md","Responsive Images with srcset in Eleventy",{"type":7,"value":8,"toc":955},"minimark",[9,13,26,46,51,70,74,82,215,221,225,238,466,495,499,502,588,596,600,612,634,656,660,663,702,705,767,774,778,792,808,812,815,819,860,864,880,884,889,892,896,899,903,906,910,913,917,951],[10,11,5],"h1",{"id":12},"responsive-images-with-srcset-in-eleventy",[14,15,16,17,21,22,25],"p",{},"A single 2,400-pixel JPEG served to every device is the most common image problem on Eleventy sites. Phones download four times the pixels they can show, LCP suffers, and the page weight report fills with images. Responsive images fix this by giving the browser a list of widths in ",[18,19,20],"code",{},"srcset"," and a description of the display size in ",[18,23,24],{},"sizes",", so it can choose the smallest file that still looks sharp.",[14,27,28,29,32,33,36,37,39,40,45],{},"Eleventy leaves images alone by default, which is why the official ",[18,30,31],{},"@11ty\u002Feleventy-img"," package exists. This guide sets it up as a transform that upgrades every ",[18,34,35],{},"\u003Cimg>"," in the output, chooses widths and ",[18,38,24],{}," that match the layout, and keeps builds fast with caching. It sits alongside the Astro material in ",[41,42,44],"a",{"href":43},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002F","Image Optimization Pipelines in Astro",", because the principles are identical and only the tooling differs.",[47,48,50],"h2",{"id":49},"prerequisites","Prerequisites",[52,53,54,58,67],"ul",{},[55,56,57],"li",{},"Eleventy 3.x and Node.js 20 or later.",[55,59,60,62,63,66],{},[18,61,31],{}," 5 or later: ",[18,64,65],{},"npm install @11ty\u002Feleventy-img",".",[55,68,69],{},"Source images stored in the repository, at least as wide as their largest display size at 2x density.",[47,71,73],{"id":72},"how-the-browser-chooses-a-candidate","How the Browser Chooses a Candidate",[14,75,76,78,79,81],{},[18,77,20],{}," lists candidate files with their intrinsic widths. ",[18,80,24],{}," tells the browser how wide the image will be displayed, before any CSS has loaded. The browser multiplies that display width by the device pixel ratio and picks the smallest candidate that covers it.",[83,84,85,211],"figure",{},[86,87,94,95,94,99,94,103,94,110],"svg",{"viewBox":88,"role":89,"ariaLabelledBy":90,"xmlns":93},"0 0 760 280","img",[91,92],"rse-pick-title","rse-pick-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[96,97,98],"title",{"id":91},"How the browser picks a srcset candidate",[100,101,102],"desc",{"id":92},"Candidates are 400, 800, 1200 and 1600 pixels wide. A phone with a 360 pixel slot at 3x density needs 1080 pixels and picks the 1200 file. A laptop with a 720 pixel slot at 1x needs 720 and picks 800. A desktop with a 720 pixel slot at 2x needs 1440 and picks 1600.",[104,105],"rect",{"x":106,"y":106,"width":107,"height":108,"fill":109},"0","760","280","#ffffff",[111,112,114,115,114,123,114,129,114,137,114,143,114,147,114,151,114,155,114,159,114,163,114,167,114,174,114,178,114,182,114,186,114,190,114,193,114,197,114,201,114,204,114,206,94],"g",{"style":113},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[116,117,122],"text",{"x":118,"y":119,"fill":120,"style":121},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","slot width × pixel ratio → smallest covering file",[116,124,128],{"x":125,"y":126,"fill":120,"style":127},"40","66","font-weight:700","Candidates",[104,130],{"x":131,"y":132,"width":133,"height":134,"fill":135,"style":136},"160","54","60","18","#166a9e","fill-opacity:0.25",[116,138,142],{"x":139,"y":140,"fill":120,"style":141},"190","67","text-anchor:middle","400w",[104,144],{"x":145,"y":132,"width":146,"height":134,"fill":135,"style":136},"240","100",[116,148,150],{"x":149,"y":140,"fill":120,"style":141},"290","800w",[104,152],{"x":153,"y":132,"width":154,"height":134,"fill":135,"style":136},"360","140",[116,156,158],{"x":157,"y":140,"fill":120,"style":141},"430","1200w",[104,160],{"x":161,"y":132,"width":162,"height":134,"fill":135,"style":136},"520","180",[116,164,166],{"x":165,"y":140,"fill":120,"style":141},"610","1600w",[168,169],"line",{"x1":125,"y1":170,"x2":171,"y2":170,"stroke":172,"style":173},"92","720","#556071","stroke-width:1px",[116,175,177],{"x":125,"y":176,"fill":120},"124","Phone: 360 px slot × 3",[116,179,181],{"x":180,"y":176,"fill":172},"300","needs 1080",[116,183,158],{"x":157,"y":176,"fill":184,"style":185},"#3f6410","font-weight:700;text-anchor:middle",[116,187,189],{"x":125,"y":188,"fill":120},"170","Laptop: 720 px slot × 1",[116,191,192],{"x":180,"y":188,"fill":172},"needs 720",[116,194,196],{"x":149,"y":195,"fill":184,"style":185},"194","↑ 800w",[116,198,200],{"x":125,"y":199,"fill":120},"232","Desktop: 720 px slot × 2",[116,202,203],{"x":180,"y":199,"fill":172},"needs 1440",[116,205,166],{"x":165,"y":199,"fill":184,"style":185},[116,207,210],{"x":118,"y":208,"fill":172,"style":209},"266","font-size:11px;text-anchor:middle","without sizes the browser assumes 100vw and over-fetches on wide screens",[212,213,214],"figcaption",{},"The browser can only choose well if sizes describes the real layout.",[14,216,217,218,220],{},"If ",[18,219,24],{}," is missing, the browser assumes the image fills the viewport. On a desktop with a 1,920-pixel window and a 720-pixel content column, it would fetch the 1,600 or larger file for a slot that needs 720 — the single most common reason responsive images still over-fetch.",[47,222,224],{"id":223},"setting-up-the-transform","Setting Up the Transform",[14,226,227,230,231,234,235,237],{},[18,228,229],{},"eleventy-img"," 5 includes ",[18,232,233],{},"eleventyImageTransformPlugin",", which runs after templates render and rewrites every ",[18,236,35],{}," in the HTML. That covers Markdown images, Nunjucks templates and anything a shortcode emits, with one configuration:",[239,240,245],"pre",{"className":241,"code":242,"language":243,"meta":244,"style":244},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F eleventy.config.js\nimport { eleventyImageTransformPlugin } from '@11ty\u002Feleventy-img';\n\nexport default function (eleventyConfig) {\n  eleventyConfig.addPlugin(eleventyImageTransformPlugin, {\n    formats: ['avif', 'webp', 'jpeg'],\n    widths: [400, 800, 1200, 1600],\n    urlPath: '\u002Fimg\u002F',\n    outputDir: '.\u002F_site\u002Fimg\u002F',\n    htmlOptions: {\n      imgAttributes: {\n        loading: 'lazy',\n        decoding: 'async',\n        sizes: '(min-width: 768px) 720px, calc(100vw - 32px)',\n      },\n      pictureAttributes: {},\n    },\n  });\n}\n","js","",[18,246,247,255,276,283,305,318,341,368,380,391,397,403,414,425,436,442,448,454,460],{"__ignoreMap":244},[248,249,251],"span",{"class":168,"line":250},1,[248,252,254],{"class":253},"sJ8bj","\u002F\u002F eleventy.config.js\n",[248,256,258,262,266,269,273],{"class":168,"line":257},2,[248,259,261],{"class":260},"szBVR","import",[248,263,265],{"class":264},"sVt8B"," { eleventyImageTransformPlugin } ",[248,267,268],{"class":260},"from",[248,270,272],{"class":271},"sZZnC"," '@11ty\u002Feleventy-img'",[248,274,275],{"class":264},";\n",[248,277,279],{"class":168,"line":278},3,[248,280,282],{"emptyLinePlaceholder":281},true,"\n",[248,284,286,289,292,295,298,302],{"class":168,"line":285},4,[248,287,288],{"class":260},"export",[248,290,291],{"class":260}," default",[248,293,294],{"class":260}," function",[248,296,297],{"class":264}," (",[248,299,301],{"class":300},"s4XuR","eleventyConfig",[248,303,304],{"class":264},") {\n",[248,306,308,311,315],{"class":168,"line":307},5,[248,309,310],{"class":264},"  eleventyConfig.",[248,312,314],{"class":313},"sScJk","addPlugin",[248,316,317],{"class":264},"(eleventyImageTransformPlugin, {\n",[248,319,321,324,327,330,333,335,338],{"class":168,"line":320},6,[248,322,323],{"class":264},"    formats: [",[248,325,326],{"class":271},"'avif'",[248,328,329],{"class":264},", ",[248,331,332],{"class":271},"'webp'",[248,334,329],{"class":264},[248,336,337],{"class":271},"'jpeg'",[248,339,340],{"class":264},"],\n",[248,342,344,347,351,353,356,358,361,363,366],{"class":168,"line":343},7,[248,345,346],{"class":264},"    widths: [",[248,348,350],{"class":349},"sj4cs","400",[248,352,329],{"class":264},[248,354,355],{"class":349},"800",[248,357,329],{"class":264},[248,359,360],{"class":349},"1200",[248,362,329],{"class":264},[248,364,365],{"class":349},"1600",[248,367,340],{"class":264},[248,369,371,374,377],{"class":168,"line":370},8,[248,372,373],{"class":264},"    urlPath: ",[248,375,376],{"class":271},"'\u002Fimg\u002F'",[248,378,379],{"class":264},",\n",[248,381,383,386,389],{"class":168,"line":382},9,[248,384,385],{"class":264},"    outputDir: ",[248,387,388],{"class":271},"'.\u002F_site\u002Fimg\u002F'",[248,390,379],{"class":264},[248,392,394],{"class":168,"line":393},10,[248,395,396],{"class":264},"    htmlOptions: {\n",[248,398,400],{"class":168,"line":399},11,[248,401,402],{"class":264},"      imgAttributes: {\n",[248,404,406,409,412],{"class":168,"line":405},12,[248,407,408],{"class":264},"        loading: ",[248,410,411],{"class":271},"'lazy'",[248,413,379],{"class":264},[248,415,417,420,423],{"class":168,"line":416},13,[248,418,419],{"class":264},"        decoding: ",[248,421,422],{"class":271},"'async'",[248,424,379],{"class":264},[248,426,428,431,434],{"class":168,"line":427},14,[248,429,430],{"class":264},"        sizes: ",[248,432,433],{"class":271},"'(min-width: 768px) 720px, calc(100vw - 32px)'",[248,435,379],{"class":264},[248,437,439],{"class":168,"line":438},15,[248,440,441],{"class":264},"      },\n",[248,443,445],{"class":168,"line":444},16,[248,446,447],{"class":264},"      pictureAttributes: {},\n",[248,449,451],{"class":168,"line":450},17,[248,452,453],{"class":264},"    },\n",[248,455,457],{"class":168,"line":456},18,[248,458,459],{"class":264},"  });\n",[248,461,463],{"class":168,"line":462},19,[248,464,465],{"class":264},"}\n",[14,467,468,469,472,473,476,477,479,480,329,483,329,486,488,489,491,492,494],{},"The output for each image is a ",[18,470,471],{},"\u003Cpicture>"," element with one ",[18,474,475],{},"\u003Csource>"," per modern format and an ",[18,478,35],{}," fallback carrying ",[18,481,482],{},"width",[18,484,485],{},"height",[18,487,20],{}," and the attributes above. The intrinsic ",[18,490,482],{}," and ",[18,493,485],{}," are what prevent layout shift while the image loads.",[47,496,498],{"id":497},"choosing-widths-and-formats","Choosing Widths and Formats",[14,500,501],{},"Pick widths from the layout, not from a generic list. Work out the largest display width of each image type, multiply by two for high-density screens, and space three or four widths below that.",[83,503,504,585],{},[86,505,94,510,94,513,94,516,94,519],{"viewBox":506,"role":89,"ariaLabelledBy":507,"xmlns":93},"0 0 760 250",[508,509],"rse-bytes-title","rse-bytes-desc",[96,511,512],{"id":508},"Bytes downloaded for one article hero on a phone",[100,514,515],{"id":509},"Bars of bytes downloaded on a 360 pixel wide phone at 3x. The original 2400 pixel JPEG is 612 kilobytes. A 1200 pixel JPEG from srcset is 174 kilobytes. The same width as WebP is 118 kilobytes and as AVIF is 71 kilobytes.",[104,517],{"x":106,"y":106,"width":107,"height":518,"fill":109},"250",[111,520,114,521,114,524,114,530,114,537,114,542,114,546,114,550,114,555,114,559,114,563,114,568,114,572,114,577,114,581,94],{"style":113},[116,522,523],{"x":118,"y":119,"fill":120,"style":121},"Hero image bytes on a 3x phone (KB)",[116,525,529],{"x":526,"y":527,"fill":120,"style":528},"210","70","text-anchor:end","original JPEG, 2400w",[104,531],{"x":532,"y":533,"width":534,"height":134,"fill":535,"style":536},"220","58","480","#d83b41","fill-opacity:0.5",[116,538,541],{"x":539,"y":540,"fill":120,"style":528},"690","71","612",[116,543,545],{"x":526,"y":544,"fill":120,"style":528},"112","JPEG, 1200w",[104,547],{"x":532,"y":146,"width":548,"height":134,"fill":135,"style":549},"136","fill-opacity:0.45",[116,551,554],{"x":552,"y":553,"fill":120},"364","113","174",[116,556,558],{"x":526,"y":557,"fill":120,"style":528},"154","WebP, 1200w",[104,560],{"x":532,"y":561,"width":562,"height":134,"fill":135,"style":549},"142","93",[116,564,567],{"x":565,"y":566,"fill":120},"321","155","118",[116,569,571],{"x":526,"y":570,"fill":120,"style":528},"196","AVIF, 1200w",[104,573],{"x":532,"y":574,"width":575,"height":134,"fill":184,"style":576},"184","56","fill-opacity:0.55",[116,578,540],{"x":579,"y":580,"fill":120},"284","197",[116,582,584],{"x":118,"y":583,"fill":172,"style":209},"236","quality: AVIF 50, WebP 75, JPEG 78 — visually matched at 1:1",[212,586,587],{},"Right-sizing does most of the work; modern formats take the rest.",[14,589,590,591,595],{},"For formats, AVIF gives the smallest files and is supported by every current browser, WebP is the safety net for older Safari versions, and JPEG remains the universal fallback. AVIF encoding is slow, though, so on very large sites some teams generate only WebP and JPEG for images below the fold and reserve AVIF for heroes. See ",[41,592,594],{"href":593},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-avif-with-fallbacks-on-static-sites\u002F","Serving AVIF with Fallbacks on Static Sites"," for quality settings.",[47,597,599],{"id":598},"different-sizes-for-different-images","Different Sizes for Different Images",[14,601,602,603,605,606,608,609,611],{},"One ",[18,604,24],{}," value for the whole site is a start, but a thumbnail grid and a full-bleed hero need different descriptions. The transform respects attributes already on the ",[18,607,35],{},", so set ",[18,610,24],{}," per image where the default is wrong. In Markdown, use the attributes plugin for markdown-it; in templates, write it inline:",[239,613,617],{"className":614,"code":615,"language":616,"meta":244,"style":244},"language-njk shiki shiki-themes github-light github-dark","\u003Cimg src=\".\u002Fhero.jpg\" alt=\"Build pipeline overview\"\n     sizes=\"100vw\" loading=\"eager\" fetchpriority=\"high\"\n     eleventy:widths=\"800,1600,2400\">\n","njk",[18,618,619,624,629],{"__ignoreMap":244},[248,620,621],{"class":168,"line":250},[248,622,623],{},"\u003Cimg src=\".\u002Fhero.jpg\" alt=\"Build pipeline overview\"\n",[248,625,626],{"class":168,"line":257},[248,627,628],{},"     sizes=\"100vw\" loading=\"eager\" fetchpriority=\"high\"\n",[248,630,631],{"class":168,"line":278},[248,632,633],{},"     eleventy:widths=\"800,1600,2400\">\n",[14,635,636,637,640,641,491,644,647,648,651,652,66],{},"The ",[18,638,639],{},"eleventy:widths"," attribute overrides the global widths for that image, and the transform strips it from the output. Note ",[18,642,643],{},"loading=\"eager\"",[18,645,646],{},"fetchpriority=\"high\""," on the hero: the global ",[18,649,650],{},"loading=\"lazy\""," default must never apply to the LCP image, as explained in ",[41,653,655],{"href":654},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Flazy-loading-images-without-hurting-lcp\u002F","Lazy-Loading Images Without Hurting LCP",[47,657,659],{"id":658},"keeping-builds-fast","Keeping Builds Fast",[14,661,662],{},"Encoding four widths in three formats is twelve files per source image. On a site with 3,000 images that is 36,000 encodes, and a cold build can take many minutes. Two mechanisms keep it manageable:",[664,665,666,688],"ol",{},[55,667,668,672,673,675,676,679,680,683,684,687],{},[669,670,671],"strong",{},"Disk cache."," ",[18,674,229],{}," hashes the source file and options, and skips work when the output already exists. Persist ",[18,677,678],{},"_site\u002Fimg\u002F"," and the ",[18,681,682],{},".cache"," directory between CI runs with ",[18,685,686],{},"actions\u002Fcache"," keyed on a hash of the image folder.",[55,689,690,693,694,697,698,701],{},[669,691,692],{},"Development mode."," During ",[18,695,696],{},"eleventy --serve",", the transform can serve images on request instead of encoding everything up front. Use ",[18,699,700],{},"transformOnRequest: process.env.ELEVENTY_RUN_MODE === 'serve'"," to keep local startup quick.",[14,703,704],{},"The cache key matters. Key it on a hash of the source image directory plus the Eleventy config file, so that changing widths or quality settings invalidates old outputs, while an unrelated content edit restores everything. Add a restore key without the hash suffix so a partial cache still helps when a few images change.",[83,706,707,764],{},[86,708,94,713,94,716,94,719,94,721],{"viewBox":709,"role":89,"ariaLabelledBy":710,"xmlns":93},"0 0 760 240",[711,712],"rse-cache-title","rse-cache-desc",[96,714,715],{"id":711},"Image encoding time in CI with and without a restored cache",[100,717,718],{"id":712},"Horizontal bars of CI time spent in image encoding on a 2800 image site. A cold build without cache takes 11 minutes. A pull request adding two images with the cache restored takes 20 seconds. A config change to widths invalidates the cache and takes 11 minutes again.",[104,720],{"x":106,"y":106,"width":107,"height":145,"fill":109},[111,722,114,723,114,726,114,731,114,735,114,740,114,743,114,747,114,752,114,755,114,758,114,761,94],{"style":113},[116,724,725],{"x":118,"y":119,"fill":120,"style":121},"Encoding step duration, 2,800 source images",[116,727,730],{"x":728,"y":729,"fill":120,"style":528},"230","74","cold build, no cache",[104,732],{"x":145,"y":733,"width":734,"height":134,"fill":535,"style":549},"62","440",[116,736,739],{"x":737,"y":738,"fill":120,"style":528},"672","75","11 min",[116,741,742],{"x":728,"y":176,"fill":120,"style":528},"PR adds 2 images, cache hit",[104,744],{"x":145,"y":544,"width":745,"height":134,"fill":184,"style":746},"14","fill-opacity:0.6",[116,748,751],{"x":749,"y":750,"fill":120},"262","125","20 s",[116,753,754],{"x":728,"y":554,"fill":120,"style":528},"widths changed, key miss",[104,756],{"x":145,"y":757,"width":734,"height":134,"fill":535,"style":549},"162",[116,759,739],{"x":737,"y":760,"fill":120,"style":528},"175",[116,762,763],{"x":118,"y":532,"fill":172,"style":209},"cache key: hash of src\u002Fimg\u002F** plus eleventy.config.js",[212,765,766],{},"A persisted cache turns image encoding from the slowest step into a rounding error.",[14,768,769,770,66],{},"On one 2,800-image documentation site, a cold CI build spent 11 minutes in image encoding; with the cache restored, the same step took 20 seconds for a typical pull request that added two images. More on caching strategy in ",[41,771,773],{"href":772},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002F","Incremental Builds and Build Caching for SSGs",[47,775,777],{"id":776},"checking-the-output","Checking the Output",[14,779,780,781,784,785,788,789,791],{},"Test the result in the browser, not just in the HTML. In DevTools, select an image and read ",[669,782,783],{},"Current source"," in the properties panel, or hover the ",[18,786,787],{},"src"," in the network panel to see which candidate loaded. Resize the viewport and switch device emulation between 1x, 2x and 3x to confirm the choice changes as expected. Lighthouse's \"Properly size images\" audit flags images where the chosen file is much larger than the display size, which usually means ",[18,790,24],{}," is wrong.",[14,793,794,795,797,798,491,801,804,805,807],{},"For a site-wide check, crawl the built output and compare each image's ",[18,796,24],{}," against its rendered width in a headless browser at two or three viewport sizes. A small Playwright script that logs ",[18,799,800],{},"img.currentSrc",[18,802,803],{},"img.getBoundingClientRect().width"," for every image is enough to catch templates whose ",[18,806,24],{}," drifted after a layout change.",[47,809,811],{"id":810},"measured-impact","Measured Impact",[14,813,814],{},"On an Eleventy marketing and docs site with 340 pages, switching from single JPEGs to the transform with four widths and three formats reduced median image bytes per page on mobile from 1.4 MB to 310 KB. Field LCP p75 on mobile fell from 3.1 to 2.2 seconds, mostly on article pages with hero images. Cached CI builds were four seconds slower than before; cold builds were nine minutes slower, which the team accepted because cold builds happened only on dependency upgrades.",[47,816,818],{"id":817},"pitfalls-rollback","Pitfalls & Rollback",[52,820,821,830,836,842,854],{},[55,822,823,826,827,829],{},[669,824,825],{},"Lazy-loading the hero."," A global ",[18,828,650],{}," delays the LCP image; override it per template.",[55,831,832,835],{},[669,833,834],{},"Remote images."," The transform downloads remote URLs at build time; cache them with a duration option or they are fetched on every build.",[55,837,838,841],{},[669,839,840],{},"Upscaling."," Widths larger than the source are skipped; check that sources are big enough.",[55,843,844,850,851,853],{},[669,845,846,847,849],{},"Wrong ",[18,848,24],{}," for grids."," A three-column card grid needs a ",[18,852,24],{}," for one column, not the page width.",[55,855,856,859],{},[669,857,858],{},"Rollback:"," remove the plugin; images revert to their original single-file output.",[47,861,863],{"id":862},"conclusion","Conclusion",[14,865,866,867,869,870,872,873,875,876,879],{},"Responsive images in Eleventy need three things: several encoded widths, a ",[18,868,24],{}," value that describes the real layout, and caching so the encoding cost is paid once. ",[18,871,31],{},"'s transform plugin provides the first automatically for every ",[18,874,35],{},", per-image attributes handle the second, and a persisted cache handles the third. The result is the same as Astro's built-in ",[18,877,878],{},"\u003CImage>"," component: phones download phone-sized files, and LCP improves on image-led pages.",[47,881,883],{"id":882},"faq","FAQ",[885,886,888],"h3",{"id":887},"which-plugin-should-i-use-for-responsive-images-in-eleventy","Which plugin should I use for responsive images in Eleventy?",[14,890,891],{},"The official @11ty\u002Feleventy-img package. From version 5 it ships a transform plugin that rewrites every img element in your output HTML into a picture element with srcset, width and height, so Markdown images get the same treatment as template images.",[885,893,895],{"id":894},"how-do-i-choose-the-sizes-attribute","How do I choose the sizes attribute?",[14,897,898],{},"Describe how wide the image is displayed at each breakpoint, using the same media queries as your CSS. For an image that fills a 720 pixel content column on desktop and the full width minus padding on phones, sizes could be (min-width 768px) 720px, calc(100vw - 32px).",[885,900,902],{"id":901},"why-are-my-eleventy-builds-slow-after-adding-eleventy-img","Why are my Eleventy builds slow after adding eleventy-img?",[14,904,905],{},"Image encoding, especially AVIF, is CPU-heavy. eleventy-img caches outputs on disk and skips images whose source and options have not changed, so persist the output directory and .cache folder between CI runs to avoid re-encoding every image.",[885,907,909],{"id":908},"how-many-widths-should-i-generate","How many widths should I generate?",[14,911,912],{},"Three to five widths usually cover the useful range, for example 400, 800, 1200 and 1600 pixels for a content image. More widths add build time and storage with little gain because browsers pick the nearest larger candidate.",[47,914,916],{"id":915},"related","Related",[52,918,919,927,932,937,944],{},[55,920,921,672,924,926],{},[669,922,923],{},"Parent:",[41,925,44],{"href":43}," — the full image pipeline.",[55,928,929,931],{},[41,930,655],{"href":654}," — which images to lazy-load.",[55,933,934,936],{},[41,935,594],{"href":593}," — format quality settings.",[55,938,939,943],{},[41,940,942],{"href":941},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Foptimizing-webp-images-in-hugo-without-plugins\u002F","Optimizing WebP Images in Hugo Without Plugins"," — the Hugo equivalent.",[55,945,946,950],{},[41,947,949],{"href":948},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Freducing-lcp-from-hero-images-on-static-sites\u002F","Reducing LCP from Hero Images on Static Sites"," — prioritising the image that matters.",[952,953,954],"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 .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}",{"title":244,"searchDepth":257,"depth":257,"links":956},[957,958,959,960,961,962,963,964,965,966,967,973],{"id":49,"depth":257,"text":50},{"id":72,"depth":257,"text":73},{"id":223,"depth":257,"text":224},{"id":497,"depth":257,"text":498},{"id":598,"depth":257,"text":599},{"id":658,"depth":257,"text":659},{"id":776,"depth":257,"text":777},{"id":810,"depth":257,"text":811},{"id":817,"depth":257,"text":818},{"id":862,"depth":257,"text":863},{"id":882,"depth":257,"text":883,"children":968},[969,970,971,972],{"id":887,"depth":278,"text":888},{"id":894,"depth":278,"text":895},{"id":901,"depth":278,"text":902},{"id":908,"depth":278,"text":909},{"id":915,"depth":257,"text":916},[975,978,981,982],{"name":976,"item":977},"Home","\u002F",{"name":979,"item":980},"Performance Optimization & Core Web Vitals for SSGs","\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002F",{"name":44,"item":43},{"name":5,"item":983},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy\u002F","2026-09-18","Generate AVIF, WebP and JPEG widths with @11ty\u002Feleventy-img, emit srcset and sizes that match your layout, and cache the output so builds stay fast.","md",[988,989,990,991],{"q":888,"a":891},{"q":895,"a":898},{"q":902,"a":905},{"q":909,"a":912},{},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy",{"title":5,"description":985},"performance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy\u002Findex","article","QmpJZvs9SYwr0k9GPDM9o9pW-G4D8fmyWBiCdoKXElE",[999,1002,1005,1008,1011,1014,1017,1020,1023,1026,1029,1032,1035,1038,1041,1044,1047,1050,1053,1056,1059,1062,1065,1068,1071,1074,1077,1080,1083,1086,1089,1092,1095,1098,1101,1104,1107,1110,1113,1116,1119,1122,1125,1128,1131,1134,1137,1140,1143,1146,1149,1152,1155,1158,1161,1164,1167,1170,1173,1176,1179,1182,1185,1188,1191,1194,1197,1200,1203,1206,1209,1212,1215,1218,1221,1224,1226,1228,1230,1231,1234,1237,1240,1243,1246,1249,1252,1255,1258,1261,1264,1267,1270,1272,1275,1278,1281,1284,1287,1290,1293,1296,1299,1302,1305,1308,1311,1314,1317,1320,1323,1326,1329,1332,1335,1338,1341,1344,1347,1350,1353,1356,1359,1362,1365,1368,1371,1374,1377,1380,1383,1386,1389,1392,1395,1397,1400,1403,1406,1409,1412,1415,1418,1421,1424,1427,1430,1433,1436,1439,1442,1445,1448,1451,1454,1457,1460,1463,1466,1469,1472,1475,1478,1481,1484,1487,1490,1493,1496,1499,1502,1505,1508,1511,1514,1517,1520,1523,1526,1529,1532,1535,1538],{"path":1000,"title":1001},"\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":1003,"title":1004},"\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":1006,"title":1007},"\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":1009,"title":1010},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1012,"title":1013},"\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":1015,"title":1016},"\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":1018,"title":1019},"\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":1021,"title":1022},"\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":1024,"title":1025},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1027,"title":1028},"\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":1030,"title":1031},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1033,"title":1034},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1036,"title":1037},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1039,"title":1040},"\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":1042,"title":1043},"\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":1045,"title":1046},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1048,"title":1049},"\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":1051,"title":1052},"\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":1054,"title":1055},"\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":1057,"title":1058},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1060,"title":1061},"\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":1063,"title":1064},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1066,"title":1067},"\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":1069,"title":1070},"\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":1072,"title":1073},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1075,"title":1076},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1078,"title":1079},"\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":1081,"title":1082},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1084,"title":1085},"\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":1087,"title":1088},"\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":1090,"title":1091},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1093,"title":1094},"\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":1096,"title":1097},"\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":1099,"title":1100},"\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":1102,"title":1103},"\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":1105,"title":1106},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1108,"title":1109},"\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":1111,"title":1112},"\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":1114,"title":1115},"\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":1117,"title":1118},"\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":1120,"title":1121},"\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":1123,"title":1124},"\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":1126,"title":1127},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1129,"title":1130},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1132,"title":1133},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1135,"title":1136},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1138,"title":1139},"\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":1141,"title":1142},"\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":1144,"title":1145},"\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":1147,"title":1148},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1150,"title":1151},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1153,"title":1154},"\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":1156,"title":1157},"\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":1159,"title":1160},"\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":1162,"title":1163},"\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":1165,"title":1166},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1168,"title":1169},"\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":1171,"title":1172},"\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":1174,"title":1175},"\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":1177,"title":1178},"\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":1180,"title":1181},"\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":1183,"title":1184},"\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":1186,"title":1187},"\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":1189,"title":1190},"\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":1192,"title":1193},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1195,"title":1196},"\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":1198,"title":1199},"\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":1201,"title":1202},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1204,"title":1205},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1207,"title":1208},"\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":1210,"title":1211},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1213,"title":1214},"\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":1216,"title":1217},"\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":1219,"title":1220},"\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":1222,"title":1223},"\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":1225,"title":44},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro",{"path":1227,"title":655},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Flazy-loading-images-without-hurting-lcp",{"path":1229,"title":942},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Foptimizing-webp-images-in-hugo-without-plugins",{"path":993,"title":5},{"path":1232,"title":1233},"\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":1235,"title":1236},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1238,"title":1239},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1241,"title":1242},"\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":1244,"title":1245},"\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":1247,"title":1248},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1250,"title":1251},"\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":1253,"title":1254},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1256,"title":1257},"\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":1259,"title":1260},"\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":1262,"title":1263},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1265,"title":1266},"\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":1268,"title":1269},"\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":1271,"title":949},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Freducing-lcp-from-hero-images-on-static-sites",{"path":1273,"title":1274},"\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":1276,"title":1277},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1279,"title":1280},"\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":1282,"title":1283},"\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":1285,"title":1286},"\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":1288,"title":1289},"\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":1291,"title":1292},"\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":1294,"title":1295},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1297,"title":1298},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":1300,"title":1301},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":1303,"title":1304},"\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":1306,"title":1307},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":1309,"title":1310},"\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":1312,"title":1313},"\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":1315,"title":1316},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1318,"title":1319},"\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":1321,"title":1322},"\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":1324,"title":1325},"\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":1327,"title":1328},"\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":1330,"title":1331},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1333,"title":1334},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1336,"title":1337},"\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":1339,"title":1340},"\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":1342,"title":1343},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1345,"title":1346},"\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":1348,"title":1349},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1351,"title":1352},"\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":1354,"title":1355},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1357,"title":1358},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1360,"title":1361},"\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":1363,"title":1364},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build","Wiring a Headless CMS to a Static Build",{"path":1366,"title":1367},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1369,"title":1370},"\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":1372,"title":1373},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1375,"title":1376},"\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":1378,"title":1379},"\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":1381,"title":1382},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1384,"title":1385},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1387,"title":1388},"\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":1390,"title":1391},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1393,"title":1394},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer","Incremental Builds in Astro with the Content Layer",{"path":1396,"title":773},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs",{"path":1398,"title":1399},"\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":1401,"title":1402},"\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":1404,"title":1405},"\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":1407,"title":1408},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1410,"title":1411},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1413,"title":1414},"\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":1416,"title":1417},"\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":1419,"title":1420},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1422,"title":1423},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1425,"title":1426},"\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":1428,"title":1429},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1431,"title":1432},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1434,"title":1435},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1437,"title":1438},"\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":1440,"title":1441},"\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":1443,"title":1444},"\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":1446,"title":1447},"\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":1449,"title":1450},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1452,"title":1453},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1455,"title":1456},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1458,"title":1459},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1461,"title":1462},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1464,"title":1465},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1467,"title":1468},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1470,"title":1471},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1473,"title":1474},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1476,"title":1477},"\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":1479,"title":1480},"\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":1482,"title":1483},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1485,"title":1486},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1488,"title":1489},"\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":1491,"title":1492},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1494,"title":1495},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1497,"title":1498},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1500,"title":1501},"\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":1503,"title":1504},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1506,"title":1507},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1509,"title":1510},"\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":1512,"title":1513},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1515,"title":1516},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1518,"title":1519},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1521,"title":1522},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1524,"title":1525},"\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":1527,"title":1528},"\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":1530,"title":1531},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1533,"title":1534},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1536,"title":1537},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1539,"title":1540},"\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",1789722848056]