[{"data":1,"prerenderedAt":2554},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts":3,"all-docs-nav":1408,"filed:\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts":2549},{"id":4,"title":5,"body":6,"breadcrumb":1384,"dateModified":1393,"datePublished":1393,"description":1394,"extension":1395,"faq":1396,"meta":1401,"navigation":1402,"path":1403,"seo":1404,"slug":12,"stem":1405,"type":1406,"__hash__":1407},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts\u002Findex.md","Fixing Content Security Policy Violations From Inline Scripts",{"type":7,"value":8,"toc":1364},"minimark",[9,13,29,48,53,63,73,217,224,228,235,554,562,566,584,675,682,686,700,704,711,715,743,888,892,895,1011,1014,1018,1033,1137,1141,1238,1242,1280,1284,1289,1293,1298,1301,1305,1308,1312,1315,1319,1322,1326,1361],[10,11,5],"h1",{"id":12},"fixing-content-security-policy-violations-from-inline-scripts",[14,15,16,17,21,22,25,26,28],"p",{},"A Content Security Policy without ",[18,19,20],"code",{},"'unsafe-inline'"," in ",[18,23,24],{},"script-src"," is one of the most effective protections a static site can have against injected scripts — and switching it on usually breaks something. The console fills with \"Refused to execute inline script because it violates the following Content Security Policy directive\", and pages lose their theme toggle, their analytics, their copy buttons. The pressure is to add ",[18,27,20],{}," back, which removes most of the protection the policy was meant to provide.",[14,30,31,32,37,38,42,43,47],{},"This guide removes inline script violations from an Eleventy documentation and marketing site after deploying a strict policy in report-only mode. It shows how to collect and group reports, the five sources of inline scripts found, and the fix for each — hashes for what must stay inline, external files for the rest, and no event handler attributes. It belongs to ",[33,34,36],"a",{"href":35},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002F","Security Headers and Hardening for Static Sites","; writing the initial policy is covered in ",[33,39,41],{"href":40},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fwriting-a-content-security-policy-for-a-static-site\u002F","Writing a Content Security Policy for a Static Site",", and the Astro-specific automation in ",[33,44,46],{"href":45},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fhash-based-csp-for-inline-scripts-in-astro\u002F","Hash-Based CSP for Inline Scripts in Astro",".",[49,50,52],"h2",{"id":51},"step-1-deploy-in-report-only-mode-and-collect","Step 1: Deploy in Report-Only Mode and Collect",[54,55,61],"pre",{"className":56,"code":58,"language":59,"meta":60},[57],"language-text","Content-Security-Policy-Report-Only: default-src 'self'; script-src 'self' https:\u002F\u002Fplausible.io;\n  style-src 'self'; img-src 'self' data: https:; object-src 'none'; base-uri 'self';\n  report-to csp; report-uri https:\u002F\u002Fexample.com\u002Fcsp-report\nReporting-Endpoints: csp=\"https:\u002F\u002Fexample.com\u002Fcsp-report\"\n","text","",[18,62,58],{"__ignoreMap":60},[14,64,65,66,69,70,72],{},"The report endpoint is a small edge function that stores reports with their page URL, directive and ",[18,67,68],{},"script-sample"," (the first 40 characters of the inline code). A week of traffic produced 18,400 reports. Grouping by ",[18,71,68],{}," and directive reduced them to eleven distinct sources.",[74,75,76,213],"figure",{},[77,78,85,86,85,90,85,94,85,101],"svg",{"viewBox":79,"role":80,"ariaLabelledBy":81,"xmlns":84},"0 0 760 278","img",[82,83],"cspinl-sources-title","cspinl-sources-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[87,88,89],"title",{"id":82},"CSP report volume per distinct inline script source over one week",[91,92,93],"desc",{"id":83},"Horizontal bars. The theme initialisation script in the head 7,900 reports. onclick attributes on copy buttons 4,300. An analytics snippet pasted in the layout 3,100. A cookie notice inline script 1,800. Inline style attributes from a Markdown plugin 1,100. Browser extensions 200, ignored.",[95,96],"rect",{"x":97,"y":97,"width":98,"height":99,"fill":100},"0","760","278","#ffffff",[102,103,105,106,105,117,105,121,105,128,105,132,105,137,105,143,105,149,105,156,105,161,105,168,105,172,105,177,105,181,105,186,105,190,105,195,105,199,105,204,105,208,85],"g",{"style":104},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[95,107],{"x":108,"y":109,"width":110,"height":111,"rx":112,"fill":113,"opacity":114,"stroke":115,"style":116},"240.0","65.0","450.4","20.0","3","#ff595e","0.3","#d83b41","stroke-width:1px",[95,118],{"x":108,"y":119,"width":120,"height":111,"rx":112,"fill":113,"opacity":114,"stroke":115,"style":116},"99.0","245.2",[95,122],{"x":108,"y":123,"width":124,"height":111,"rx":112,"fill":125,"opacity":126,"stroke":127,"style":116},"133.0","176.7","#ffca3a","0.45","#a97b00",[95,129],{"x":108,"y":130,"width":131,"height":111,"rx":112,"fill":125,"opacity":126,"stroke":127,"style":116},"167.0","102.6",[95,133],{"x":108,"y":134,"width":135,"height":111,"rx":112,"fill":136,"opacity":114,"stroke":136,"style":116},"201.0","62.7","#1982c4",[95,138],{"x":108,"y":139,"width":140,"height":111,"rx":112,"fill":141,"stroke":142,"style":116},"235.0","11.4","#d9e2ef","#556071",[144,145],"path",{"d":146,"fill":147,"stroke":142,"style":148},"M240.0 60.0 L240.0 260.0","none","stroke-width:1.5px",[59,150,155],{"x":151,"y":152,"fill":153,"style":154},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","Distinct inline script sources by report volume",[59,157,160],{"x":111,"y":158,"fill":153,"style":159},"79.2","font-size:12px;text-anchor:start","Theme init script",[59,162,167],{"x":163,"y":164,"fill":165,"style":166},"698.4","79.5","#b32b30","font-size:12px;text-anchor:start;font-weight:700","7900",[59,169,171],{"x":111,"y":170,"fill":153,"style":159},"113.2","onclick on copy buttons",[59,173,176],{"x":174,"y":175,"fill":165,"style":166},"493.2","113.5","4300",[59,178,180],{"x":111,"y":179,"fill":153,"style":159},"147.2","Analytics snippet",[59,182,185],{"x":183,"y":184,"fill":153,"style":166},"424.7","147.5","3100",[59,187,189],{"x":111,"y":188,"fill":153,"style":159},"181.2","Cookie notice script",[59,191,194],{"x":192,"y":193,"fill":153,"style":166},"350.6","181.5","1800",[59,196,198],{"x":111,"y":197,"fill":153,"style":159},"215.2","Inline style attributes",[59,200,203],{"x":201,"y":202,"fill":153,"style":166},"310.7","215.5","1100",[59,205,207],{"x":111,"y":206,"fill":153,"style":159},"249.2","Browser extensions",[59,209,212],{"x":210,"y":211,"fill":153,"style":166},"259.4","249.5","200",[214,215,216],"figcaption",{},"18,400 reports grouped by script sample and directive; extension reports come from readers' browsers, not the site.",[14,218,219,220,223],{},"Reports from browser extensions (samples starting with ",[18,221,222],{},"chrome-extension"," or containing extension-specific code) were filtered out: they are not the site's code and cannot be fixed by the site.",[49,225,227],{"id":226},"source-1-the-theme-script-that-must-stay-inline","Source 1: The Theme Script That Must Stay Inline",[14,229,230,231,234],{},"The dark-mode script must run before first paint, so it has to be inline in ",[18,232,233],{},"\u003Chead>"," — moving it to a file would bring back the flash of the wrong theme. It gets a hash. Because the build produces the HTML, the build can compute the hash:",[54,236,240],{"className":237,"code":238,"language":239,"meta":60,"style":60},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F eleventy.config.js — after build, collect hashes of all inline executable scripts\nimport { createHash } from 'node:crypto';\neleventyConfig.on('eleventy.after', async ({ results }) => {\n  const hashes = new Set();\n  for (const { content } of results)\n    for (const [, body] of content.matchAll(\u002F\u003Cscript(?![^>]*\\btype=\"(?!module|text\\\u002Fjavascript)[^\"]*\")[^>]*>([\\s\\S]*?)\u003C\\\u002Fscript>\u002Fg))\n      if (body.trim()) hashes.add(`'sha256-${createHash('sha256').update(body).digest('base64')}'`);\n  await writeHeaders([...hashes]);   \u002F\u002F writes the script-src line into _headers\n});\n","js",[18,241,242,251,272,310,332,359,467,527,548],{"__ignoreMap":60},[243,244,247],"span",{"class":245,"line":246},"line",1,[243,248,250],{"class":249},"sJ8bj","\u002F\u002F eleventy.config.js — after build, collect hashes of all inline executable scripts\n",[243,252,254,258,262,265,269],{"class":245,"line":253},2,[243,255,257],{"class":256},"szBVR","import",[243,259,261],{"class":260},"sVt8B"," { createHash } ",[243,263,264],{"class":256},"from",[243,266,268],{"class":267},"sZZnC"," 'node:crypto'",[243,270,271],{"class":260},";\n",[243,273,275,278,282,285,288,291,294,297,301,304,307],{"class":245,"line":274},3,[243,276,277],{"class":260},"eleventyConfig.",[243,279,281],{"class":280},"sScJk","on",[243,283,284],{"class":260},"(",[243,286,287],{"class":267},"'eleventy.after'",[243,289,290],{"class":260},", ",[243,292,293],{"class":256},"async",[243,295,296],{"class":260}," ({ ",[243,298,300],{"class":299},"s4XuR","results",[243,302,303],{"class":260}," }) ",[243,305,306],{"class":256},"=>",[243,308,309],{"class":260}," {\n",[243,311,313,316,320,323,326,329],{"class":245,"line":312},4,[243,314,315],{"class":256},"  const",[243,317,319],{"class":318},"sj4cs"," hashes",[243,321,322],{"class":256}," =",[243,324,325],{"class":256}," new",[243,327,328],{"class":280}," Set",[243,330,331],{"class":260},"();\n",[243,333,335,338,341,344,347,350,353,356],{"class":245,"line":334},5,[243,336,337],{"class":256},"  for",[243,339,340],{"class":260}," (",[243,342,343],{"class":256},"const",[243,345,346],{"class":260}," { ",[243,348,349],{"class":318},"content",[243,351,352],{"class":260}," } ",[243,354,355],{"class":256},"of",[243,357,358],{"class":260}," results)\n",[243,360,362,365,367,369,372,375,378,380,383,386,388,391,395,398,401,404,407,410,413,415,419,422,424,426,429,432,435,437,439,441,443,446,449,452,455,457,460,462,464],{"class":245,"line":361},6,[243,363,364],{"class":256},"    for",[243,366,340],{"class":260},[243,368,343],{"class":256},[243,370,371],{"class":260}," [, ",[243,373,374],{"class":318},"body",[243,376,377],{"class":260},"] ",[243,379,355],{"class":256},[243,381,382],{"class":260}," content.",[243,384,385],{"class":280},"matchAll",[243,387,284],{"class":260},[243,389,390],{"class":267},"\u002F",[243,392,394],{"class":393},"sA_wV","\u003Cscript(?!",[243,396,397],{"class":318},"[",[243,399,400],{"class":256},"^",[243,402,403],{"class":318},">]",[243,405,406],{"class":256},"*\\b",[243,408,409],{"class":393},"type=\"(?!module",[243,411,412],{"class":256},"|",[243,414,59],{"class":393},[243,416,418],{"class":417},"snhLl","\\\u002F",[243,420,421],{"class":393},"javascript)",[243,423,397],{"class":318},[243,425,400],{"class":256},[243,427,428],{"class":318},"\"]",[243,430,431],{"class":256},"*",[243,433,434],{"class":393},"\")",[243,436,397],{"class":318},[243,438,400],{"class":256},[243,440,403],{"class":318},[243,442,431],{"class":256},[243,444,445],{"class":393},">(",[243,447,448],{"class":318},"[\\s\\S]",[243,450,451],{"class":256},"*?",[243,453,454],{"class":393},")\u003C",[243,456,418],{"class":417},[243,458,459],{"class":393},"script>",[243,461,390],{"class":267},[243,463,102],{"class":256},[243,465,466],{"class":260},"))\n",[243,468,470,473,476,479,482,485,487,490,493,495,498,501,504,506,508,510,513,515,518,521,524],{"class":245,"line":469},7,[243,471,472],{"class":256},"      if",[243,474,475],{"class":260}," (body.",[243,477,478],{"class":280},"trim",[243,480,481],{"class":260},"()) hashes.",[243,483,484],{"class":280},"add",[243,486,284],{"class":260},[243,488,489],{"class":267},"`'sha256-${",[243,491,492],{"class":280},"createHash",[243,494,284],{"class":267},[243,496,497],{"class":267},"'sha256'",[243,499,500],{"class":267},").",[243,502,503],{"class":280},"update",[243,505,284],{"class":267},[243,507,374],{"class":260},[243,509,500],{"class":267},[243,511,512],{"class":280},"digest",[243,514,284],{"class":267},[243,516,517],{"class":267},"'base64'",[243,519,520],{"class":267},")",[243,522,523],{"class":267},"}'`",[243,525,526],{"class":260},");\n",[243,528,530,533,536,539,542,545],{"class":245,"line":529},8,[243,531,532],{"class":256},"  await",[243,534,535],{"class":280}," writeHeaders",[243,537,538],{"class":260},"([",[243,540,541],{"class":256},"...",[243,543,544],{"class":260},"hashes]);   ",[243,546,547],{"class":249},"\u002F\u002F writes the script-src line into _headers\n",[243,549,551],{"class":245,"line":550},9,[243,552,553],{"class":260},"});\n",[14,555,556,557,561],{},"The regex skips JSON-LD and other non-executable types. The hash covers the script's exact bytes, including whitespace, so the hash is computed from the built output rather than the template — a minifier that runs after would change it, so the HTML minifier runs before this step. ",[33,558,560],{"href":559},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-dark-mode-toggles-for-static-sites\u002F","Accessible Dark Mode Toggles for Static Sites"," shows the script.",[49,563,565],{"id":564},"source-2-event-handler-attributes","Source 2: Event Handler Attributes",[14,567,568,569,572,573,575,576,579,580,583],{},"Copy buttons were rendered as ",[18,570,571],{},"\u003Cbutton onclick=\"copyCode(this)\">"," by a Markdown plugin. Inline event handlers cannot be allowed by hash in ",[18,574,24],{}," without ",[18,577,578],{},"'unsafe-hashes'",", which is a weaker setting best avoided. The plugin was changed to emit ",[18,581,582],{},"\u003Cbutton class=\"copy\" data-copy>",", and one external script attaches a delegated listener:",[54,585,587],{"className":237,"code":586,"language":239,"meta":60,"style":60},"document.addEventListener('click', (e) => {\n  const btn = e.target.closest('[data-copy]');\n  if (btn) navigator.clipboard.writeText(btn.closest('figure').querySelector('code').innerText);\n});\n",[18,588,589,615,637,671],{"__ignoreMap":60},[243,590,591,594,597,599,602,605,608,611,613],{"class":245,"line":246},[243,592,593],{"class":260},"document.",[243,595,596],{"class":280},"addEventListener",[243,598,284],{"class":260},[243,600,601],{"class":267},"'click'",[243,603,604],{"class":260},", (",[243,606,607],{"class":299},"e",[243,609,610],{"class":260},") ",[243,612,306],{"class":256},[243,614,309],{"class":260},[243,616,617,619,622,624,627,630,632,635],{"class":245,"line":253},[243,618,315],{"class":256},[243,620,621],{"class":318}," btn",[243,623,322],{"class":256},[243,625,626],{"class":260}," e.target.",[243,628,629],{"class":280},"closest",[243,631,284],{"class":260},[243,633,634],{"class":267},"'[data-copy]'",[243,636,526],{"class":260},[243,638,639,642,645,648,651,653,655,658,660,663,665,668],{"class":245,"line":274},[243,640,641],{"class":256},"  if",[243,643,644],{"class":260}," (btn) navigator.clipboard.",[243,646,647],{"class":280},"writeText",[243,649,650],{"class":260},"(btn.",[243,652,629],{"class":280},[243,654,284],{"class":260},[243,656,657],{"class":267},"'figure'",[243,659,500],{"class":260},[243,661,662],{"class":280},"querySelector",[243,664,284],{"class":260},[243,666,667],{"class":267},"'code'",[243,669,670],{"class":260},").innerText);\n",[243,672,673],{"class":245,"line":312},[243,674,553],{"class":260},[14,676,677,678,681],{},"A grep of the built HTML for ",[18,679,680],{}," on[a-z]+="," now runs in CI and fails on any event handler attribute.",[49,683,685],{"id":684},"source-3-a-pasted-analytics-snippet","Source 3: A Pasted Analytics Snippet",[14,687,688,689,692,693,696,697,699],{},"The analytics vendor's instructions said to paste an inline snippet that defines a queue function and loads the script. The vendor also offers a plain ",[18,690,691],{},"\u003Cscript defer src=\"…\">"," tag with configuration in ",[18,694,695],{},"data-"," attributes, which needs no inline code at all; the snippet was replaced with it, and the vendor's domain was already in ",[18,698,24],{},". For custom events, the site's own external script calls the vendor's API after it loads.",[49,701,703],{"id":702},"source-4-a-cookie-notice-script","Source 4: A Cookie Notice Script",[14,705,706,707,710],{},"A small inline script read a cookie and showed the notice. It moved into the site's main external script file. Since that file is loaded with ",[18,708,709],{},"defer",", the notice appears a moment after first paint rather than with it; to avoid layout shift, the notice is positioned fixed at the bottom of the viewport, so its appearance moves nothing.",[49,712,714],{"id":713},"source-5-inline-styles","Source 5: Inline Styles",[14,716,717,720,721,724,725,728,729,732,733,736,737,21,739,742],{},[18,718,719],{},"style-src 'self'"," also blocks ",[18,722,723],{},"style=\"…\""," attributes. A Markdown plugin added ",[18,726,727],{},"style=\"text-align:center\""," to table cells from Markdown alignment syntax. Replacing them with classes (",[18,730,731],{},".align-center",") in the plugin's output fixed 1,100 reports. Inline SVG diagrams with ",[18,734,735],{},"style"," attributes were the harder case on this site; they were allowed with ",[18,738,20],{},[18,740,741],{},"style-src"," only, after weighing that style injection is far less dangerous than script injection, and documented as a known exception.",[74,744,745,885],{},[77,746,85,751,85,754,85,757,85,760],{"viewBox":747,"role":80,"ariaLabelledBy":748,"xmlns":84},"0 0 760 270",[749,750],"cspinl-fixes-title","cspinl-fixes-desc",[87,752,753],{"id":749},"Fix applied to each source of inline code",[91,755,756],{"id":750},"A matrix of five sources. The theme script must run before paint, so it stays inline with a build-time hash. onclick attributes were replaced by a delegated listener in an external file. The analytics snippet was replaced by the vendor's script tag with data attributes. The cookie notice script moved to the external bundle. Inline style attributes from Markdown became classes, with inline SVG styles allowed in style-src as a documented exception.",[95,758],{"x":97,"y":97,"width":98,"height":759,"fill":100},"270",[102,761,105,762,105,765,105,775,105,779,105,782,105,786,105,788,105,791,105,794,105,796,105,799,105,802,105,804,105,807,105,811,105,813,105,816,105,819,105,823,105,828,105,832,105,836,105,841,105,844,105,848,105,852,105,855,105,858,105,861,105,864,105,868,105,871,105,874,105,878,105,882,85],{"style":104},[144,763],{"d":764,"fill":147,"stroke":142,"style":148},"M20.0 86.0 L740.0 86.0",[95,766],{"x":767,"y":768,"width":769,"height":770,"rx":771,"fill":772,"opacity":773,"stroke":774,"style":116},"214.0","90.0","257.0","25.6","5","#8ac926","0.2","#5a8a16",[95,776],{"x":777,"y":768,"width":769,"height":770,"rx":771,"fill":136,"opacity":778,"stroke":136,"style":116},"479.0","0.14",[144,780],{"d":781,"fill":147,"stroke":141,"style":116},"M20.0 119.6 L740.0 119.6",[95,783],{"x":767,"y":784,"width":769,"height":770,"rx":771,"fill":113,"opacity":785,"stroke":115,"style":116},"123.6","0.12",[95,787],{"x":777,"y":784,"width":769,"height":770,"rx":771,"fill":772,"opacity":773,"stroke":774,"style":116},[144,789],{"d":790,"fill":147,"stroke":141,"style":116},"M20.0 153.2 L740.0 153.2",[95,792],{"x":767,"y":793,"width":769,"height":770,"rx":771,"fill":113,"opacity":785,"stroke":115,"style":116},"157.2",[95,795],{"x":777,"y":793,"width":769,"height":770,"rx":771,"fill":772,"opacity":773,"stroke":774,"style":116},[144,797],{"d":798,"fill":147,"stroke":141,"style":116},"M20.0 186.8 L740.0 186.8",[95,800],{"x":767,"y":801,"width":769,"height":770,"rx":771,"fill":113,"opacity":785,"stroke":115,"style":116},"190.8",[95,803],{"x":777,"y":801,"width":769,"height":770,"rx":771,"fill":772,"opacity":773,"stroke":774,"style":116},[144,805],{"d":806,"fill":147,"stroke":141,"style":116},"M20.0 220.4 L740.0 220.4",[95,808],{"x":767,"y":809,"width":769,"height":770,"rx":771,"fill":125,"opacity":810,"stroke":127,"style":116},"224.4","0.24",[95,812],{"x":777,"y":809,"width":769,"height":770,"rx":771,"fill":125,"opacity":810,"stroke":127,"style":116},[144,814],{"d":815,"fill":147,"stroke":141,"style":116},"M20.0 254.0 L740.0 254.0",[59,817,818],{"x":151,"y":152,"fill":153,"style":154},"The fix for each source",[59,820,822],{"x":152,"y":821,"fill":153,"style":166},"75.2","Source",[59,824,827],{"x":825,"y":821,"fill":153,"style":826},"342.5","font-size:12px;text-anchor:middle;font-weight:700","Must be inline?",[59,829,831],{"x":830,"y":821,"fill":153,"style":826},"607.5","Fix",[59,833,835],{"x":152,"y":834,"fill":153,"style":166},"106.4","Theme init",[59,837,840],{"x":825,"y":838,"fill":153,"style":839},"106.2","font-size:11.5px;text-anchor:middle","yes, before paint",[59,842,843],{"x":830,"y":838,"fill":153,"style":839},"sha256 hash at build",[59,845,847],{"x":152,"y":846,"fill":153,"style":166},"140.0","onclick handlers",[59,849,851],{"x":825,"y":850,"fill":153,"style":839},"139.8","no",[59,853,854],{"x":830,"y":850,"fill":153,"style":839},"delegated listener",[59,856,180],{"x":152,"y":857,"fill":153,"style":166},"173.6",[59,859,851],{"x":825,"y":860,"fill":153,"style":839},"173.4",[59,862,863],{"x":830,"y":860,"fill":153,"style":839},"vendor script tag",[59,865,867],{"x":152,"y":866,"fill":153,"style":166},"207.2","Cookie notice",[59,869,851],{"x":825,"y":870,"fill":153,"style":839},"207.0",[59,872,873],{"x":830,"y":870,"fill":153,"style":839},"moved to bundle",[59,875,877],{"x":152,"y":876,"fill":153,"style":166},"240.8","style attributes",[59,879,881],{"x":825,"y":880,"fill":153,"style":839},"240.6","SVG only",[59,883,884],{"x":830,"y":880,"fill":153,"style":839},"classes; SVG exception",[214,886,887],{},"Only one inline script remains, and it is allowed by hash, not by unsafe-inline.",[49,889,891],{"id":890},"keeping-hashes-in-sync","Keeping Hashes in Sync",[14,893,894],{},"A hash allows exactly one version of a script. Edit the theme script by one character and the hash no longer matches; with the policy enforced, the script stops running and every page flashes the wrong theme. Generating the header from the built HTML in the same build, as above, means the hash always matches what ships. The failure mode to guard against is a header file generated in one step and HTML changed in a later one — a post-processing minifier, an HTML rewriter at the edge, or a CDN feature that injects scripts.",[74,896,897,1008],{},[77,898,85,903,85,906,85,909,85,912,85,994],{"viewBox":899,"role":80,"ariaLabelledBy":900,"xmlns":84},"0 0 760 154",[901,902],"cspinl-order-title","cspinl-order-desc",[87,904,905],{"id":901},"Order of build steps so CSP hashes match the shipped HTML",[91,907,908],{"id":902},"Five steps. Render the pages. Minify the HTML. Compute hashes from the final inline scripts. Write the Content-Security-Policy header with those hashes. Deploy without any later step that rewrites HTML, and turn off CDN features that inject scripts.",[95,910],{"x":97,"y":97,"width":98,"height":911,"fill":100},"154",[102,913,105,914,105,921,105,924,105,928,105,932,105,935,105,938,105,941,105,944,105,947,105,950,105,956,105,961,105,965,105,968,105,972,105,976,105,980,105,984,105,987,105,991,85],{"style":104},[95,915],{"x":111,"y":916,"width":917,"height":918,"rx":919,"fill":920,"stroke":141,"style":148},"64.0","116.8","74.1","8","#f8fafc",[95,922],{"x":923,"y":916,"width":917,"height":918,"rx":919,"fill":136,"opacity":778,"stroke":136,"style":148},"170.8",[144,925],{"d":926,"fill":147,"stroke":142,"style":927},"M138.8 101.1 L166.8 101.1","stroke-width:2px;marker-end:url(#cspinl-order-arrow)",[95,929],{"x":930,"y":916,"width":917,"height":918,"rx":919,"fill":931,"opacity":778,"stroke":931,"style":148},"321.6","#6a4c93",[144,933],{"d":934,"fill":147,"stroke":142,"style":927},"M289.6 101.1 L317.6 101.1",[95,936],{"x":937,"y":916,"width":917,"height":918,"rx":919,"fill":772,"opacity":773,"stroke":774,"style":148},"472.4",[144,939],{"d":940,"fill":147,"stroke":142,"style":927},"M440.4 101.1 L468.4 101.1",[95,942],{"x":943,"y":916,"width":917,"height":918,"rx":919,"fill":772,"opacity":773,"stroke":774,"style":148},"623.2",[144,945],{"d":946,"fill":147,"stroke":142,"style":927},"M591.2 101.1 L619.2 101.1",[59,948,949],{"x":151,"y":152,"fill":153,"style":154},"Build order that keeps hashes valid",[59,951,955],{"x":952,"y":953,"fill":153,"style":954},"78.4","98.8","font-size:13px;text-anchor:middle;font-weight:700","Render pages",[59,957,960],{"x":952,"y":958,"fill":142,"style":959},"115.7","font-size:11px;text-anchor:middle","generator",[59,962,964],{"x":963,"y":953,"fill":153,"style":954},"229.2","Minify HTML",[59,966,967],{"x":963,"y":958,"fill":142,"style":959},"final bytes",[59,969,971],{"x":151,"y":970,"fill":153,"style":954},"90.4","Hash inline",[59,973,975],{"x":151,"y":974,"fill":153,"style":954},"107.3","scripts",[59,977,979],{"x":151,"y":978,"fill":142,"style":959},"124.2","from output",[59,981,983],{"x":982,"y":953,"fill":153,"style":954},"530.8","Write header",[59,985,986],{"x":982,"y":958,"fill":142,"style":959},"_headers \u002F config",[59,988,990],{"x":989,"y":953,"fill":153,"style":954},"681.6","Deploy as-is",[59,992,993],{"x":989,"y":958,"fill":142,"style":959},"no edge rewriting",[995,996,105,997,85],"defs",{},[998,999,1004,1005,105],"marker",{"id":1000,"viewBox":1001,"refX":919,"refY":771,"markerWidth":1002,"markerHeight":1002,"orient":1003},"cspinl-order-arrow","0 0 10 10","7","auto-start-reverse","\n      ",[144,1006],{"d":1007,"fill":142},"M0 0 L10 5 L0 10 z",[214,1009,1010],{},"Any HTML change after the hash step invalidates the hash; the CI test catches it before deploy.",[14,1012,1013],{},"Cloudflare's automatic features that modify HTML — email address obfuscation, Rocket Loader and some analytics injection — each add inline scripts the build never saw. On this site, email obfuscation was the culprit for a burst of reports on pages with mailto links after the policy went live; turning it off for the zone and using a contact form instead resolved it.",[49,1015,1017],{"id":1016},"step-2-enforce","Step 2: Enforce",[14,1019,1020,1021,1024,1025,1028,1029,1032],{},"After a week with no reports from the site's own code, the header switched from ",[18,1022,1023],{},"Content-Security-Policy-Report-Only"," to ",[18,1026,1027],{},"Content-Security-Policy",", keeping the reporting endpoints. A CI test loads ten pages with Playwright and fails on any ",[18,1030,1031],{},"securitypolicyviolation"," event, so a new inline script cannot reach production:",[54,1034,1036],{"className":237,"code":1035,"language":239,"meta":60,"style":60},"await page.addInitScript(() => document.addEventListener('securitypolicyviolation', (e) => (window.__csp ??= []).push(e.violatedDirective + ' ' + e.sample)));\n\u002F\u002F …navigate…\nexpect(await page.evaluate(() => window.__csp ?? [])).toEqual([]);\n",[18,1037,1038,1099,1104],{"__ignoreMap":60},[243,1039,1040,1043,1046,1049,1052,1054,1057,1059,1061,1064,1066,1068,1070,1072,1075,1078,1081,1084,1087,1090,1093,1096],{"class":245,"line":246},[243,1041,1042],{"class":256},"await",[243,1044,1045],{"class":260}," page.",[243,1047,1048],{"class":280},"addInitScript",[243,1050,1051],{"class":260},"(() ",[243,1053,306],{"class":256},[243,1055,1056],{"class":260}," document.",[243,1058,596],{"class":280},[243,1060,284],{"class":260},[243,1062,1063],{"class":267},"'securitypolicyviolation'",[243,1065,604],{"class":260},[243,1067,607],{"class":299},[243,1069,610],{"class":260},[243,1071,306],{"class":256},[243,1073,1074],{"class":260}," (window.__csp ",[243,1076,1077],{"class":256},"??=",[243,1079,1080],{"class":260}," []).",[243,1082,1083],{"class":280},"push",[243,1085,1086],{"class":260},"(e.violatedDirective ",[243,1088,1089],{"class":256},"+",[243,1091,1092],{"class":267}," ' '",[243,1094,1095],{"class":256}," +",[243,1097,1098],{"class":260}," e.sample)));\n",[243,1100,1101],{"class":245,"line":253},[243,1102,1103],{"class":249},"\u002F\u002F …navigate…\n",[243,1105,1106,1109,1111,1113,1115,1118,1120,1122,1125,1128,1131,1134],{"class":245,"line":274},[243,1107,1108],{"class":280},"expect",[243,1110,284],{"class":260},[243,1112,1042],{"class":256},[243,1114,1045],{"class":260},[243,1116,1117],{"class":280},"evaluate",[243,1119,1051],{"class":260},[243,1121,306],{"class":256},[243,1123,1124],{"class":260}," window.__csp ",[243,1126,1127],{"class":256},"??",[243,1129,1130],{"class":260}," [])).",[243,1132,1133],{"class":280},"toEqual",[243,1135,1136],{"class":260},"([]);\n",[49,1138,1140],{"id":1139},"measured-impact","Measured Impact",[1142,1143,1144,1163],"table",{},[1145,1146,1147],"thead",{},[1148,1149,1150,1154,1157,1160],"tr",{},[1151,1152,1153],"th",{},"Measure",[1151,1155,1156],{},"Report-only week",[1151,1158,1159],{},"After fixes (enforced)",[1151,1161,1162],{},"Tool",[1164,1165,1166,1180,1194,1207,1224],"tbody",{},[1148,1167,1168,1172,1175,1177],{},[1169,1170,1171],"td",{},"CSP reports from site code \u002F week",[1169,1173,1174],{},"18,200",[1169,1176,97],{},[1169,1178,1179],{},"Report endpoint",[1148,1181,1182,1185,1188,1191],{},[1169,1183,1184],{},"Inline executable scripts on a page",[1169,1186,1187],{},"4",[1169,1189,1190],{},"1 (hashed)",[1169,1192,1193],{},"Built HTML",[1148,1195,1196,1199,1202,1204],{},[1169,1197,1198],{},"Inline event handler attributes",[1169,1200,1201],{},"2,600 (across pages)",[1169,1203,97],{},[1169,1205,1206],{},"CI grep",[1148,1208,1209,1215,1218,1221],{},[1169,1210,1211,21,1213],{},[18,1212,20],{},[18,1214,24],{},[1169,1216,1217],{},"—",[1169,1219,1220],{},"Never added",[1169,1222,1223],{},"Header",[1148,1225,1226,1229,1232,1235],{},[1169,1227,1228],{},"Mozilla Observatory score",[1169,1230,1231],{},"B",[1169,1233,1234],{},"A+",[1169,1236,1237],{},"Observatory scan",[49,1239,1241],{"id":1240},"pitfalls-rollback","Pitfalls & Rollback",[1243,1244,1245,1256,1262,1268,1274],"ul",{},[1246,1247,1248,1255],"li",{},[1249,1250,1251,1252,1254],"strong",{},"Adding ",[18,1253,20],{}," to make errors stop."," It undoes most of the policy's value.",[1246,1257,1258,1261],{},[1249,1259,1260],{},"Hashing before minification."," Hash the final bytes.",[1246,1263,1264,1267],{},[1249,1265,1266],{},"Nonces on a static CDN."," They need per-response uniqueness; use hashes.",[1246,1269,1270,1273],{},[1249,1271,1272],{},"Counting extension reports as site bugs."," Filter them out.",[1246,1275,1276,1279],{},[1249,1277,1278],{},"Rollback:"," switch the header back to report-only; the site keeps working while reports continue.",[49,1281,1283],{"id":1282},"conclusion","Conclusion",[14,1285,1286,1287,47],{},"CSP violations from inline scripts on a static site come from a short list: a script that must run before paint, event handler attributes, pasted vendor snippets, small helper scripts and inline styles from plugins. Hashing the one script that must stay inline at build time, and moving everything else to external files and classes, took the site from 18,200 weekly reports to none under an enforced policy without ",[18,1288,20],{},[49,1290,1292],{"id":1291},"faq","FAQ",[1294,1295,1297],"h3",{"id":1296},"why-does-my-csp-block-inline-scripts","Why does my CSP block inline scripts?",[14,1299,1300],{},"A script-src directive without unsafe-inline, a nonce or a matching hash blocks every inline script element and every inline event handler attribute such as onclick. That is the protection CSP is designed to give, because injected scripts are usually inline. Each legitimate inline script needs to be allowed explicitly or moved to a file.",[1294,1302,1304],{"id":1303},"are-hashes-or-nonces-better-for-a-static-site","Are hashes or nonces better for a static site?",[14,1306,1307],{},"Hashes. A nonce must be unique per response, which a static file served from a CDN cannot provide without an edge function rewriting every page. A hash is computed from the script's content at build time and stays valid until the script changes, which fits static output exactly.",[1294,1309,1311],{"id":1310},"do-json-ld-script-blocks-need-to-be-in-the-csp","Do JSON-LD script blocks need to be in the CSP?",[14,1313,1314],{},"No. Script elements with a non-JavaScript type such as application ld+json are not executed, so script-src does not apply to them and browsers do not report them. Only executable inline scripts and event handler attributes need hashes or removal.",[1294,1316,1318],{"id":1317},"how-do-i-find-every-inline-script-that-violates-the-policy","How do I find every inline script that violates the policy?",[14,1320,1321],{},"Deploy the policy as Content-Security-Policy-Report-Only with a report-to or report-uri endpoint first, and collect reports for a week. Each report names the violated directive, the page, and for inline scripts a sample of the code. Group them by sample to find each distinct source.",[49,1323,1325],{"id":1324},"related","Related",[1243,1327,1328,1337,1342,1347,1354],{},[1246,1329,1330,1333,1334,1336],{},[1249,1331,1332],{},"Parent:"," ",[33,1335,36],{"href":35}," — hardening static sites.",[1246,1338,1339,1341],{},[33,1340,41],{"href":40}," — the policy itself.",[1246,1343,1344,1346],{},[33,1345,46],{"href":45}," — automated hashes in Astro.",[1246,1348,1349,1353],{},[33,1350,1352],{"href":1351},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets\u002F","Subresource Integrity for Third-Party Assets"," — protecting external scripts too.",[1246,1355,1356,1360],{},[33,1357,1359],{"href":1358},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fself-hosting-analytics-to-cut-third-party-requests\u002F","Self-Hosting Analytics to Cut Third-Party Requests"," — fewer third-party origins in the policy.",[735,1362,1363],{},"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 .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sA_wV, html code.shiki .sA_wV{--shiki-default:#032F62;--shiki-dark:#DBEDFF}html pre.shiki code .snhLl, html code.shiki .snhLl{--shiki-default:#22863A;--shiki-default-font-weight:bold;--shiki-dark:#85E89D;--shiki-dark-font-weight:bold}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":60,"searchDepth":253,"depth":253,"links":1365},[1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1383],{"id":51,"depth":253,"text":52},{"id":226,"depth":253,"text":227},{"id":564,"depth":253,"text":565},{"id":684,"depth":253,"text":685},{"id":702,"depth":253,"text":703},{"id":713,"depth":253,"text":714},{"id":890,"depth":253,"text":891},{"id":1016,"depth":253,"text":1017},{"id":1139,"depth":253,"text":1140},{"id":1240,"depth":253,"text":1241},{"id":1282,"depth":253,"text":1283},{"id":1291,"depth":253,"text":1292,"children":1378},[1379,1380,1381,1382],{"id":1296,"depth":274,"text":1297},{"id":1303,"depth":274,"text":1304},{"id":1310,"depth":274,"text":1311},{"id":1317,"depth":274,"text":1318},{"id":1324,"depth":253,"text":1325},[1385,1387,1390,1391],{"name":1386,"item":390},"Home",{"name":1388,"item":1389},"Production-Ready Deployment & CI\u002FCD for SSGs","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":36,"item":35},{"name":5,"item":1392},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts\u002F","2026-10-02","Trace CSP inline-script violations on a static site from reports to sources, then fix each with hashes, external files or removed handlers.","md",[1397,1398,1399,1400],{"q":1297,"a":1300},{"q":1304,"a":1307},{"q":1311,"a":1314},{"q":1318,"a":1321},{},true,"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts",{"title":5,"description":1394},"production-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts\u002Findex","article","zQKh0AfvU8ZFfQkJHniRzz34WgYylthAqj3_XPc3NvM",[1409,1412,1414,1417,1420,1423,1426,1429,1432,1435,1438,1441,1444,1447,1450,1453,1456,1459,1462,1465,1468,1471,1474,1477,1480,1483,1486,1489,1492,1495,1498,1501,1504,1507,1510,1513,1516,1519,1522,1525,1528,1531,1534,1537,1540,1543,1546,1549,1552,1555,1558,1561,1564,1567,1570,1573,1576,1579,1582,1585,1588,1591,1594,1597,1600,1603,1606,1609,1612,1615,1618,1621,1624,1627,1630,1633,1636,1639,1642,1645,1648,1651,1654,1657,1660,1663,1666,1669,1672,1675,1678,1681,1684,1687,1690,1693,1696,1699,1702,1705,1708,1711,1714,1717,1720,1723,1726,1729,1732,1735,1738,1741,1744,1747,1750,1753,1756,1759,1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792,1795,1798,1801,1804,1807,1810,1813,1816,1819,1822,1825,1828,1831,1834,1837,1840,1843,1846,1849,1852,1855,1858,1861,1864,1867,1870,1873,1876,1879,1882,1885,1888,1891,1894,1897,1900,1903,1906,1909,1912,1915,1918,1921,1924,1927,1930,1933,1936,1939,1942,1945,1948,1951,1954,1957,1960,1963,1966,1969,1972,1975,1978,1981,1984,1987,1990,1993,1996,1999,2002,2005,2008,2011,2014,2017,2020,2023,2026,2029,2032,2035,2038,2041,2044,2047,2050,2053,2056,2059,2062,2065,2068,2071,2074,2077,2080,2083,2086,2089,2092,2095,2098,2101,2104,2107,2110,2113,2116,2119,2122,2125,2128,2131,2134,2137,2140,2143,2146,2148,2151,2154,2157,2160,2163,2166,2169,2172,2175,2178,2181,2184,2187,2190,2193,2196,2199,2202,2205,2208,2211,2214,2217,2220,2223,2226,2229,2232,2235,2238,2241,2244,2247,2250,2253,2256,2259,2262,2265,2268,2271,2274,2277,2280,2283,2285,2288,2291,2294,2297,2300,2303,2306,2309,2312,2315,2318,2321,2324,2327,2330,2333,2336,2339,2342,2345,2348,2351,2354,2357,2360,2363,2366,2369,2372,2375,2378,2381,2384,2387,2390,2393,2396,2399,2402,2405,2408,2411,2414,2417,2420,2423,2426,2429,2430,2433,2435,2437,2440,2443,2446,2449,2452,2454,2456,2459,2462,2465,2468,2471,2474,2477,2480,2483,2486,2489,2492,2495,2498,2501,2504,2507,2510,2513,2516,2519,2522,2525,2528,2531,2534,2537,2540,2543,2546],{"path":1410,"title":1411},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites","Accessible Code Blocks in Documentation Sites",{"path":1413,"title":560},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-dark-mode-toggles-for-static-sites",{"path":1415,"title":1416},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-svg-diagrams-on-static-sites","Accessible SVG Diagrams on Static Sites",{"path":1418,"title":1419},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fenforcing-alt-text-for-markdown-images-at-build-time","Enforcing Alt Text for Markdown Images at Build Time",{"path":1421,"title":1422},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-heading-order-problems-in-markdown-content","Fixing Heading Order Problems in Markdown Content",{"path":1424,"title":1425},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-low-color-contrast-flagged-by-lighthouse","Fixing Low Color Contrast Flagged by Lighthouse",{"path":1427,"title":1428},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1430,"title":1431},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fkeyboard-navigation-and-focus-order-on-static-sites","Keyboard Navigation and Focus Order on Static Sites",{"path":1433,"title":1434},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fskip-links-and-landmarks-in-ssg-layouts","Skip Links and Landmarks in SSG Layouts",{"path":1436,"title":1437},"\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":1439,"title":1440},"\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":1442,"title":1443},"\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":1445,"title":1446},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fdev-server-performance-astro-vs-eleventy","Dev Server Performance: Astro vs Eleventy",{"path":1448,"title":1449},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-astro-build-errors-after-upgrading-to-astro-5","Fixing Astro Build Errors After Upgrading to Astro 5",{"path":1451,"title":1452},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-duplicate-permalink-errors-in-eleventy","Fixing Duplicate Permalink Errors in Eleventy",{"path":1454,"title":1455},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-eleventy-out-of-memory-errors-on-large-collections","Fixing Eleventy Out-of-Memory Errors on Large Collections",{"path":1457,"title":1458},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-slow-astro-builds-caused-by-large-mdx-collections","Fixing Slow Astro Builds Caused by Large MDX Collections",{"path":1460,"title":1461},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1463,"title":1464},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders","Loading Remote Content With Astro Content Layer Loaders",{"path":1466,"title":1467},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fmarkdown-pipelines-remark-vs-markdown-it","Markdown Pipelines: remark vs markdown-it",{"path":1469,"title":1470},"\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":1472,"title":1473},"\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":1475,"title":1476},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy","Syntax Highlighting with Shiki in Astro and Eleventy",{"path":1478,"title":1479},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fupgrading-eleventy-2-to-3-with-esm-configuration","Upgrading Eleventy 2 to 3 With ESM Configuration",{"path":1481,"title":1482},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fadding-local-search-to-a-vitepress-site","Adding Local Search to a VitePress Site",{"path":1484,"title":1485},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1487,"title":1488},"\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":1490,"title":1491},"\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":1493,"title":1494},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Ffixing-broken-links-reported-by-docusaurus-builds","Fixing Broken Links Reported by Docusaurus Builds",{"path":1496,"title":1497},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fgenerating-api-reference-pages-in-starlight-from-openapi","Generating API Reference Pages in Starlight From OpenAPI",{"path":1499,"title":1500},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1502,"title":1503},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1505,"title":1506},"\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":1508,"title":1509},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1511,"title":1512},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1514,"title":1515},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fspeeding-up-docusaurus-builds-with-rspack","Speeding Up Docusaurus Builds With Rspack",{"path":1517,"title":1518},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1520,"title":1521},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioning-vitepress-documentation-without-a-plugin","Versioning VitePress Documentation Without a Plugin",{"path":1523,"title":1524},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1526,"title":1527},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-vs-starlight-for-vue-and-astro-teams","VitePress vs Starlight for Vue and Astro Teams",{"path":1529,"title":1530},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-fail-after-a-version-upgrade","Fixing Hugo Builds That Fail After a Version Upgrade",{"path":1532,"title":1533},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-slow-down-after-adding-taxonomies","Fixing Hugo Builds That Slow Down After Adding Taxonomies",{"path":1535,"title":1536},"\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":1538,"title":1539},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-image-processing-cache-in-ci","Hugo Image Processing Cache in CI",{"path":1541,"title":1542},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-modules-and-dependency-caching","Hugo Modules and Dependency Caching",{"path":1544,"title":1545},"\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":1547,"title":1548},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1550,"title":1551},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fparallel-hugo-builds-across-ci-jobs","Parallel Hugo Builds Across CI Jobs",{"path":1553,"title":1554},"\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":1556,"title":1557},"\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":1559,"title":1560},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsharing-a-theme-across-hugo-sites-with-modules","Sharing a Theme Across Hugo Sites With Modules",{"path":1562,"title":1563},"\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":1565,"title":1566},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsplitting-large-hugo-sites-with-segments","Splitting Large Hugo Sites with Segments",{"path":1568,"title":1569},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1571,"title":1572},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ffixing-hreflang-errors-reported-in-search-console","Fixing Hreflang Errors Reported in Search Console",{"path":1574,"title":1575},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fhreflang-and-language-alternates-on-static-sites","hreflang and Language Alternates on Static Sites",{"path":1577,"title":1578},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":1580,"title":1581},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":1583,"title":1584},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Flanguage-detection-and-redirects-at-the-edge","Language Detection and Redirects at the Edge",{"path":1586,"title":1587},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-eleventy-sites-with-the-i18n-plugin","Multilingual Eleventy Sites With the i18n Plugin",{"path":1589,"title":1590},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":1592,"title":1593},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fright-to-left-layouts-on-static-sites","Right-to-Left Layouts on Static Sites",{"path":1595,"title":1596},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fsubdirectories-vs-subdomains-for-translated-static-sites","Subdirectories vs Subdomains for Translated Static Sites",{"path":1598,"title":1599},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ftranslation-workflows-with-git-and-crowdin","Translation Workflows with Git and Crowdin",{"path":1601,"title":1602},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fcustom-domains-and-https-for-jekyll-on-github-pages","Custom Domains and HTTPS for Jekyll on GitHub Pages",{"path":1604,"title":1605},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1607,"title":1608},"\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":1610,"title":1611},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Ffixing-jekyll-builds-that-break-after-a-ruby-upgrade","Fixing Jekyll Builds That Break After a Ruby Upgrade",{"path":1613,"title":1614},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1616,"title":1617},"\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":1619,"title":1620},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Frunning-jekyll-in-docker-for-reproducible-builds","Running Jekyll in Docker for Reproducible Builds",{"path":1622,"title":1623},"\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":1625,"title":1626},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1628,"title":1629},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1631,"title":1632},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fauditing-content-parity-after-a-migration","Auditing Content Parity After a Migration",{"path":1634,"title":1635},"\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":1637,"title":1638},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1640,"title":1641},"\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":1643,"title":1644},"\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":1646,"title":1647},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-a-wordpress-export-to-eleventy","Migrating a WordPress Export to Eleventy",{"path":1649,"title":1650},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":1652,"title":1653},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1655,"title":1656},"\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":1658,"title":1659},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-nextjs-pages-router-to-astro","Migrating from Next.js Pages Router to Astro",{"path":1661,"title":1662},"\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":1664,"title":1665},"\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":1667,"title":1668},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Frecovering-search-traffic-lost-after-a-generator-migration","Recovering Search Traffic Lost After a Generator Migration",{"path":1670,"title":1671},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Freplacing-gatsby-graphql-queries-during-a-migration","Replacing Gatsby GraphQL Queries During a Migration",{"path":1673,"title":1674},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ffixing-404s-on-refresh-in-nextjs-static-export","Fixing 404s on Refresh in Next.js Static Export",{"path":1676,"title":1677},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fgenerating-sitemaps-and-rss-in-nextjs-static-export","Generating Sitemaps and RSS in Next.js Static Export",{"path":1679,"title":1680},"\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":1682,"title":1683},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1685,"title":1686},"\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":1688,"title":1689},"\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":1691,"title":1692},"\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":1694,"title":1695},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-static-export-vs-gatsby-for-existing-react-sites","Next.js Static Export vs Gatsby for Existing React Sites",{"path":1697,"title":1698},"\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":1700,"title":1701},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ftrailing-slash-and-basepath-in-nextjs-static-export","Trailing Slash and basePath in Next.js Static Export",{"path":1703,"title":1704},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fusing-mdx-in-nextjs-static-export","Using MDX in Next.js Static Export",{"path":1706,"title":1707},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Faccessible-search-ui-for-static-sites","Accessible Search UI for Static Sites",{"path":1709,"title":1710},"\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":1712,"title":1713},"\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":1715,"title":1716},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":1718,"title":1719},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ffixing-missing-results-in-pagefind-indexes","Fixing Missing Results in Pagefind Indexes",{"path":1721,"title":1722},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1724,"title":1725},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1727,"title":1728},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1730,"title":1731},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1733,"title":1734},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-lunr-for-small-documentation-sites","Pagefind vs Lunr for Small Documentation Sites",{"path":1736,"title":1737},"\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":1739,"title":1740},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fself-hosting-typesense-for-a-static-site","Self-Hosting Typesense for a Static Site",{"path":1742,"title":1743},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":1745,"title":1746},"\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":1748,"title":1749},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fchoosing-an-ssg-for-a-marketing-site-with-non-technical-editors","Choosing an SSG for a Marketing Site with Non-Technical Editors",{"path":1751,"title":1752},"\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":1754,"title":1755},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1757,"title":1758},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fgatsby-vs-astro-for-content-sites-in-2026","Gatsby vs Astro for Content Sites in 2026",{"path":1760,"title":1761},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1763,"title":1764},"\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":1766,"title":1767},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fscoring-ssg-long-term-maintenance-risk","Scoring SSG Long-Term Maintenance Risk",{"path":1769,"title":1770},"\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":1772,"title":1773},"\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":1775,"title":1776},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fwhen-a-static-site-generator-is-the-wrong-choice","When a Static Site Generator Is the Wrong Choice",{"path":1778,"title":1779},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fadding-json-ld-structured-data-at-build-time","Adding JSON-LD Structured Data at Build Time",{"path":1781,"title":1782},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fcanonical-urls-and-duplicate-content-on-static-sites","Canonical URLs and Duplicate Content on Static Sites",{"path":1784,"title":1785},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-pages-crawled-but-not-indexed-on-static-sites","Fixing Pages Crawled but Not Indexed on Static Sites",{"path":1787,"title":1788},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-soft-404s-on-static-hosts","Fixing Soft 404s on Static Hosts",{"path":1790,"title":1791},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-breadcrumb-structured-data-in-astro","Generating Breadcrumb Structured Data in Astro",{"path":1793,"title":1794},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-sitemaps-for-large-static-sites","Generating Sitemaps for Large Static Sites",{"path":1796,"title":1797},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":1799,"title":1800},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frobots-txt-and-noindex-for-preview-and-staging","robots.txt and noindex for Preview and Staging",{"path":1802,"title":1803},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frss-and-atom-feeds-for-static-blogs","RSS and Atom Feeds for Static Blogs",{"path":1805,"title":1806},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fseo-safe-pagination-and-tag-pages","SEO-Safe Pagination and Tag Pages",{"path":1808,"title":1809},"\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":1811,"title":1812},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-for-static-sites-in-nginx","Cache-Control Headers for Static Sites in Nginx",{"path":1814,"title":1815},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-s3-and-cloudfront","Cache-Control Headers on S3 and CloudFront",{"path":1817,"title":1818},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-vercel-for-static-sites","Cache-Control Headers on Vercel for Static Sites",{"path":1820,"title":1821},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-keys-and-query-strings-on-cdns","Cache Keys and Query Strings on CDNs",{"path":1823,"title":1824},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcaching-404s-and-redirects-at-the-edge","Caching 404s and Redirects at the Edge",{"path":1826,"title":1827},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcloudflare-vs-cloudfront-cache-hit-ratios-for-static-sites","Cloudflare vs CloudFront Cache Hit Ratios for Static Sites",{"path":1829,"title":1830},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ffixing-stale-html-after-deploys-on-cloudflare","Fixing Stale HTML After Deploys on Cloudflare",{"path":1832,"title":1833},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1835,"title":1836},"\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":1838,"title":1839},"\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":1841,"title":1842},"\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":1844,"title":1845},"\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":1847,"title":1848},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":1850,"title":1851},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fcode-splitting-and-module-preload-in-vite-based-ssgs","Code Splitting and Module Preload in Vite-Based SSGs",{"path":1853,"title":1854},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-missing-tailwind-classes-in-production-builds","Fixing Missing Tailwind Classes in Production Builds",{"path":1856,"title":1857},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-unused-javascript-warnings-on-static-pages","Fixing Unused JavaScript Warnings on Static Pages",{"path":1859,"title":1860},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":1862,"title":1863},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites","Inlining Critical CSS on Static Sites",{"path":1865,"title":1866},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fkeeping-tailwind-css-output-small-on-static-sites","Keeping Tailwind CSS Output Small on Static Sites",{"path":1868,"title":1869},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fminifying-html-css-and-js-in-eleventy","Minifying HTML, CSS and JS in Eleventy",{"path":1871,"title":1872},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fprecompressing-assets-with-brotli-and-zstd","Precompressing Assets with Brotli and Zstd",{"path":1874,"title":1875},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fpurging-unused-css-with-tailwind-and-lightningcss","Purging Unused CSS with Tailwind and Lightning CSS",{"path":1877,"title":1878},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons","SVG Icon Sprites vs Inline Icons",{"path":1880,"title":1881},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ftailwind-v4-in-astro-without-postcss-plugins","Tailwind v4 in Astro Without PostCSS Plugins",{"path":1883,"title":1884},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fcls-from-client-side-rendered-components","CLS from Client-Side Rendered Components",{"path":1886,"title":1887},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fdebugging-cls-with-the-layout-instability-api","Debugging CLS with the Layout Instability API",{"path":1889,"title":1890},"\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":1892,"title":1893},"\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":1895,"title":1896},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-dynamic-table-of-contents-widgets","Fixing CLS From Dynamic Table of Contents Widgets",{"path":1898,"title":1899},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-images-without-dimensions-in-markdown","Fixing CLS From Images Without Dimensions in Markdown",{"path":1901,"title":1902},"\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":1904,"title":1905},"\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":1907,"title":1908},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1910,"title":1911},"\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":1913,"title":1914},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Freserving-space-for-ad-and-promo-slots","Reserving Space for Ad and Promo Slots",{"path":1916,"title":1917},"\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":1919,"title":1920},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":1922,"title":1923},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffixing-invisible-text-while-web-fonts-load","Fixing Invisible Text While Web Fonts Load",{"path":1925,"title":1926},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1928,"title":1929},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1931,"title":1932},"\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":1934,"title":1935},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1937,"title":1938},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fself-hosted-fonts-vs-google-fonts-for-static-sites","Self-Hosted Fonts vs Google Fonts for Static Sites",{"path":1940,"title":1941},"\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":1943,"title":1944},"\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":1946,"title":1947},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fusing-system-font-stacks-to-skip-webfonts","Using System Font Stacks to Skip Web Fonts",{"path":1949,"title":1950},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":1952,"title":1953},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fart-direction-with-the-picture-element","Art Direction with the Picture Element",{"path":1955,"title":1956},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":1958,"title":1959},"\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":1961,"title":1962},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":1964,"title":1965},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Ffixing-blurry-images-from-astro-assets-resizing","Fixing Blurry Images From astro:assets Resizing",{"path":1967,"title":1968},"\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":1970,"title":1971},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1973,"title":1974},"\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":1976,"title":1977},"\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":1979,"title":1980},"\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":1982,"title":1983},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-astro-images-through-cloudflare-image-resizing","Serving Astro Images Through Cloudflare Image Resizing",{"path":1985,"title":1986},"\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":1988,"title":1989},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1991,"title":1992},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":1994,"title":1995},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fbreaking-up-long-tasks-on-static-sites","Breaking Up Long Tasks on Static Sites",{"path":1997,"title":1998},"\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":2000,"title":2001},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-hydration-mismatch-errors-in-astro-islands","Fixing Hydration Mismatch Errors in Astro Islands",{"path":2003,"title":2004},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-poor-inp-on-static-pages-with-heavy-widgets","Fixing Poor INP on Static Pages With Heavy Widgets",{"path":2006,"title":2007},"\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":2009,"title":2010},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2012,"title":2013},"\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":2015,"title":2016},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2018,"title":2019},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2021,"title":2022},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2024,"title":2025},"\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":2027,"title":2028},"\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":2030,"title":2031},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-regressions-caused-by-cookie-consent-tools","Fixing LCP Regressions Caused by Cookie Consent Tools",{"path":2033,"title":2034},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-when-the-hero-is-a-background-image","Fixing LCP When the Hero Is a Background Image",{"path":2036,"title":2037},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-slow-lcp-on-pages-with-embedded-video","Fixing Slow LCP on Pages With Embedded Video",{"path":2039,"title":2040},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Fimproving-ttfb-for-static-html","Improving TTFB for Static HTML",{"path":2042,"title":2043},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2045,"title":2046},"\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":2048,"title":2049},"\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":2051,"title":2052},"\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":2054,"title":2055},"\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":2057,"title":2058},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2060,"title":2061},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Flighthouse-ci-vs-webpagetest-for-regression-gates","Lighthouse CI vs WebPageTest for Regression Gates",{"path":2063,"title":2064},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fmeasuring-web-vitals-in-playwright-tests","Measuring Web Vitals in Playwright Tests",{"path":2066,"title":2067},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2069,"title":2070},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fperformance-testing-on-throttled-mobile-profiles","Performance Testing on Throttled Mobile Profiles",{"path":2072,"title":2073},"\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":2075,"title":2076},"\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":2078,"title":2079},"\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":2081,"title":2082},"\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":2084,"title":2085},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2087,"title":2088},"\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":2090,"title":2091},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2093,"title":2094},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2096,"title":2097},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2099,"title":2100},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffixing-wasted-preloads-flagged-by-chrome","Fixing Wasted Preloads Flagged by Chrome",{"path":2102,"title":2103},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2105,"title":2106},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2108,"title":2109},"\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":2111,"title":2112},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2114,"title":2115},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-in-astro-without-hurting-vitals","View Transitions in Astro Without Hurting Vitals",{"path":2117,"title":2118},"\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":2120,"title":2121},"\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":2123,"title":2124},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffacades-for-chat-widgets-and-maps","Facades for Chat Widgets and Maps",{"path":2126,"title":2127},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffixing-main-thread-blocking-from-chat-widgets","Fixing Main-Thread Blocking From Chat Widgets",{"path":2129,"title":2130},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2132,"title":2133},"\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":2135,"title":2136},"\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":2138,"title":2139},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking","Measuring Third-Party Cost with Request Blocking",{"path":2141,"title":2142},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fprivacy-friendly-analytics-compared-by-page-weight","Privacy-Friendly Analytics Compared by Page Weight",{"path":2144,"title":2145},"\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":2147,"title":1359},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fself-hosting-analytics-to-cut-third-party-requests",{"path":2149,"title":2150},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2152,"title":2153},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2155,"title":2156},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2158,"title":2159},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2161,"title":2162},"\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":2164,"title":2165},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-astro-to-cloudflare-workers-static-assets","Deploying Astro to Cloudflare Workers Static Assets",{"path":2167,"title":2168},"\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":2170,"title":2171},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-to-cloudflare-from-github-actions-with-wrangler","Deploying to Cloudflare From GitHub Actions With Wrangler",{"path":2173,"title":2174},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2176,"title":2177},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2179,"title":2180},"\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":2182,"title":2183},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2185,"title":2186},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2188,"title":2189},"\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":2191,"title":2192},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2194,"title":2195},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fgit-based-cms-options-for-static-sites-compared","Git-Based CMS Options for Static Sites Compared",{"path":2197,"title":2198},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2200,"title":2201},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fmanaging-images-in-docs-as-code-repos","Managing Images in Docs-as-Code Repos",{"path":2203,"title":2204},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2206,"title":2207},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2209,"title":2210},"\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":2212,"title":2213},"\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":2215,"title":2216},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2218,"title":2219},"\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":2221,"title":2222},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2224,"title":2225},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2227,"title":2228},"\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":2230,"title":2231},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Ffixing-flaky-static-site-builds-in-github-actions","Fixing Flaky Static Site Builds in GitHub Actions",{"path":2233,"title":2234},"\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":2236,"title":2237},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2239,"title":2240},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2242,"title":2243},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2245,"title":2246},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpublishing-any-generator-to-github-pages-with-actions","Publishing Any Generator to GitHub Pages With Actions",{"path":2248,"title":2249},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2251,"title":2252},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fbuild-caching-on-netlify-and-vercel","Build Caching on Netlify and Vercel",{"path":2254,"title":2255},"\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":2257,"title":2258},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2260,"title":2261},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2263,"title":2264},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Ffixing-stale-pages-from-incremental-builds","Fixing Stale Pages From Incremental Builds",{"path":2266,"title":2267},"\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":2269,"title":2270},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-rebuild-times-across-astro-eleventy-and-hugo","Incremental Rebuild Times Across Astro, Eleventy and Hugo",{"path":2272,"title":2273},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2275,"title":2276},"\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":2278,"title":2279},"\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":2281,"title":2282},"\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":2284,"title":1388},"\u002Fproduction-ready-deployment-cicd-workflows",{"path":2286,"title":2287},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2289,"title":2290},"\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":2292,"title":2293},"\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":2295,"title":2296},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ffinding-the-cause-of-a-sudden-field-lcp-drop","Finding the Cause of a Sudden Field LCP Drop",{"path":2298,"title":2299},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2301,"title":2302},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2304,"title":2305},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2307,"title":2308},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Freal-user-error-tracking-on-static-sites","Real-User Error Tracking on Static Sites",{"path":2310,"title":2311},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2313,"title":2314},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2316,"title":2317},"\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":2319,"title":2320},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fbandwidth-pricing-for-static-sites-across-netlify-vercel-and-cloudflare","Static Site Bandwidth Pricing: Netlify, Vercel, Cloudflare",{"path":2322,"title":2323},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-redirects-on-vercel-for-static-sites","Configuring Redirects on Vercel for Static Sites",{"path":2325,"title":2326},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2328,"title":2329},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fdeploying-astro-to-vercel-as-a-fully-static-site","Deploying Astro to Vercel as a Fully Static Site",{"path":2331,"title":2332},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-netlify-builds-that-exceed-the-time-limit","Fixing Netlify Builds That Exceed the Time Limit",{"path":2334,"title":2335},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-vercel-builds-that-run-out-of-memory","Fixing Vercel Builds That Run Out of Memory",{"path":2337,"title":2338},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2340,"title":2341},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2343,"title":2344},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2346,"title":2347},"\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":2349,"title":2350},"\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":2352,"title":2353},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs","Vercel Build Output API for Custom SSGs",{"path":2355,"title":2356},"\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":2358,"title":2359},"\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":2361,"title":2362},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2364,"title":2365},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2367,"title":2368},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Ffixing-preview-deploys-leaking-into-search-results","Fixing Preview Deploys Leaking Into Search Results",{"path":2370,"title":2371},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2373,"title":2374},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2376,"title":2377},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2379,"title":2380},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2382,"title":2383},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpull-request-previews-for-github-pages-sites","Pull Request Previews for GitHub Pages Sites",{"path":2385,"title":2386},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2388,"title":2389},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2391,"title":2392},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites","Blue-Green Deploys for Static Sites",{"path":2394,"title":2395},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2397,"title":2398},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2400,"title":2401},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2403,"title":2404},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fkeeping-old-assets-alive-after-deploy","Keeping Old Assets Alive After Deploy",{"path":2406,"title":2407},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2409,"title":2410},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets","Recovering From a Deploy That Deleted Live Assets",{"path":2412,"title":2413},"\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":2415,"title":2416},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-netlify-deploys-from-the-cli-and-api","Rolling Back Netlify Deploys From the CLI and API",{"path":2418,"title":2419},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes","Rolling Back S3 and CloudFront Deploys With Versioned Prefixes",{"path":2421,"title":2422},"\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":2424,"title":2425},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2427,"title":2428},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1403,"title":5},{"path":2431,"title":2432},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-mixed-content-warnings-after-moving-to-https","Fixing Mixed Content Warnings After Moving to HTTPS",{"path":2434,"title":46},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fhash-based-csp-for-inline-scripts-in-astro",{"path":2436,"title":36},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites",{"path":2438,"title":2439},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2441,"title":2442},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2444,"title":2445},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-for-static-sites-served-by-caddy","Security Headers for Static Sites Served by Caddy",{"path":2447,"title":2448},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-on-vercel-for-static-sites","Security Headers on Vercel for Static Sites",{"path":2450,"title":2451},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-txt-and-disclosure-for-static-sites","security.txt and Disclosure for Static Sites",{"path":2453,"title":1352},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets",{"path":2455,"title":41},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fwriting-a-content-security-policy-for-a-static-site",{"path":2457,"title":2458},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2460,"title":2461},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2463,"title":2464},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2466,"title":2467},"\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":2469,"title":2470},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2472,"title":2473},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2475,"title":2476},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2478,"title":2479},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-from-a-docker-container-with-nginx","Serving a Static Site From a Docker Container With Nginx",{"path":2481,"title":2482},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy-and-automatic-https","Serving a Static Site With Caddy and Automatic HTTPS",{"path":2484,"title":2485},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2487,"title":2488},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2490,"title":2491},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2493,"title":2494},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2496,"title":2497},"\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":2499,"title":2500},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Ffixing-cold-starts-in-netlify-functions-for-forms","Fixing Cold Starts in Netlify Functions for Forms",{"path":2502,"title":2503},"\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":2505,"title":2506},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2508,"title":2509},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2511,"title":2512},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2514,"title":2515},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2517,"title":2518},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fproxying-third-party-apis-from-an-edge-function","Proxying Third-Party APIs from an Edge Function",{"path":2520,"title":2521},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2523,"title":2524},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci","Accessibility Testing with axe and pa11y in CI",{"path":2526,"title":2527},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright","End-to-End Tests for Static Sites with Playwright",{"path":2529,"title":2530},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ffixing-flaky-playwright-tests-against-preview-deploys","Fixing Flaky Playwright Tests Against Preview Deploys",{"path":2532,"title":2533},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2535,"title":2536},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2538,"title":2539},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2541,"title":2542},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-search-and-navigation-flows-with-playwright","Testing Search and Navigation Flows With Playwright",{"path":2544,"title":2545},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2547,"title":2548},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2550,"tools":2553},{"label":831,"plural":2551,"u":2552},"Fixes","\u002Fguides\u002Ffixes\u002F",[],1790943192181]