[{"data":1,"prerenderedAt":3301},["ShallowReactive",2],{"page:\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright":3,"all-docs-nav":2153,"filed:\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright":3292},{"id":4,"title":5,"body":6,"breadcrumb":2130,"dateModified":2139,"datePublished":2139,"description":2140,"extension":2141,"faq":2142,"meta":2147,"navigation":101,"path":2148,"seo":2149,"slug":12,"stem":2150,"type":2151,"__hash__":2152},"content\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright\u002Findex.md","End-to-End Tests for Static Sites with Playwright",{"type":7,"value":8,"toc":2111},"minimark",[9,13,17,26,31,53,57,363,382,386,389,396,657,663,840,846,1005,1166,1170,1177,1428,1435,1439,1442,1653,1660,1798,1802,1813,1820,1892,1896,1899,1903,1977,1980,1984,2024,2028,2031,2035,2040,2043,2047,2050,2054,2057,2061,2064,2068,2107],[10,11,5],"h1",{"id":12},"end-to-end-tests-for-static-sites-with-playwright",[14,15,16],"p",{},"Most of a static site cannot break at runtime: it is HTML and CSS that either built correctly or did not. The few parts that can break are the ones readers use most — search, the theme toggle, the mobile menu, copy buttons on code samples, the language switcher, a contact form backed by an edge function. They depend on JavaScript, on a search index generated at build time, and sometimes on a serverless function, and they fail in ways that build checks cannot see: a search index that loads from the wrong path, a menu button that no longer toggles after a component refactor, a form that posts to a function that was renamed.",[14,18,19,20,25],{},"This guide writes a compact Playwright suite for those flows and runs it against every preview deploy. It is part of ",[21,22,24],"a",{"href":23},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002F","Testing Static Sites in CI",". The examples come from a 410-page Astro site with Pagefind search, a theme toggle, a mobile menu and a Cloudflare Worker contact form, and a 2,300-page Hugo docs site with a language switcher.",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,43,50],"ul",{},[35,36,37,38,42],"li",{},"Preview deploys per pull request with the URL available to CI, as in ",[21,39,41],{"href":40},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fautomating-preview-deploy-pipelines-with-github-actions\u002F","Automating Preview Deploy Pipelines with GitHub Actions",".",[35,44,45,49],{},[46,47,48],"code",{},"@playwright\u002Ftest"," 1.48 or newer.",[35,51,52],{},"A short list of the flows that matter, ideally informed by analytics on which features are used.",[27,54,56],{"id":55},"step-1-configure-playwright-for-a-remote-base-url","Step 1: Configure Playwright for a Remote Base URL",[58,59,64],"pre",{"className":60,"code":61,"language":62,"meta":63,"style":63},"language-ts shiki shiki-themes github-light github-dark","\u002F\u002F playwright.config.ts\nimport { defineConfig, devices } from '@playwright\u002Ftest';\n\nexport default defineConfig({\n  testDir: 'tests\u002Fe2e',\n  timeout: 20_000,\n  retries: process.env.CI ? 2 : 0,\n  reporter: [['list'], ['html', { open: 'never' }]],\n  use: {\n    baseURL: process.env.BASE_URL ?? 'http:\u002F\u002Flocalhost:4321',\n    trace: 'on-first-retry',\n    extraHTTPHeaders: process.env.PREVIEW_AUTH ? { Authorization: `Basic ${process.env.PREVIEW_AUTH}` } : {}\n  },\n  projects: [\n    { name: 'desktop-chromium', use: { ...devices['Desktop Chrome'] } },\n    { name: 'mobile-webkit', use: { ...devices['iPhone 14'] } }\n  ],\n  webServer: process.env.BASE_URL ? undefined : { command: 'npx serve dist -l 4321', port: 4321 }\n});\n","ts","",[46,65,66,75,96,103,119,131,143,166,190,196,213,224,265,271,277,301,321,327,357],{"__ignoreMap":63},[67,68,71],"span",{"class":69,"line":70},"line",1,[67,72,74],{"class":73},"sJ8bj","\u002F\u002F playwright.config.ts\n",[67,76,78,82,86,89,93],{"class":69,"line":77},2,[67,79,81],{"class":80},"szBVR","import",[67,83,85],{"class":84},"sVt8B"," { defineConfig, devices } ",[67,87,88],{"class":80},"from",[67,90,92],{"class":91},"sZZnC"," '@playwright\u002Ftest'",[67,94,95],{"class":84},";\n",[67,97,99],{"class":69,"line":98},3,[67,100,102],{"emptyLinePlaceholder":101},true,"\n",[67,104,106,109,112,116],{"class":69,"line":105},4,[67,107,108],{"class":80},"export",[67,110,111],{"class":80}," default",[67,113,115],{"class":114},"sScJk"," defineConfig",[67,117,118],{"class":84},"({\n",[67,120,122,125,128],{"class":69,"line":121},5,[67,123,124],{"class":84},"  testDir: ",[67,126,127],{"class":91},"'tests\u002Fe2e'",[67,129,130],{"class":84},",\n",[67,132,134,137,141],{"class":69,"line":133},6,[67,135,136],{"class":84},"  timeout: ",[67,138,140],{"class":139},"sj4cs","20_000",[67,142,130],{"class":84},[67,144,146,149,152,155,158,161,164],{"class":69,"line":145},7,[67,147,148],{"class":84},"  retries: process.env.",[67,150,151],{"class":139},"CI",[67,153,154],{"class":80}," ?",[67,156,157],{"class":139}," 2",[67,159,160],{"class":80}," :",[67,162,163],{"class":139}," 0",[67,165,130],{"class":84},[67,167,169,172,175,178,181,184,187],{"class":69,"line":168},8,[67,170,171],{"class":84},"  reporter: [[",[67,173,174],{"class":91},"'list'",[67,176,177],{"class":84},"], [",[67,179,180],{"class":91},"'html'",[67,182,183],{"class":84},", { open: ",[67,185,186],{"class":91},"'never'",[67,188,189],{"class":84}," }]],\n",[67,191,193],{"class":69,"line":192},9,[67,194,195],{"class":84},"  use: {\n",[67,197,199,202,205,208,211],{"class":69,"line":198},10,[67,200,201],{"class":84},"    baseURL: process.env.",[67,203,204],{"class":139},"BASE_URL",[67,206,207],{"class":80}," ??",[67,209,210],{"class":91}," 'http:\u002F\u002Flocalhost:4321'",[67,212,130],{"class":84},[67,214,216,219,222],{"class":69,"line":215},11,[67,217,218],{"class":84},"    trace: ",[67,220,221],{"class":91},"'on-first-retry'",[67,223,130],{"class":84},[67,225,227,230,233,235,238,241,244,246,249,251,253,256,259,262],{"class":69,"line":226},12,[67,228,229],{"class":84},"    extraHTTPHeaders: process.env.",[67,231,232],{"class":139},"PREVIEW_AUTH",[67,234,154],{"class":80},[67,236,237],{"class":84}," { Authorization: ",[67,239,240],{"class":91},"`Basic ${",[67,242,243],{"class":84},"process",[67,245,42],{"class":91},[67,247,248],{"class":84},"env",[67,250,42],{"class":91},[67,252,232],{"class":139},[67,254,255],{"class":91},"}`",[67,257,258],{"class":84}," } ",[67,260,261],{"class":80},":",[67,263,264],{"class":84}," {}\n",[67,266,268],{"class":69,"line":267},13,[67,269,270],{"class":84},"  },\n",[67,272,274],{"class":69,"line":273},14,[67,275,276],{"class":84},"  projects: [\n",[67,278,280,283,286,289,292,295,298],{"class":69,"line":279},15,[67,281,282],{"class":84},"    { name: ",[67,284,285],{"class":91},"'desktop-chromium'",[67,287,288],{"class":84},", use: { ",[67,290,291],{"class":80},"...",[67,293,294],{"class":84},"devices[",[67,296,297],{"class":91},"'Desktop Chrome'",[67,299,300],{"class":84},"] } },\n",[67,302,304,306,309,311,313,315,318],{"class":69,"line":303},16,[67,305,282],{"class":84},[67,307,308],{"class":91},"'mobile-webkit'",[67,310,288],{"class":84},[67,312,291],{"class":80},[67,314,294],{"class":84},[67,316,317],{"class":91},"'iPhone 14'",[67,319,320],{"class":84},"] } }\n",[67,322,324],{"class":69,"line":323},17,[67,325,326],{"class":84},"  ],\n",[67,328,330,333,335,337,340,342,345,348,351,354],{"class":69,"line":329},18,[67,331,332],{"class":84},"  webServer: process.env.",[67,334,204],{"class":139},[67,336,154],{"class":80},[67,338,339],{"class":139}," undefined",[67,341,160],{"class":80},[67,343,344],{"class":84}," { command: ",[67,346,347],{"class":91},"'npx serve dist -l 4321'",[67,349,350],{"class":84},", port: ",[67,352,353],{"class":139},"4321",[67,355,356],{"class":84}," }\n",[67,358,360],{"class":69,"line":359},19,[67,361,362],{"class":84},"});\n",[14,364,365,366,368,369,372,373,377,378,381],{},"When ",[46,367,204],{}," is set, tests run against the preview; locally, Playwright serves the build directory itself. ",[46,370,371],{},"extraHTTPHeaders"," passes basic-auth credentials for previews protected as in ",[21,374,376],{"href":375},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments\u002F","Password-Protecting Preview Deployments",". ",[46,379,380],{},"trace: 'on-first-retry'"," records a full trace — DOM snapshots, network, console — only when a test fails once, which makes failures diagnosable without slowing every run.",[27,383,385],{"id":384},"step-2-test-the-flows-readers-use","Step 2: Test the Flows Readers Use",[14,387,388],{},"Write one test per flow, locate elements by role and accessible name, and assert on outcomes rather than implementation.",[14,390,391,395],{},[392,393,394],"strong",{},"Search"," — the index loads, results appear, a result navigates:",[58,397,399],{"className":60,"code":398,"language":62,"meta":63,"style":63},"test('search finds a guide and navigates to it', async ({ page }) => {\n  await page.goto('\u002F');\n  await page.getByRole('button', { name: 'Search' }).click();\n  const dialog = page.getByRole('dialog', { name: 'Search' });\n  await dialog.getByRole('searchbox').fill('cache headers');\n  const first = dialog.getByRole('link').first();\n  await expect(first).toContainText(\u002Fcache\u002Fi);\n  await first.click();\n  await expect(page).toHaveURL(\u002Fcache\u002F);\n  await expect(page.getByRole('heading', { level: 1 })).toBeVisible();\n});\n",[46,400,401,434,453,482,509,536,561,590,601,623,653],{"__ignoreMap":63},[67,402,403,406,409,412,415,418,421,425,428,431],{"class":69,"line":70},[67,404,405],{"class":114},"test",[67,407,408],{"class":84},"(",[67,410,411],{"class":91},"'search finds a guide and navigates to it'",[67,413,414],{"class":84},", ",[67,416,417],{"class":80},"async",[67,419,420],{"class":84}," ({ ",[67,422,424],{"class":423},"s4XuR","page",[67,426,427],{"class":84}," }) ",[67,429,430],{"class":80},"=>",[67,432,433],{"class":84}," {\n",[67,435,436,439,442,445,447,450],{"class":69,"line":77},[67,437,438],{"class":80},"  await",[67,440,441],{"class":84}," page.",[67,443,444],{"class":114},"goto",[67,446,408],{"class":84},[67,448,449],{"class":91},"'\u002F'",[67,451,452],{"class":84},");\n",[67,454,455,457,459,462,464,467,470,473,476,479],{"class":69,"line":98},[67,456,438],{"class":80},[67,458,441],{"class":84},[67,460,461],{"class":114},"getByRole",[67,463,408],{"class":84},[67,465,466],{"class":91},"'button'",[67,468,469],{"class":84},", { name: ",[67,471,472],{"class":91},"'Search'",[67,474,475],{"class":84}," }).",[67,477,478],{"class":114},"click",[67,480,481],{"class":84},"();\n",[67,483,484,487,490,493,495,497,499,502,504,506],{"class":69,"line":105},[67,485,486],{"class":80},"  const",[67,488,489],{"class":139}," dialog",[67,491,492],{"class":80}," =",[67,494,441],{"class":84},[67,496,461],{"class":114},[67,498,408],{"class":84},[67,500,501],{"class":91},"'dialog'",[67,503,469],{"class":84},[67,505,472],{"class":91},[67,507,508],{"class":84}," });\n",[67,510,511,513,516,518,520,523,526,529,531,534],{"class":69,"line":121},[67,512,438],{"class":80},[67,514,515],{"class":84}," dialog.",[67,517,461],{"class":114},[67,519,408],{"class":84},[67,521,522],{"class":91},"'searchbox'",[67,524,525],{"class":84},").",[67,527,528],{"class":114},"fill",[67,530,408],{"class":84},[67,532,533],{"class":91},"'cache headers'",[67,535,452],{"class":84},[67,537,538,540,543,545,547,549,551,554,556,559],{"class":69,"line":133},[67,539,486],{"class":80},[67,541,542],{"class":139}," first",[67,544,492],{"class":80},[67,546,515],{"class":84},[67,548,461],{"class":114},[67,550,408],{"class":84},[67,552,553],{"class":91},"'link'",[67,555,525],{"class":84},[67,557,558],{"class":114},"first",[67,560,481],{"class":84},[67,562,563,565,568,571,574,576,579,583,585,588],{"class":69,"line":145},[67,564,438],{"class":80},[67,566,567],{"class":114}," expect",[67,569,570],{"class":84},"(first).",[67,572,573],{"class":114},"toContainText",[67,575,408],{"class":84},[67,577,578],{"class":91},"\u002F",[67,580,582],{"class":581},"sA_wV","cache",[67,584,578],{"class":91},[67,586,587],{"class":80},"i",[67,589,452],{"class":84},[67,591,592,594,597,599],{"class":69,"line":168},[67,593,438],{"class":80},[67,595,596],{"class":84}," first.",[67,598,478],{"class":114},[67,600,481],{"class":84},[67,602,603,605,607,610,613,615,617,619,621],{"class":69,"line":192},[67,604,438],{"class":80},[67,606,567],{"class":114},[67,608,609],{"class":84},"(page).",[67,611,612],{"class":114},"toHaveURL",[67,614,408],{"class":84},[67,616,578],{"class":91},[67,618,582],{"class":581},[67,620,578],{"class":91},[67,622,452],{"class":84},[67,624,625,627,629,632,634,636,639,642,645,648,651],{"class":69,"line":198},[67,626,438],{"class":80},[67,628,567],{"class":114},[67,630,631],{"class":84},"(page.",[67,633,461],{"class":114},[67,635,408],{"class":84},[67,637,638],{"class":91},"'heading'",[67,640,641],{"class":84},", { level: ",[67,643,644],{"class":139},"1",[67,646,647],{"class":84}," })).",[67,649,650],{"class":114},"toBeVisible",[67,652,481],{"class":84},[67,654,655],{"class":69,"line":215},[67,656,362],{"class":84},[14,658,659,662],{},[392,660,661],{},"Theme toggle"," — switches, persists across navigation and reload:",[58,664,666],{"className":60,"code":665,"language":62,"meta":63,"style":63},"test('theme choice persists', async ({ page }) => {\n  await page.emulateMedia({ colorScheme: 'light' });\n  await page.goto('\u002Fguide\u002F');\n  await page.getByRole('button', { name: \u002Fdark|theme\u002Fi }).click();\n  await expect(page.locator('html')).toHaveAttribute('data-theme', 'dark');\n  await page.goto('\u002Fguide\u002Finstall\u002F');\n  await expect(page.locator('html')).toHaveAttribute('data-theme', 'dark');\n});\n",[46,667,668,691,708,723,760,793,808,836],{"__ignoreMap":63},[67,669,670,672,674,677,679,681,683,685,687,689],{"class":69,"line":70},[67,671,405],{"class":114},[67,673,408],{"class":84},[67,675,676],{"class":91},"'theme choice persists'",[67,678,414],{"class":84},[67,680,417],{"class":80},[67,682,420],{"class":84},[67,684,424],{"class":423},[67,686,427],{"class":84},[67,688,430],{"class":80},[67,690,433],{"class":84},[67,692,693,695,697,700,703,706],{"class":69,"line":77},[67,694,438],{"class":80},[67,696,441],{"class":84},[67,698,699],{"class":114},"emulateMedia",[67,701,702],{"class":84},"({ colorScheme: ",[67,704,705],{"class":91},"'light'",[67,707,508],{"class":84},[67,709,710,712,714,716,718,721],{"class":69,"line":98},[67,711,438],{"class":80},[67,713,441],{"class":84},[67,715,444],{"class":114},[67,717,408],{"class":84},[67,719,720],{"class":91},"'\u002Fguide\u002F'",[67,722,452],{"class":84},[67,724,725,727,729,731,733,735,738,741,744,747,750,752,754,756,758],{"class":69,"line":105},[67,726,438],{"class":80},[67,728,441],{"class":84},[67,730,461],{"class":114},[67,732,408],{"class":84},[67,734,466],{"class":91},[67,736,737],{"class":84},", { name:",[67,739,740],{"class":91}," \u002F",[67,742,743],{"class":581},"dark",[67,745,746],{"class":80},"|",[67,748,749],{"class":581},"theme",[67,751,578],{"class":91},[67,753,587],{"class":80},[67,755,475],{"class":84},[67,757,478],{"class":114},[67,759,481],{"class":84},[67,761,762,764,766,768,771,773,775,778,781,783,786,788,791],{"class":69,"line":121},[67,763,438],{"class":80},[67,765,567],{"class":114},[67,767,631],{"class":84},[67,769,770],{"class":114},"locator",[67,772,408],{"class":84},[67,774,180],{"class":91},[67,776,777],{"class":84},")).",[67,779,780],{"class":114},"toHaveAttribute",[67,782,408],{"class":84},[67,784,785],{"class":91},"'data-theme'",[67,787,414],{"class":84},[67,789,790],{"class":91},"'dark'",[67,792,452],{"class":84},[67,794,795,797,799,801,803,806],{"class":69,"line":133},[67,796,438],{"class":80},[67,798,441],{"class":84},[67,800,444],{"class":114},[67,802,408],{"class":84},[67,804,805],{"class":91},"'\u002Fguide\u002Finstall\u002F'",[67,807,452],{"class":84},[67,809,810,812,814,816,818,820,822,824,826,828,830,832,834],{"class":69,"line":145},[67,811,438],{"class":80},[67,813,567],{"class":114},[67,815,631],{"class":84},[67,817,770],{"class":114},[67,819,408],{"class":84},[67,821,180],{"class":91},[67,823,777],{"class":84},[67,825,780],{"class":114},[67,827,408],{"class":84},[67,829,785],{"class":91},[67,831,414],{"class":84},[67,833,790],{"class":91},[67,835,452],{"class":84},[67,837,838],{"class":69,"line":168},[67,839,362],{"class":84},[14,841,842,845],{},[392,843,844],{},"Mobile menu"," — opens, moves focus, closes with Escape and returns focus:",[58,847,849],{"className":60,"code":848,"language":62,"meta":63,"style":63},"test('mobile menu is keyboard operable', async ({ page, isMobile }) => {\n  test.skip(!isMobile);\n  await page.goto('\u002F');\n  const button = page.getByRole('button', { name: 'Menu' });\n  await button.click();\n  await expect(page.getByRole('navigation', { name: 'Primary' })).toBeVisible();\n  await page.keyboard.press('Escape');\n  await expect(button).toBeFocused();\n});\n",[46,850,851,879,895,909,933,944,970,987,1001],{"__ignoreMap":63},[67,852,853,855,857,860,862,864,866,868,870,873,875,877],{"class":69,"line":70},[67,854,405],{"class":114},[67,856,408],{"class":84},[67,858,859],{"class":91},"'mobile menu is keyboard operable'",[67,861,414],{"class":84},[67,863,417],{"class":80},[67,865,420],{"class":84},[67,867,424],{"class":423},[67,869,414],{"class":84},[67,871,872],{"class":423},"isMobile",[67,874,427],{"class":84},[67,876,430],{"class":80},[67,878,433],{"class":84},[67,880,881,884,887,889,892],{"class":69,"line":77},[67,882,883],{"class":84},"  test.",[67,885,886],{"class":114},"skip",[67,888,408],{"class":84},[67,890,891],{"class":80},"!",[67,893,894],{"class":84},"isMobile);\n",[67,896,897,899,901,903,905,907],{"class":69,"line":98},[67,898,438],{"class":80},[67,900,441],{"class":84},[67,902,444],{"class":114},[67,904,408],{"class":84},[67,906,449],{"class":91},[67,908,452],{"class":84},[67,910,911,913,916,918,920,922,924,926,928,931],{"class":69,"line":105},[67,912,486],{"class":80},[67,914,915],{"class":139}," button",[67,917,492],{"class":80},[67,919,441],{"class":84},[67,921,461],{"class":114},[67,923,408],{"class":84},[67,925,466],{"class":91},[67,927,469],{"class":84},[67,929,930],{"class":91},"'Menu'",[67,932,508],{"class":84},[67,934,935,937,940,942],{"class":69,"line":121},[67,936,438],{"class":80},[67,938,939],{"class":84}," button.",[67,941,478],{"class":114},[67,943,481],{"class":84},[67,945,946,948,950,952,954,956,959,961,964,966,968],{"class":69,"line":133},[67,947,438],{"class":80},[67,949,567],{"class":114},[67,951,631],{"class":84},[67,953,461],{"class":114},[67,955,408],{"class":84},[67,957,958],{"class":91},"'navigation'",[67,960,469],{"class":84},[67,962,963],{"class":91},"'Primary'",[67,965,647],{"class":84},[67,967,650],{"class":114},[67,969,481],{"class":84},[67,971,972,974,977,980,982,985],{"class":69,"line":145},[67,973,438],{"class":80},[67,975,976],{"class":84}," page.keyboard.",[67,978,979],{"class":114},"press",[67,981,408],{"class":84},[67,983,984],{"class":91},"'Escape'",[67,986,452],{"class":84},[67,988,989,991,993,996,999],{"class":69,"line":168},[67,990,438],{"class":80},[67,992,567],{"class":114},[67,994,995],{"class":84},"(button).",[67,997,998],{"class":114},"toBeFocused",[67,1000,481],{"class":84},[67,1002,1003],{"class":69,"line":192},[67,1004,362],{"class":84},[1006,1007,1008,1162],"figure",{},[1009,1010,1017,1018,1017,1022,1017,1026,1017,1033],"svg",{"viewBox":1011,"role":1012,"ariaLabelledBy":1013,"xmlns":1016},"0 0 760 270","img",[1014,1015],"e2e-flows-title","e2e-flows-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[1019,1020,1021],"title",{"id":1014},"End-to-end flows and the failures they catch",[1023,1024,1025],"desc",{"id":1015},"A matrix of five flows. Search protects against a missing or misplaced index and broken result links. Theme toggle protects against lost persistence and a flash of the wrong theme. Mobile menu protects against broken toggling and focus traps. Copy button protects against clipboard permission changes. Contact form protects against a renamed or failing edge function.",[1027,1028],"rect",{"x":1029,"y":1029,"width":1030,"height":1031,"fill":1032},"0","760","270","#ffffff",[1034,1035,1037,1038,1037,1045,1037,1055,1037,1059,1037,1062,1037,1065,1037,1071,1037,1074,1037,1077,1037,1080,1037,1086,1037,1089,1037,1097,1037,1102,1037,1107,1037,1111,1037,1114,1037,1119,1037,1122,1037,1125,1037,1129,1037,1131,1037,1134,1037,1138,1037,1141,1037,1145,1037,1149,1037,1151,1037,1155,1037,1159,1017],"g",{"style":1036},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[1039,1040],"path",{"d":1041,"fill":1042,"stroke":1043,"style":1044},"M20.0 86.0 L740.0 86.0","none","#556071","stroke-width:1.5px",[1027,1046],{"x":1047,"y":1048,"width":1049,"height":1050,"rx":1051,"fill":1052,"opacity":1053,"stroke":1052,"style":1054},"479.0","90.0","257.0","25.6","5","#1982c4","0.14","stroke-width:1px",[1039,1056],{"d":1057,"fill":1042,"stroke":1058,"style":1054},"M20.0 119.6 L740.0 119.6","#d9e2ef",[1027,1060],{"x":1047,"y":1061,"width":1049,"height":1050,"rx":1051,"fill":1052,"opacity":1053,"stroke":1052,"style":1054},"123.6",[1039,1063],{"d":1064,"fill":1042,"stroke":1058,"style":1054},"M20.0 153.2 L740.0 153.2",[1027,1066],{"x":1047,"y":1067,"width":1049,"height":1050,"rx":1051,"fill":1068,"opacity":1069,"stroke":1070,"style":1054},"157.2","#ffca3a","0.24","#a97b00",[1039,1072],{"d":1073,"fill":1042,"stroke":1058,"style":1054},"M20.0 186.8 L740.0 186.8",[1027,1075],{"x":1047,"y":1076,"width":1049,"height":1050,"rx":1051,"fill":1052,"opacity":1053,"stroke":1052,"style":1054},"190.8",[1039,1078],{"d":1079,"fill":1042,"stroke":1058,"style":1054},"M20.0 220.4 L740.0 220.4",[1027,1081],{"x":1047,"y":1082,"width":1049,"height":1050,"rx":1051,"fill":1083,"opacity":1084,"stroke":1085,"style":1054},"224.4","#8ac926","0.2","#5a8a16",[1039,1087],{"d":1088,"fill":1042,"stroke":1058,"style":1054},"M20.0 254.0 L740.0 254.0",[1090,1091,1096],"text",{"x":1092,"y":1093,"fill":1094,"style":1095},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","Flows under test and what each assertion protects",[1090,1098,1101],{"x":1093,"y":1099,"fill":1094,"style":1100},"75.2","font-size:12px;text-anchor:start;font-weight:700","Flow",[1090,1103,1106],{"x":1104,"y":1099,"fill":1094,"style":1105},"342.5","font-size:12px;text-anchor:middle;font-weight:700","Catches",[1090,1108,1110],{"x":1109,"y":1099,"fill":1094,"style":1105},"607.5","Browsers",[1090,1112,394],{"x":1093,"y":1113,"fill":1094,"style":1100},"106.4",[1090,1115,1118],{"x":1104,"y":1116,"fill":1094,"style":1117},"106.2","font-size:11.5px;text-anchor:middle","index path, result links",[1090,1120,1121],{"x":1109,"y":1116,"fill":1094,"style":1117},"Chromium + WebKit",[1090,1123,661],{"x":1093,"y":1124,"fill":1094,"style":1100},"140.0",[1090,1126,1128],{"x":1104,"y":1127,"fill":1094,"style":1117},"139.8","persistence, attribute",[1090,1130,1121],{"x":1109,"y":1127,"fill":1094,"style":1117},[1090,1132,844],{"x":1093,"y":1133,"fill":1094,"style":1100},"173.6",[1090,1135,1137],{"x":1104,"y":1136,"fill":1094,"style":1117},"173.4","toggle, focus return",[1090,1139,1140],{"x":1109,"y":1136,"fill":1094,"style":1117},"WebKit mobile only",[1090,1142,1144],{"x":1093,"y":1143,"fill":1094,"style":1100},"207.2","Copy button",[1090,1146,1148],{"x":1104,"y":1147,"fill":1094,"style":1117},"207.0","clipboard contents",[1090,1150,1121],{"x":1109,"y":1147,"fill":1094,"style":1117},[1090,1152,1154],{"x":1093,"y":1153,"fill":1094,"style":1100},"240.8","Contact form",[1090,1156,1158],{"x":1104,"y":1157,"fill":1094,"style":1117},"240.6","function route, validation",[1090,1160,1161],{"x":1109,"y":1157,"fill":1094,"style":1117},"Chromium, mocked send",[1163,1164,1165],"figcaption",{},"Five flows, eleven tests, about 110 seconds per run across two browser projects.",[27,1167,1169],{"id":1168},"step-3-forms-and-functions-without-side-effects","Step 3: Forms and Functions Without Side Effects",[14,1171,1172,1173,1176],{},"A contact form posts to an edge function that sends email. Testing it end to end against a preview must not send real mail on every pull request. Two options: the preview environment configures the function with a sandbox mail provider or a ",[46,1174,1175],{},"DRY_RUN"," variable, or the test intercepts the request and asserts on what would have been sent.",[58,1178,1180],{"className":60,"code":1179,"language":62,"meta":63,"style":63},"test('contact form validates and submits', async ({ page }) => {\n  await page.goto('\u002Fcontact\u002F');\n  await page.getByRole('button', { name: 'Send' }).click();\n  await expect(page.getByText('Please enter your email')).toBeVisible();\n\n  await page.getByLabel('Email').fill('reader@example.com');\n  await page.getByLabel('Message').fill('Test from CI');\n  const response = page.waitForResponse('**\u002Fapi\u002Fcontact');\n  await page.getByRole('button', { name: 'Send' }).click();\n  expect((await response).status()).toBe(200);\n  await expect(page.getByRole('status')).toHaveText(\u002Fthanks\u002Fi);\n});\n",[46,1181,1182,1205,1220,1243,1265,1269,1294,1318,1339,1361,1391,1424],{"__ignoreMap":63},[67,1183,1184,1186,1188,1191,1193,1195,1197,1199,1201,1203],{"class":69,"line":70},[67,1185,405],{"class":114},[67,1187,408],{"class":84},[67,1189,1190],{"class":91},"'contact form validates and submits'",[67,1192,414],{"class":84},[67,1194,417],{"class":80},[67,1196,420],{"class":84},[67,1198,424],{"class":423},[67,1200,427],{"class":84},[67,1202,430],{"class":80},[67,1204,433],{"class":84},[67,1206,1207,1209,1211,1213,1215,1218],{"class":69,"line":77},[67,1208,438],{"class":80},[67,1210,441],{"class":84},[67,1212,444],{"class":114},[67,1214,408],{"class":84},[67,1216,1217],{"class":91},"'\u002Fcontact\u002F'",[67,1219,452],{"class":84},[67,1221,1222,1224,1226,1228,1230,1232,1234,1237,1239,1241],{"class":69,"line":98},[67,1223,438],{"class":80},[67,1225,441],{"class":84},[67,1227,461],{"class":114},[67,1229,408],{"class":84},[67,1231,466],{"class":91},[67,1233,469],{"class":84},[67,1235,1236],{"class":91},"'Send'",[67,1238,475],{"class":84},[67,1240,478],{"class":114},[67,1242,481],{"class":84},[67,1244,1245,1247,1249,1251,1254,1256,1259,1261,1263],{"class":69,"line":105},[67,1246,438],{"class":80},[67,1248,567],{"class":114},[67,1250,631],{"class":84},[67,1252,1253],{"class":114},"getByText",[67,1255,408],{"class":84},[67,1257,1258],{"class":91},"'Please enter your email'",[67,1260,777],{"class":84},[67,1262,650],{"class":114},[67,1264,481],{"class":84},[67,1266,1267],{"class":69,"line":121},[67,1268,102],{"emptyLinePlaceholder":101},[67,1270,1271,1273,1275,1278,1280,1283,1285,1287,1289,1292],{"class":69,"line":133},[67,1272,438],{"class":80},[67,1274,441],{"class":84},[67,1276,1277],{"class":114},"getByLabel",[67,1279,408],{"class":84},[67,1281,1282],{"class":91},"'Email'",[67,1284,525],{"class":84},[67,1286,528],{"class":114},[67,1288,408],{"class":84},[67,1290,1291],{"class":91},"'reader@example.com'",[67,1293,452],{"class":84},[67,1295,1296,1298,1300,1302,1304,1307,1309,1311,1313,1316],{"class":69,"line":145},[67,1297,438],{"class":80},[67,1299,441],{"class":84},[67,1301,1277],{"class":114},[67,1303,408],{"class":84},[67,1305,1306],{"class":91},"'Message'",[67,1308,525],{"class":84},[67,1310,528],{"class":114},[67,1312,408],{"class":84},[67,1314,1315],{"class":91},"'Test from CI'",[67,1317,452],{"class":84},[67,1319,1320,1322,1325,1327,1329,1332,1334,1337],{"class":69,"line":168},[67,1321,486],{"class":80},[67,1323,1324],{"class":139}," response",[67,1326,492],{"class":80},[67,1328,441],{"class":84},[67,1330,1331],{"class":114},"waitForResponse",[67,1333,408],{"class":84},[67,1335,1336],{"class":91},"'**\u002Fapi\u002Fcontact'",[67,1338,452],{"class":84},[67,1340,1341,1343,1345,1347,1349,1351,1353,1355,1357,1359],{"class":69,"line":192},[67,1342,438],{"class":80},[67,1344,441],{"class":84},[67,1346,461],{"class":114},[67,1348,408],{"class":84},[67,1350,466],{"class":91},[67,1352,469],{"class":84},[67,1354,1236],{"class":91},[67,1356,475],{"class":84},[67,1358,478],{"class":114},[67,1360,481],{"class":84},[67,1362,1363,1366,1369,1372,1375,1378,1381,1384,1386,1389],{"class":69,"line":198},[67,1364,1365],{"class":114},"  expect",[67,1367,1368],{"class":84},"((",[67,1370,1371],{"class":80},"await",[67,1373,1374],{"class":84}," response).",[67,1376,1377],{"class":114},"status",[67,1379,1380],{"class":84},"()).",[67,1382,1383],{"class":114},"toBe",[67,1385,408],{"class":84},[67,1387,1388],{"class":139},"200",[67,1390,452],{"class":84},[67,1392,1393,1395,1397,1399,1401,1403,1406,1408,1411,1413,1415,1418,1420,1422],{"class":69,"line":215},[67,1394,438],{"class":80},[67,1396,567],{"class":114},[67,1398,631],{"class":84},[67,1400,461],{"class":114},[67,1402,408],{"class":84},[67,1404,1405],{"class":91},"'status'",[67,1407,777],{"class":84},[67,1409,1410],{"class":114},"toHaveText",[67,1412,408],{"class":84},[67,1414,578],{"class":91},[67,1416,1417],{"class":581},"thanks",[67,1419,578],{"class":91},[67,1421,587],{"class":80},[67,1423,452],{"class":84},[67,1425,1426],{"class":69,"line":226},[67,1427,362],{"class":84},[14,1429,1430,1431,42],{},"With the function in dry-run mode on previews, this test exercises the real route, validation and response handling — which caught a renamed function route that would have silently broken the form — without sending anything. The function itself is described in ",[21,1432,1434],{"href":1433},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers\u002F","Adding a Contact Form with Cloudflare Workers",[27,1436,1438],{"id":1437},"step-4-crawl-style-checks-with-the-same-tooling","Step 4: Crawl-Style Checks With the Same Tooling",[14,1440,1441],{},"Playwright is also a convenient way to run broad, shallow checks that need a browser: every page in a sample loads without console errors, every language-switcher option on a page leads to a 200, every \"Edit this page\" link points at a file that exists. These are loops rather than scripted flows:",[58,1443,1445],{"className":60,"code":1444,"language":62,"meta":63,"style":63},"for (const url of sampleUrls) {\n  test(`no console errors on ${url}`, async ({ page }) => {\n    const errors: string[] = [];\n    page.on('pageerror', (e) => errors.push(e.message));\n    page.on('console', (m) => m.type() === 'error' && errors.push(m.text()));\n    await page.goto(url);\n    await page.waitForLoadState('networkidle');\n    expect(errors).toEqual([]);\n  });\n}\n",[46,1446,1447,1467,1496,1518,1551,1601,1613,1629,1643,1648],{"__ignoreMap":63},[67,1448,1449,1452,1455,1458,1461,1464],{"class":69,"line":70},[67,1450,1451],{"class":80},"for",[67,1453,1454],{"class":84}," (",[67,1456,1457],{"class":80},"const",[67,1459,1460],{"class":139}," url",[67,1462,1463],{"class":80}," of",[67,1465,1466],{"class":84}," sampleUrls) {\n",[67,1468,1469,1472,1474,1477,1480,1482,1484,1486,1488,1490,1492,1494],{"class":69,"line":77},[67,1470,1471],{"class":114},"  test",[67,1473,408],{"class":84},[67,1475,1476],{"class":91},"`no console errors on ${",[67,1478,1479],{"class":84},"url",[67,1481,255],{"class":91},[67,1483,414],{"class":84},[67,1485,417],{"class":80},[67,1487,420],{"class":84},[67,1489,424],{"class":423},[67,1491,427],{"class":84},[67,1493,430],{"class":80},[67,1495,433],{"class":84},[67,1497,1498,1501,1504,1506,1509,1512,1515],{"class":69,"line":98},[67,1499,1500],{"class":80},"    const",[67,1502,1503],{"class":139}," errors",[67,1505,261],{"class":80},[67,1507,1508],{"class":139}," string",[67,1510,1511],{"class":84},"[] ",[67,1513,1514],{"class":80},"=",[67,1516,1517],{"class":84}," [];\n",[67,1519,1520,1523,1526,1528,1531,1534,1537,1540,1542,1545,1548],{"class":69,"line":105},[67,1521,1522],{"class":84},"    page.",[67,1524,1525],{"class":114},"on",[67,1527,408],{"class":84},[67,1529,1530],{"class":91},"'pageerror'",[67,1532,1533],{"class":84},", (",[67,1535,1536],{"class":423},"e",[67,1538,1539],{"class":84},") ",[67,1541,430],{"class":80},[67,1543,1544],{"class":84}," errors.",[67,1546,1547],{"class":114},"push",[67,1549,1550],{"class":84},"(e.message));\n",[67,1552,1553,1555,1557,1559,1562,1564,1567,1569,1571,1574,1577,1580,1583,1586,1589,1591,1593,1596,1598],{"class":69,"line":121},[67,1554,1522],{"class":84},[67,1556,1525],{"class":114},[67,1558,408],{"class":84},[67,1560,1561],{"class":91},"'console'",[67,1563,1533],{"class":84},[67,1565,1566],{"class":423},"m",[67,1568,1539],{"class":84},[67,1570,430],{"class":80},[67,1572,1573],{"class":84}," m.",[67,1575,1576],{"class":114},"type",[67,1578,1579],{"class":84},"() ",[67,1581,1582],{"class":80},"===",[67,1584,1585],{"class":91}," 'error'",[67,1587,1588],{"class":80}," &&",[67,1590,1544],{"class":84},[67,1592,1547],{"class":114},[67,1594,1595],{"class":84},"(m.",[67,1597,1090],{"class":114},[67,1599,1600],{"class":84},"()));\n",[67,1602,1603,1606,1608,1610],{"class":69,"line":133},[67,1604,1605],{"class":80},"    await",[67,1607,441],{"class":84},[67,1609,444],{"class":114},[67,1611,1612],{"class":84},"(url);\n",[67,1614,1615,1617,1619,1622,1624,1627],{"class":69,"line":145},[67,1616,1605],{"class":80},[67,1618,441],{"class":84},[67,1620,1621],{"class":114},"waitForLoadState",[67,1623,408],{"class":84},[67,1625,1626],{"class":91},"'networkidle'",[67,1628,452],{"class":84},[67,1630,1631,1634,1637,1640],{"class":69,"line":168},[67,1632,1633],{"class":114},"    expect",[67,1635,1636],{"class":84},"(errors).",[67,1638,1639],{"class":114},"toEqual",[67,1641,1642],{"class":84},"([]);\n",[67,1644,1645],{"class":69,"line":192},[67,1646,1647],{"class":84},"  });\n",[67,1649,1650],{"class":69,"line":198},[67,1651,1652],{"class":84},"}\n",[14,1654,1655,1656,1659],{},"On the Hugo docs site this caught a script that threw on pages without code blocks, introduced when a copy-button component assumed at least one ",[46,1657,1658],{},"\u003Cpre>"," existed.",[1006,1661,1662,1795],{},[1009,1663,1017,1668,1017,1671,1017,1674,1017,1677,1017,1781],{"viewBox":1664,"role":1012,"ariaLabelledBy":1665,"xmlns":1016},"0 0 760 168",[1666,1667],"e2e-fail-title","e2e-fail-desc",[1019,1669,1670],{"id":1666},"Diagnosing an end-to-end failure from the trace",[1023,1672,1673],{"id":1667},"A test fails on the first attempt. Playwright retries it with tracing on. If the retry passes the run is marked flaky and reported. If it fails again, the HTML report and trace are uploaded as artifacts. The reviewer opens the trace viewer to see DOM snapshots, network requests and console output at the failing step.",[1027,1675],{"x":1029,"y":1029,"width":1030,"height":1676,"fill":1032},"168",[1034,1678,1037,1679,1037,1689,1037,1692,1037,1696,1037,1699,1037,1702,1037,1705,1037,1708,1037,1711,1037,1714,1037,1717,1037,1723,1037,1727,1037,1732,1037,1736,1037,1740,1037,1743,1037,1746,1037,1749,1037,1753,1037,1757,1037,1761,1037,1765,1037,1768,1037,1771,1037,1775,1037,1778,1017],{"style":1036},[1027,1680],{"x":1681,"y":1682,"width":1683,"height":1684,"rx":1685,"fill":1686,"opacity":1687,"stroke":1688,"style":1044},"20.0","64.0","116.8","88.4","8","#ff595e","0.12","#d83b41",[1027,1690],{"x":1691,"y":1682,"width":1683,"height":1684,"rx":1685,"fill":1068,"opacity":1069,"stroke":1070,"style":1044},"170.8",[1039,1693],{"d":1694,"fill":1042,"stroke":1043,"style":1695},"M138.8 108.2 L166.8 108.2","stroke-width:2px;marker-end:url(#e2e-fail-arrow)",[1027,1697],{"x":1698,"y":1682,"width":1683,"height":1684,"rx":1685,"fill":1686,"opacity":1687,"stroke":1688,"style":1044},"321.6",[1039,1700],{"d":1701,"fill":1042,"stroke":1043,"style":1695},"M289.6 108.2 L317.6 108.2",[1027,1703],{"x":1704,"y":1682,"width":1683,"height":1684,"rx":1685,"fill":1052,"opacity":1053,"stroke":1052,"style":1044},"472.4",[1039,1706],{"d":1707,"fill":1042,"stroke":1043,"style":1695},"M440.4 108.2 L468.4 108.2",[1027,1709],{"x":1710,"y":1682,"width":1683,"height":1684,"rx":1685,"fill":1083,"opacity":1084,"stroke":1085,"style":1044},"623.2",[1039,1712],{"d":1713,"fill":1042,"stroke":1043,"style":1695},"M591.2 108.2 L619.2 108.2",[1090,1715,1716],{"x":1092,"y":1093,"fill":1094,"style":1095},"When a test fails in CI",[1090,1718,1722],{"x":1719,"y":1720,"fill":1094,"style":1721},"78.4","90.4","font-size:13px;text-anchor:middle;font-weight:700","First",[1090,1724,1726],{"x":1719,"y":1725,"fill":1094,"style":1721},"107.3","attempt fails",[1090,1728,1731],{"x":1719,"y":1729,"fill":1043,"style":1730},"124.2","font-size:11px;text-anchor:middle","assertion times",[1090,1733,1735],{"x":1719,"y":1734,"fill":1043,"style":1730},"138.5","out",[1090,1737,1739],{"x":1738,"y":1720,"fill":1094,"style":1721},"229.2","Retry with",[1090,1741,1742],{"x":1738,"y":1725,"fill":1094,"style":1721},"trace",[1090,1744,1745],{"x":1738,"y":1729,"fill":1043,"style":1730},"trace:",[1090,1747,1748],{"x":1738,"y":1734,"fill":1043,"style":1730},"on-first-retry",[1090,1750,1752],{"x":1092,"y":1751,"fill":1094,"style":1721},"98.8","Still failing",[1090,1754,1756],{"x":1092,"y":1755,"fill":1043,"style":1730},"115.7","report + trace",[1090,1758,1760],{"x":1092,"y":1759,"fill":1043,"style":1730},"130.0","uploaded",[1090,1762,1764],{"x":1763,"y":1751,"fill":1094,"style":1721},"530.8","Trace viewer",[1090,1766,1767],{"x":1763,"y":1755,"fill":1043,"style":1730},"DOM, network,",[1090,1769,1770],{"x":1763,"y":1759,"fill":1043,"style":1730},"console",[1090,1772,1774],{"x":1773,"y":1751,"fill":1094,"style":1721},"681.6","Fix",[1090,1776,1777],{"x":1773,"y":1755,"fill":1043,"style":1730},"or mark flaky and",[1090,1779,1780],{"x":1773,"y":1759,"fill":1043,"style":1730},"investigate",[1782,1783,1037,1784,1017],"defs",{},[1785,1786,1791,1792,1037],"marker",{"id":1787,"viewBox":1788,"refX":1685,"refY":1051,"markerWidth":1789,"markerHeight":1789,"orient":1790},"e2e-fail-arrow","0 0 10 10","7","auto-start-reverse","\n      ",[1039,1793],{"d":1794,"fill":1043},"M0 0 L10 5 L0 10 z",[1163,1796,1797],{},"Traces made the median time to diagnose a failed run about four minutes, down from re-running locally.",[27,1799,1801],{"id":1800},"step-5-keep-it-fast-and-stable","Step 5: Keep It Fast and Stable",[14,1803,1804,1805,1808,1809,1812],{},"The suite runs in the official Playwright container (",[46,1806,1807],{},"mcr.microsoft.com\u002Fplaywright:v1.48.0-noble","), which avoids a browser download per run. Tests run fully parallel with ",[46,1810,1811],{},"fullyParallel: true","; there is no shared state on a static site, so they are safe to parallelise. The whole suite — 11 flow tests and 40 crawl-style checks across two projects — took 110 seconds on the Astro site and 190 seconds on the Hugo site.",[14,1814,1815,1816,1819],{},"Flakiness came almost entirely from two sources: fixed waits (",[46,1817,1818],{},"waitForTimeout",") left in early tests, and a search index that sometimes took longer than the default 5-second assertion timeout to load on cold previews. Replacing the waits with web-first assertions and giving the search assertion an explicit 10-second timeout brought flaky failures from 7 per 100 runs to under 2.",[1006,1821,1822,1889],{},[1009,1823,1017,1828,1017,1831,1017,1834,1017,1837],{"viewBox":1824,"role":1012,"ariaLabelledBy":1825,"xmlns":1016},"0 0 760 295",[1826,1827],"e2e-flaky-title","e2e-flaky-desc",[1019,1829,1830],{"id":1826},"Flakiness before and after removing fixed waits",[1023,1832,1833],{"id":1827},"Vertical bars of flaky failures per 100 CI runs. The first version with fixed waits had 7. After replacing fixed waits with web-first assertions it had 3.1. After giving the search assertion a longer explicit timeout it had 1.8.",[1027,1835],{"x":1029,"y":1029,"width":1030,"height":1836,"fill":1032},"295",[1034,1838,1037,1839,1037,1846,1037,1852,1037,1858,1037,1861,1037,1864,1037,1869,1037,1873,1037,1877,1037,1880,1037,1886,1017],{"style":1036},[1027,1840],{"x":1841,"y":1842,"width":1048,"height":1843,"rx":1844,"fill":1686,"opacity":1845,"stroke":1688,"style":1054},"108.3","76.0","170.0","3","0.3",[1027,1847],{"x":1848,"y":1849,"width":1048,"height":1850,"rx":1844,"fill":1068,"opacity":1851,"stroke":1070,"style":1054},"335.0","170.7","75.3","0.45",[1027,1853],{"x":1854,"y":1855,"width":1048,"height":1856,"rx":1844,"fill":1083,"opacity":1857,"stroke":1085,"style":1054},"561.7","202.3","43.7","0.4",[1039,1859],{"d":1860,"fill":1042,"stroke":1043,"style":1044},"M30.0 246.0 L730.0 246.0",[1090,1862,1863],{"x":1092,"y":1093,"fill":1094,"style":1095},"Flaky failures per 100 runs",[1090,1865,1789],{"x":1866,"y":1867,"fill":1868,"style":1105},"153.3","69.0","#b32b30",[1090,1870,1872],{"x":1866,"y":1871,"fill":1043,"style":1117},"264.0","Fixed waits",[1090,1874,1876],{"x":1092,"y":1875,"fill":1094,"style":1105},"163.7","3.1",[1090,1878,1879],{"x":1092,"y":1871,"fill":1043,"style":1117},"Web-first assertions",[1090,1881,1885],{"x":1882,"y":1883,"fill":1884,"style":1105},"606.7","195.3","#3f6410","1.8",[1090,1887,1888],{"x":1882,"y":1871,"fill":1043,"style":1117},"Plus explicit search timeout",[1163,1890,1891],{},"Measured over 300 runs per stage on the Astro site; a flaky failure is one that passed on retry.",[27,1893,1895],{"id":1894},"choosing-what-not-to-test","Choosing What Not to Test",[14,1897,1898],{},"A Playwright suite for a static site should stay small. Content is not tested end to end: pages are checked by the build-output layer, and clicking through navigation to reach every page is slow and adds nothing a link checker does not already do. Styling is tested by visual regression, not by asserting CSS values. Third-party widgets are tested only at their integration point — the placeholder renders and the consent-gated load happens — never their internal behaviour, which you cannot fix anyway. Keeping to roughly one test per interactive feature is what kept this suite under two minutes and made each failure mean something.",[27,1900,1902],{"id":1901},"measured-impact","Measured Impact",[1904,1905,1906,1922],"table",{},[1907,1908,1909],"thead",{},[1910,1911,1912,1916,1919],"tr",{},[1913,1914,1915],"th",{},"Measure",[1913,1917,1918],{},"Before the suite",[1913,1920,1921],{},"12 months with it",[1923,1924,1925,1937,1948,1959,1967],"tbody",{},[1910,1926,1927,1931,1934],{},[1928,1929,1930],"td",{},"Broken interactive features reaching production",[1928,1932,1933],{},"14",[1928,1935,1936],{},"2",[1910,1938,1939,1942,1945],{},[1928,1940,1941],{},"Median detection time for a broken feature",[1928,1943,1944],{},"5 days (reader report)",[1928,1946,1947],{},"before merge",[1910,1949,1950,1953,1956],{},[1928,1951,1952],{},"Suite duration per pull request",[1928,1954,1955],{},"—",[1928,1957,1958],{},"110 s (Astro), 190 s (Hugo)",[1910,1960,1961,1963,1965],{},[1928,1962,1863],{},[1928,1964,1955],{},[1928,1966,1885],{},[1910,1968,1969,1972,1974],{},[1928,1970,1971],{},"Real regressions caught",[1928,1973,1955],{},[1928,1975,1976],{},"23",[14,1978,1979],{},"The two production escapes were both in WebKit-specific clipboard behaviour on older iOS versions not covered by the emulated device profile.",[27,1981,1983],{"id":1982},"pitfalls-rollback","Pitfalls & Rollback",[32,1985,1986,1996,2002,2008,2018],{},[35,1987,1988,1991,1992,1995],{},[392,1989,1990],{},"Testing implementation details."," Selectors like ",[46,1993,1994],{},".btn-primary > svg"," break on refactors; use roles and names.",[35,1997,1998,2001],{},[392,1999,2000],{},"Sending real side effects."," Use dry-run modes or request interception for forms.",[35,2003,2004,2007],{},[392,2005,2006],{},"Running against production."," Tests should gate merges, which means running against previews.",[35,2009,2010,2013,2014,2017],{},[392,2011,2012],{},"Ignoring WebKit."," Clipboard, ",[46,2015,2016],{},"\u003Cdialog>"," and focus behaviour differ enough to matter.",[35,2019,2020,2023],{},[392,2021,2022],{},"Rollback:"," the suite is a CI job; making it non-required disables the gate without touching the site.",[27,2025,2027],{"id":2026},"conclusion","Conclusion",[14,2029,2030],{},"A static site has only a handful of flows that can break at runtime, and they are the ones readers notice. A Playwright suite of a dozen role-based tests, run against every preview in Chromium and WebKit with traces on retry, catches almost all of those breakages before merge in about two minutes.",[27,2032,2034],{"id":2033},"faq","FAQ",[2036,2037,2039],"h3",{"id":2038},"what-should-end-to-end-tests-cover-on-a-static-site","What should end-to-end tests cover on a static site?",[14,2041,2042],{},"The small number of features that depend on JavaScript or a server function and that readers notice when they break. Typical examples are site search, the theme toggle, the mobile navigation menu, copy-to-clipboard buttons, language switchers, tabs and any form backed by an edge function.",[2036,2044,2046],{"id":2045},"should-playwright-tests-run-against-a-local-build-or-the-preview-deploy","Should Playwright tests run against a local build or the preview deploy?",[14,2048,2049],{},"Against the preview when possible, because it includes the host's redirects, headers and functions. A local static server over the build directory is a good fallback for fast feedback and for testing on pull requests from forks, which may not get preview deploys.",[2036,2051,2053],{"id":2052},"how-do-i-make-playwright-tests-on-static-sites-less-flaky","How do I make Playwright tests on static sites less flaky?",[14,2055,2056],{},"Never wait for fixed time periods. Use web-first assertions that wait for state, such as expecting a dialog to be visible or a URL to change, locate elements by role and accessible name, and retry failed tests once or twice in CI.",[2036,2058,2060],{"id":2059},"how-many-browsers-should-i-test","How many browsers should I test?",[14,2062,2063],{},"Chromium catches most problems. Adding WebKit is worthwhile for sites with many iPhone readers, because Safari differs in clipboard, dialog and focus behaviour. Firefox is optional for most static sites. Mobile viewport emulation in Chromium covers responsive layouts.",[27,2065,2067],{"id":2066},"related","Related",[32,2069,2070,2079,2086,2093,2100],{},[35,2071,2072,2075,2076,2078],{},[392,2073,2074],{},"Parent:"," ",[21,2077,24],{"href":23}," — where end-to-end tests fit.",[35,2080,2081,2085],{},[21,2082,2084],{"href":2083},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci\u002F","Accessibility Testing with axe and pa11y in CI"," — the same Playwright setup running axe.",[35,2087,2088,2092],{},[21,2089,2091],{"href":2090},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url\u002F","Running Smoke Tests Against a Preview URL"," — a lighter post-deploy check.",[35,2094,2095,2099],{},[21,2096,2098],{"href":2097},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site\u002F","Adding Pagefind to an Astro Site"," — the search the tests exercise.",[35,2101,2102,2106],{},[21,2103,2105],{"href":2104},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site\u002F","Handling Form Submissions on a Static Site"," — the form backend.",[2108,2109,2110],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sA_wV, html code.shiki .sA_wV{--shiki-default:#032F62;--shiki-dark:#DBEDFF}",{"title":63,"searchDepth":77,"depth":77,"links":2112},[2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2129],{"id":29,"depth":77,"text":30},{"id":55,"depth":77,"text":56},{"id":384,"depth":77,"text":385},{"id":1168,"depth":77,"text":1169},{"id":1437,"depth":77,"text":1438},{"id":1800,"depth":77,"text":1801},{"id":1894,"depth":77,"text":1895},{"id":1901,"depth":77,"text":1902},{"id":1982,"depth":77,"text":1983},{"id":2026,"depth":77,"text":2027},{"id":2033,"depth":77,"text":2034,"children":2124},[2125,2126,2127,2128],{"id":2038,"depth":98,"text":2039},{"id":2045,"depth":98,"text":2046},{"id":2052,"depth":98,"text":2053},{"id":2059,"depth":98,"text":2060},{"id":2066,"depth":77,"text":2067},[2131,2133,2136,2137],{"name":2132,"item":578},"Home",{"name":2134,"item":2135},"Production-Ready Deployment & CI\u002FCD for SSGs","\u002Fproduction-ready-deployment-cicd-workflows\u002F",{"name":24,"item":23},{"name":5,"item":2138},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright\u002F","2026-09-25","Protect the few interactive flows on a static site with Playwright: search, theme toggle, mobile menu, copy buttons and forms, run against every preview deploy.","md",[2143,2144,2145,2146],{"q":2039,"a":2042},{"q":2046,"a":2049},{"q":2053,"a":2056},{"q":2060,"a":2063},{},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright",{"title":5,"description":2140},"production-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright\u002Findex","article","RZWkR2ZvsVvcvTeScwMfQpTkeFxg64sm-R7qQ-Ho9pU",[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,2286,2289,2292,2295,2298,2301,2304,2307,2310,2313,2316,2319,2322,2325,2328,2331,2334,2337,2340,2343,2346,2349,2352,2355,2358,2361,2364,2367,2370,2373,2376,2379,2382,2385,2388,2391,2394,2397,2400,2403,2406,2409,2412,2415,2418,2421,2424,2427,2430,2433,2436,2439,2442,2445,2448,2451,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,2549,2552,2555,2558,2561,2564,2567,2570,2573,2576,2579,2582,2585,2588,2591,2594,2597,2600,2603,2606,2609,2612,2615,2618,2621,2624,2627,2630,2633,2636,2639,2642,2645,2648,2651,2654,2657,2660,2663,2666,2669,2672,2675,2678,2681,2684,2687,2690,2693,2696,2699,2702,2705,2708,2711,2714,2717,2720,2723,2726,2729,2732,2735,2738,2741,2744,2747,2750,2753,2756,2759,2762,2765,2768,2771,2774,2777,2780,2783,2786,2789,2792,2795,2798,2801,2804,2807,2810,2813,2816,2819,2822,2825,2828,2831,2834,2837,2840,2843,2846,2849,2852,2855,2858,2861,2864,2867,2870,2873,2876,2879,2882,2885,2888,2891,2894,2897,2900,2903,2906,2909,2912,2915,2918,2921,2924,2927,2930,2933,2936,2939,2942,2945,2948,2951,2954,2957,2960,2963,2966,2969,2972,2975,2978,2981,2984,2987,2990,2993,2996,2999,3002,3005,3008,3011,3014,3017,3020,3023,3026,3029,3031,3034,3037,3040,3043,3046,3049,3052,3055,3058,3061,3064,3067,3070,3073,3076,3079,3082,3085,3088,3091,3094,3097,3100,3103,3105,3108,3111,3114,3117,3119,3122,3125,3128,3131,3134,3137,3140,3143,3146,3149,3152,3155,3158,3161,3164,3166,3169,3172,3175,3178,3181,3184,3187,3190,3193,3196,3199,3202,3205,3208,3211,3214,3217,3220,3223,3226,3229,3232,3235,3238,3241,3244,3246,3249,3251,3254,3257,3260,3263,3266,3269,3271,3272,3275,3277,3280,3283,3286,3289],{"path":2155,"title":2156},"\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":2158,"title":2159},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-dark-mode-toggles-for-static-sites","Accessible Dark Mode Toggles for Static Sites",{"path":2161,"title":2162},"\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":2164,"title":2165},"\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":2167,"title":2168},"\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":2170,"title":2171},"\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":2173,"title":2174},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":2176,"title":2177},"\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":2179,"title":2180},"\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":2182,"title":2183},"\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":2185,"title":2186},"\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":2188,"title":2189},"\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":2191,"title":2192},"\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":2194,"title":2195},"\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":2197,"title":2198},"\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":2200,"title":2201},"\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":2203,"title":2204},"\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":2206,"title":2207},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":2209,"title":2210},"\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":2212,"title":2213},"\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":2215,"title":2216},"\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":2218,"title":2219},"\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":2221,"title":2222},"\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":2224,"title":2225},"\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":2227,"title":2228},"\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":2230,"title":2231},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":2233,"title":2234},"\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":2236,"title":2237},"\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":2239,"title":2240},"\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":2242,"title":2243},"\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":2245,"title":2246},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":2248,"title":2249},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":2251,"title":2252},"\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":2254,"title":2255},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":2257,"title":2258},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":2260,"title":2261},"\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":2263,"title":2264},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":2266,"title":2267},"\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":2269,"title":2270},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":2272,"title":2273},"\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":2275,"title":2276},"\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":2278,"title":2279},"\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":2281,"title":2282},"\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":2284,"title":2285},"\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":2287,"title":2288},"\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":2290,"title":2291},"\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":2293,"title":2294},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":2296,"title":2297},"\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":2299,"title":2300},"\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":2302,"title":2303},"\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":2305,"title":2306},"\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":2308,"title":2309},"\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":2311,"title":2312},"\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":2314,"title":2315},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":2317,"title":2318},"\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":2320,"title":2321},"\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":2323,"title":2324},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":2326,"title":2327},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":2329,"title":2330},"\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":2332,"title":2333},"\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":2335,"title":2336},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":2338,"title":2339},"\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":2341,"title":2342},"\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":2344,"title":2345},"\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":2347,"title":2348},"\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":2350,"title":2351},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":2353,"title":2354},"\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":2356,"title":2357},"\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":2359,"title":2360},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":2362,"title":2363},"\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":2365,"title":2366},"\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":2368,"title":2369},"\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":2371,"title":2372},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":2374,"title":2375},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":2377,"title":2378},"\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":2380,"title":2381},"\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":2383,"title":2384},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":2386,"title":2387},"\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":2389,"title":2390},"\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":2392,"title":2393},"\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":2395,"title":2396},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":2398,"title":2399},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":2401,"title":2402},"\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":2404,"title":2405},"\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":2407,"title":2408},"\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":2410,"title":2411},"\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":2413,"title":2414},"\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":2416,"title":2417},"\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":2419,"title":2420},"\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":2422,"title":2423},"\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":2425,"title":2426},"\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":2428,"title":2429},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2431,"title":2432},"\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":2434,"title":2435},"\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":2437,"title":2438},"\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":2440,"title":2441},"\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":2443,"title":2444},"\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":2446,"title":2447},"\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":2449,"title":2450},"\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":2452,"title":2453},"\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":2455,"title":2098},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site",{"path":2457,"title":2458},"\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":2460,"title":2461},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2463,"title":2464},"\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":2466,"title":2467},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":2469,"title":2470},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2472,"title":2473},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2475,"title":2476},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2478,"title":2479},"\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":2481,"title":2482},"\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":2484,"title":2485},"\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":2487,"title":2488},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2490,"title":2491},"\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":2493,"title":2494},"\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":2496,"title":2497},"\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":2499,"title":2500},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":2502,"title":2503},"\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":2505,"title":2506},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2508,"title":2509},"\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":2511,"title":2512},"\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":2514,"title":2515},"\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":2517,"title":2518},"\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":2520,"title":2521},"\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":2523,"title":2524},"\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":2526,"title":2527},"\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":2529,"title":2530},"\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":2532,"title":2533},"\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":2535,"title":2536},"\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":2538,"title":2539},"\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":2541,"title":2542},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2544,"title":2545},"\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":2547,"title":2548},"\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":2550,"title":2551},"\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":2553,"title":2554},"\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":2556,"title":2557},"\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":2559,"title":2560},"\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":2562,"title":2563},"\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":2565,"title":2566},"\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":2568,"title":2569},"\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":2571,"title":2572},"\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":2574,"title":2575},"\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":2577,"title":2578},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2580,"title":2581},"\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":2583,"title":2584},"\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":2586,"title":2587},"\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":2589,"title":2590},"\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":2592,"title":2593},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2595,"title":2596},"\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":2598,"title":2599},"\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":2601,"title":2602},"\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":2604,"title":2605},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2607,"title":2608},"\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":2610,"title":2611},"\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":2613,"title":2614},"\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":2616,"title":2617},"\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":2619,"title":2620},"\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":2622,"title":2623},"\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":2625,"title":2626},"\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":2628,"title":2629},"\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":2631,"title":2632},"\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":2634,"title":2635},"\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":2637,"title":2638},"\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":2640,"title":2641},"\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":2643,"title":2644},"\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":2646,"title":2647},"\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":2649,"title":2650},"\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":2652,"title":2653},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2655,"title":2656},"\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":2658,"title":2659},"\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":2661,"title":2662},"\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":2664,"title":2665},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2667,"title":2668},"\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":2670,"title":2671},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2673,"title":2674},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2676,"title":2677},"\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":2679,"title":2680},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2682,"title":2683},"\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":2685,"title":2686},"\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":2688,"title":2689},"\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":2691,"title":2692},"\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":2694,"title":2695},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2697,"title":2698},"\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":2700,"title":2701},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2703,"title":2704},"\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":2706,"title":2707},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2709,"title":2710},"\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":2712,"title":2713},"\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":2715,"title":2716},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2718,"title":2719},"\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":2721,"title":2722},"\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":2724,"title":2725},"\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":2727,"title":2728},"\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":2730,"title":2731},"\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":2733,"title":2734},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2736,"title":2737},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2739,"title":2740},"\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":2742,"title":2743},"\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":2745,"title":2746},"\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":2748,"title":2749},"\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":2751,"title":2752},"\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":2754,"title":2755},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2757,"title":2758},"\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":2760,"title":2761},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2763,"title":2764},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2766,"title":2767},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2769,"title":2770},"\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":2772,"title":2773},"\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":2775,"title":2776},"\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":2778,"title":2779},"\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":2781,"title":2782},"\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":2784,"title":2785},"\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":2787,"title":2788},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2790,"title":2791},"\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":2793,"title":2794},"\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":2796,"title":2797},"\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":2799,"title":2800},"\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":2802,"title":2803},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2805,"title":2806},"\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":2808,"title":2809},"\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":2811,"title":2812},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2814,"title":2815},"\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":2817,"title":2818},"\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":2820,"title":2821},"\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":2823,"title":2824},"\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":2826,"title":2827},"\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":2829,"title":2830},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2832,"title":2833},"\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":2835,"title":2836},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2838,"title":2839},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2841,"title":2842},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2844,"title":2845},"\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":2847,"title":2848},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2850,"title":2851},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2853,"title":2854},"\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":2856,"title":2857},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2859,"title":2860},"\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":2862,"title":2863},"\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":2865,"title":2866},"\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":2868,"title":2869},"\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":2871,"title":2872},"\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":2874,"title":2875},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2877,"title":2878},"\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":2880,"title":2881},"\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":2883,"title":2884},"\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":2886,"title":2887},"\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":2889,"title":2890},"\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":2892,"title":2893},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fself-hosting-analytics-to-cut-third-party-requests","Self-Hosting Analytics to Cut Third-Party Requests",{"path":2895,"title":2896},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2898,"title":2899},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2901,"title":2902},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2904,"title":2905},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2907,"title":2908},"\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":2910,"title":2911},"\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":2913,"title":2914},"\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":2916,"title":2917},"\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":2919,"title":2920},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2922,"title":2923},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2925,"title":2926},"\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":2928,"title":2929},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2931,"title":2932},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2934,"title":2935},"\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":2937,"title":2938},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2940,"title":2941},"\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":2943,"title":2944},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2946,"title":2947},"\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":2949,"title":2950},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2952,"title":2953},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2955,"title":2956},"\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":2958,"title":2959},"\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":2961,"title":2962},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2964,"title":2965},"\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":2967,"title":2968},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2970,"title":2971},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2973,"title":2974},"\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":2976,"title":2977},"\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":2979,"title":2980},"\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":2982,"title":2983},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2985,"title":2986},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2988,"title":2989},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2991,"title":2992},"\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":2994,"title":2995},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2997,"title":2998},"\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":3000,"title":3001},"\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":3003,"title":3004},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":3006,"title":3007},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":3009,"title":3010},"\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":3012,"title":3013},"\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":3015,"title":3016},"\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":3018,"title":3019},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":3021,"title":3022},"\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":3024,"title":3025},"\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":3027,"title":3028},"\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":3030,"title":2134},"\u002Fproduction-ready-deployment-cicd-workflows",{"path":3032,"title":3033},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":3035,"title":3036},"\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":3038,"title":3039},"\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":3041,"title":3042},"\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":3044,"title":3045},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":3047,"title":3048},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":3050,"title":3051},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":3053,"title":3054},"\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":3056,"title":3057},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":3059,"title":3060},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":3062,"title":3063},"\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":3065,"title":3066},"\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":3068,"title":3069},"\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":3071,"title":3072},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":3074,"title":3075},"\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":3077,"title":3078},"\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":3080,"title":3081},"\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":3083,"title":3084},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":3086,"title":3087},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":3089,"title":3090},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":3092,"title":3093},"\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":3095,"title":3096},"\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":3098,"title":3099},"\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":3101,"title":3102},"\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":3104,"title":41},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fautomating-preview-deploy-pipelines-with-github-actions",{"path":3106,"title":3107},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":3109,"title":3110},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":3112,"title":3113},"\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":3115,"title":3116},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":3118,"title":376},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments",{"path":3120,"title":3121},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":3123,"title":3124},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":3126,"title":3127},"\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":3129,"title":3130},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":3132,"title":3133},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":3135,"title":3136},"\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":3138,"title":3139},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":3141,"title":3142},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":3144,"title":3145},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":3147,"title":3148},"\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":3150,"title":3151},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":3153,"title":3154},"\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":3156,"title":3157},"\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":3159,"title":3160},"\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":3162,"title":3163},"\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":3165,"title":2091},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url",{"path":3167,"title":3168},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":3170,"title":3171},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":3173,"title":3174},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts","Fixing Content Security Policy Violations From Inline Scripts",{"path":3176,"title":3177},"\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":3179,"title":3180},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fhash-based-csp-for-inline-scripts-in-astro","Hash-Based CSP for Inline Scripts in Astro",{"path":3182,"title":3183},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":3185,"title":3186},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":3188,"title":3189},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":3191,"title":3192},"\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":3194,"title":3195},"\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":3197,"title":3198},"\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":3200,"title":3201},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":3203,"title":3204},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fwriting-a-content-security-policy-for-a-static-site","Writing a Content Security Policy for a Static Site",{"path":3206,"title":3207},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":3209,"title":3210},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":3212,"title":3213},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":3215,"title":3216},"\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":3218,"title":3219},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":3221,"title":3222},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":3224,"title":3225},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":3227,"title":3228},"\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":3230,"title":3231},"\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":3233,"title":3234},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":3236,"title":3237},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":3239,"title":3240},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":3242,"title":3243},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":3245,"title":1434},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers",{"path":3247,"title":3248},"\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":3250,"title":2105},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site",{"path":3252,"title":3253},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":3255,"title":3256},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":3258,"title":3259},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":3261,"title":3262},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":3264,"title":3265},"\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":3267,"title":3268},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":3270,"title":2084},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci",{"path":2148,"title":5},{"path":3273,"title":3274},"\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":3276,"title":24},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci",{"path":3278,"title":3279},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":3281,"title":3282},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":3284,"title":3285},"\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":3287,"title":3288},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":3290,"title":3291},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":3293,"tools":3297},{"label":3294,"plural":3295,"u":3296},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[3298],{"label":3299,"u":3300},"Playwright","\u002Ftools\u002Fplaywright\u002F",1790943198259]