[{"data":1,"prerenderedAt":1646},["ShallowReactive",2],{"page:\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites":3,"all-docs-nav":1103},{"id":4,"title":5,"body":6,"breadcrumb":1079,"dateModified":1089,"datePublished":1089,"description":1090,"extension":1091,"faq":1092,"meta":1097,"navigation":163,"path":1098,"seo":1099,"slug":12,"stem":1100,"type":1101,"__hash__":1102},"content\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites\u002Findex.md","View Transitions on Multi-Page Static Sites",{"type":7,"value":8,"toc":1060},"minimark",[9,13,17,26,31,48,52,55,97,100,104,111,347,354,506,510,513,538,541,545,548,564,574,584,588,591,678,793,797,812,893,896,900,920,924,975,979,982,986,991,994,998,1001,1005,1008,1012,1015,1019,1056],[10,11,5],"h1",{"id":12},"view-transitions-on-multi-page-static-sites",[14,15,16],"p",{},"The one thing single-page apps still do better than static sites is the moment between pages. Click a link on a multi-page site and the old page vanishes, there is a blank or half-painted frame, and the new page appears. Click in an app and the header stays put while the content slides. Teams have adopted whole client-side routers to get that effect, paying for it in JavaScript and INP.",[14,18,19,20,25],{},"Cross-document view transitions give multi-page sites the same polish with a few lines of CSS. Both pages opt in, and the browser snapshots the old page, loads the new one, and animates between them, keeping shared elements like the header visually continuous. This guide adds them to a static documentation site, handles reduced motion and layout stability, and measures the cost. It is part of ",[21,22,24],"a",{"href":23},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002F","Resource Hints and Navigation Speed",".",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,38,41],"ul",{},[35,36,37],"li",{},"A static multi-page site served over HTTPS with same-origin navigations.",[35,39,40],{},"A shared layout, so the opt-in and element names can be added once.",[35,42,43,44,25],{},"Ideally, speculation rules already in place, so the new page is ready instantly — see ",[21,45,47],{"href":46},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules\u002F","Instant Navigation with Speculation Rules",[27,49,51],{"id":50},"step-1-opt-in-on-every-page","Step 1: Opt In on Every Page",[14,53,54],{},"Add the at-rule to the global stylesheet. Both the outgoing and incoming page must include it; putting it in the site-wide CSS handles that.",[56,57,62],"pre",{"className":58,"code":59,"language":60,"meta":61,"style":61},"language-css shiki shiki-themes github-light github-dark","\u002F* global.css *\u002F\n@view-transition {\n  navigation: auto;\n}\n","css","",[63,64,65,74,85,91],"code",{"__ignoreMap":61},[66,67,70],"span",{"class":68,"line":69},"line",1,[66,71,73],{"class":72},"sJ8bj","\u002F* global.css *\u002F\n",[66,75,77,81],{"class":68,"line":76},2,[66,78,80],{"class":79},"szBVR","@view-transition",[66,82,84],{"class":83},"sVt8B"," {\n",[66,86,88],{"class":68,"line":87},3,[66,89,90],{"class":83},"  navigation: auto;\n",[66,92,94],{"class":68,"line":93},4,[66,95,96],{"class":83},"}\n",[14,98,99],{},"That alone produces a default cross-fade of about 250 ms between pages on same-origin navigations in supporting browsers. Browsers without support ignore it.",[27,101,103],{"id":102},"step-2-name-the-persistent-elements","Step 2: Name the Persistent Elements",[14,105,106,107,110],{},"Elements with a ",[63,108,109],{},"view-transition-name"," are captured separately and animated from their old position and size to their new one. Give names to the elements that exist on both pages and should look continuous — the header, the sidebar, the page title.",[56,112,114],{"className":58,"code":113,"language":60,"meta":61,"style":61},".site-header { view-transition-name: site-header; }\n.docs-sidebar { view-transition-name: docs-sidebar; }\nmain h1 { view-transition-name: page-title; }\n\n\u002F* keep the header perfectly still instead of cross-fading *\u002F\n::view-transition-old(site-header),\n::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }\n\n\u002F* slide the main content slightly *\u002F\n::view-transition-old(root) { animation: 160ms ease-in both vt-fade-out; }\n::view-transition-new(root) { animation: 200ms ease-out both vt-slide-in; }\n@keyframes vt-fade-out { to { opacity: 0; } }\n@keyframes vt-slide-in { from { opacity: 0; transform: translateY(8px); } }\n",[63,115,116,131,143,159,165,171,183,217,222,228,253,276,304],{"__ignoreMap":61},[66,117,118,122,125,128],{"class":68,"line":69},[66,119,121],{"class":120},"sScJk",".site-header",[66,123,124],{"class":83}," { ",[66,126,109],{"class":127},"sj4cs",[66,129,130],{"class":83},": site-header; }\n",[66,132,133,136,138,140],{"class":68,"line":76},[66,134,135],{"class":120},".docs-sidebar",[66,137,124],{"class":83},[66,139,109],{"class":127},[66,141,142],{"class":83},": docs-sidebar; }\n",[66,144,145,149,152,154,156],{"class":68,"line":87},[66,146,148],{"class":147},"s9eBZ","main",[66,150,151],{"class":147}," h1",[66,153,124],{"class":83},[66,155,109],{"class":127},[66,157,158],{"class":83},": page-title; }\n",[66,160,161],{"class":68,"line":93},[66,162,164],{"emptyLinePlaceholder":163},true,"\n",[66,166,168],{"class":68,"line":167},5,[66,169,170],{"class":72},"\u002F* keep the header perfectly still instead of cross-fading *\u002F\n",[66,172,174,177,180],{"class":68,"line":173},6,[66,175,176],{"class":83},"::view-transition-old(",[66,178,179],{"class":147},"site-header",[66,181,182],{"class":83},"),\n",[66,184,186,189,191,194,197,200,203,206,209,211,214],{"class":68,"line":185},7,[66,187,188],{"class":83},"::view-transition-new(",[66,190,179],{"class":147},[66,192,193],{"class":83},") { ",[66,195,196],{"class":127},"animation",[66,198,199],{"class":83},": ",[66,201,202],{"class":127},"none",[66,204,205],{"class":83},"; ",[66,207,208],{"class":127},"mix-blend-mode",[66,210,199],{"class":83},[66,212,213],{"class":127},"normal",[66,215,216],{"class":83},"; }\n",[66,218,220],{"class":68,"line":219},8,[66,221,164],{"emptyLinePlaceholder":163},[66,223,225],{"class":68,"line":224},9,[66,226,227],{"class":72},"\u002F* slide the main content slightly *\u002F\n",[66,229,231,234,236,238,241,244,247,250],{"class":68,"line":230},10,[66,232,233],{"class":83},"::view-transition-old(root) { ",[66,235,196],{"class":127},[66,237,199],{"class":83},[66,239,240],{"class":127},"160",[66,242,243],{"class":79},"ms",[66,245,246],{"class":127}," ease-in",[66,248,249],{"class":127}," both",[66,251,252],{"class":83}," vt-fade-out; }\n",[66,254,256,259,261,263,266,268,271,273],{"class":68,"line":255},11,[66,257,258],{"class":83},"::view-transition-new(root) { ",[66,260,196],{"class":127},[66,262,199],{"class":83},[66,264,265],{"class":127},"200",[66,267,243],{"class":79},[66,269,270],{"class":127}," ease-out",[66,272,249],{"class":127},[66,274,275],{"class":83}," vt-slide-in; }\n",[66,277,279,282,286,288,291,293,296,298,301],{"class":68,"line":278},12,[66,280,281],{"class":79},"@keyframes",[66,283,285],{"class":284},"s4XuR"," vt-fade-out",[66,287,124],{"class":83},[66,289,290],{"class":120},"to",[66,292,124],{"class":83},[66,294,295],{"class":127},"opacity",[66,297,199],{"class":83},[66,299,300],{"class":127},"0",[66,302,303],{"class":83},"; } }\n",[66,305,307,309,312,314,317,319,321,323,325,327,330,332,335,338,341,344],{"class":68,"line":306},13,[66,308,281],{"class":79},[66,310,311],{"class":284}," vt-slide-in",[66,313,124],{"class":83},[66,315,316],{"class":120},"from",[66,318,124],{"class":83},[66,320,295],{"class":127},[66,322,199],{"class":83},[66,324,300],{"class":127},[66,326,205],{"class":83},[66,328,329],{"class":127},"transform",[66,331,199],{"class":83},[66,333,334],{"class":127},"translateY",[66,336,337],{"class":83},"(",[66,339,340],{"class":127},"8",[66,342,343],{"class":79},"px",[66,345,346],{"class":83},"); } }\n",[14,348,349,350,353],{},"Names must be unique on a page at the moment of the transition. A name used on two elements aborts the transition. On list pages where you want a card to morph into the article's hero, generate unique names per item from the slug (",[63,351,352],{},"view-transition-name: card-{{ slug }}",") and apply the same name to the hero on the article page.",[355,356,357,502],"figure",{},[358,359,366,367,366,371,366,375,366,381,366,487],"svg",{"viewBox":360,"role":361,"ariaLabelledBy":362,"xmlns":365},"0 0 760 290","img",[363,364],"vtm-parts-title","vtm-parts-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[368,369,370],"title",{"id":363},"What a cross-document view transition animates",[372,373,374],"desc",{"id":364},"Two page wireframes side by side, old and new. The header has the same view-transition-name on both and stays still. The sidebar keeps its name and stays in place with its active item updated. The page title morphs from the old title position to the new one. The rest of the page, the root, fades out and the new content slides in by 8 pixels.",[376,377],"rect",{"x":300,"y":300,"width":378,"height":379,"fill":380},"760","290","#ffffff",[382,383,385,386,385,394,385,401,385,411,385,415,385,421,385,426,385,433,385,438,385,444,385,448,385,452,385,455,385,458,385,460,385,463,385,466,385,470,385,475,385,478,385,483,366],"g",{"style":384},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[387,388,393],"text",{"x":389,"y":390,"fill":391,"style":392},"380","28","#1f2937","font-size:16px;font-weight:700;text-anchor:middle","Named parts stay continuous; the rest cross-fades",[387,395,400],{"x":396,"y":397,"fill":398,"style":399},"180","54","#556071","font-size:11px;text-anchor:middle","old page",[376,402],{"x":403,"y":404,"width":405,"height":406,"rx":407,"fill":408,"opacity":409,"stroke":408,"style":410},"40","62","280","30","4","#6a4c93","0.2","stroke-width:1px",[387,412,179],{"x":396,"y":413,"fill":391,"style":414},"82","text-anchor:middle",[376,416],{"x":403,"y":417,"width":418,"height":240,"rx":407,"fill":419,"opacity":420,"stroke":419,"style":410},"98","70","#1982c4","0.15",[387,422,425],{"x":423,"y":424,"fill":391,"style":399},"75","182","sidebar",[376,427],{"x":428,"y":417,"width":265,"height":429,"rx":407,"fill":430,"opacity":431,"stroke":432,"style":410},"120","26","#ffca3a","0.35","#a97b00",[387,434,437],{"x":435,"y":436,"fill":391,"style":399},"220","116","page-title: Caching",[376,439],{"x":428,"y":440,"width":265,"height":441,"rx":407,"fill":442,"stroke":443,"style":410},"130","128","#f8fafc","#d9e2ef",[387,445,447],{"x":435,"y":446,"fill":398,"style":399},"198","root: fades out 160 ms",[387,449,451],{"x":450,"y":397,"fill":398,"style":399},"580","new page",[376,453],{"x":454,"y":404,"width":405,"height":406,"rx":407,"fill":408,"opacity":409,"stroke":408,"style":410},"440",[387,456,457],{"x":450,"y":413,"fill":391,"style":414},"site-header (no animation)",[376,459],{"x":454,"y":417,"width":418,"height":240,"rx":407,"fill":419,"opacity":420,"stroke":419,"style":410},[387,461,425],{"x":462,"y":424,"fill":391,"style":399},"475",[376,464],{"x":465,"y":417,"width":265,"height":429,"rx":407,"fill":430,"opacity":431,"stroke":432,"style":410},"520",[387,467,469],{"x":468,"y":436,"fill":391,"style":399},"620","page-title: Rollbacks",[376,471],{"x":465,"y":440,"width":265,"height":441,"rx":407,"fill":472,"opacity":473,"stroke":474,"style":410},"#8ac926","0.14","#5a8a16",[387,476,477],{"x":468,"y":446,"fill":391,"style":399},"root: slides in 200 ms",[479,480],"path",{"d":481,"stroke":398,"fill":202,"style":482},"M322 111 L516 111","stroke-width:2px;stroke-dasharray:5 4;marker-end:url(#vtm-arrow)",[387,484,486],{"x":485,"y":405,"fill":398,"style":399},"420","Total visible transition: 200 ms, starting after the new page's first frame is ready",[488,489,385,490,366],"defs",{},[491,492,498,499,385],"marker",{"id":493,"viewBox":494,"refX":340,"refY":495,"markerWidth":496,"markerHeight":496,"orient":497},"vtm-arrow","0 0 10 10","5","7","auto-start-reverse","\n      ",[479,500],{"d":501,"fill":398},"M0 0 L10 5 L0 10 z",[503,504,505],"figcaption",{},"Keeping the header and sidebar still is most of the effect; readers perceive the site as one continuous surface.",[27,507,509],{"id":508},"step-3-respect-reduced-motion","Step 3: Respect Reduced Motion",[14,511,512],{},"Readers who have asked their operating system for reduced motion should get an instant swap, not a slide:",[56,514,516],{"className":58,"code":515,"language":60,"meta":61,"style":61},"@media (prefers-reduced-motion: reduce) {\n  @view-transition { navigation: none; }\n}\n",[63,517,518,526,534],{"__ignoreMap":61},[66,519,520,523],{"class":68,"line":69},[66,521,522],{"class":79},"@media",[66,524,525],{"class":83}," (prefers-reduced-motion: reduce) {\n",[66,527,528,531],{"class":68,"line":76},[66,529,530],{"class":79},"  @view-transition",[66,532,533],{"class":83}," { navigation: none; }\n",[66,535,536],{"class":68,"line":87},[66,537,96],{"class":83},[14,539,540],{},"Disabling the transition entirely is simpler and more predictable than trying to design a \"gentler\" animation, and it is what most readers with the setting enabled expect.",[27,542,544],{"id":543},"step-4-keep-the-transition-from-hurting-metrics","Step 4: Keep the Transition From Hurting Metrics",[14,546,547],{},"Three checks keep view transitions from costing anything measurable.",[14,549,550,554,555,559,560,563],{},[551,552,553],"strong",{},"LCP."," The browser only starts the transition once the new page has produced its first rendered frame, and LCP is measured on the new page as normal. The transition animation does not delay the LCP timestamp. It can, however, delay the moment content appears ",[556,557,558],"em",{},"visually"," if the incoming animation starts at ",[63,561,562],{},"opacity: 0"," and runs long; keep the incoming animation at or below 200 ms.",[14,565,566,569,570,25],{},[551,567,568],{},"CLS."," Elements moving as part of a view transition are not counted as layout shifts. But the transition can reveal shifts that happen after it ends — a web font swap or a late image resizing the title — more obviously, because the reader's eye is following the animated element. Fix those first; see ",[21,571,573],{"href":572},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Feliminating-layout-shift-from-web-fonts\u002F","Eliminating Layout Shift from Web Fonts",[14,575,576,579,580,583],{},[551,577,578],{},"Render-blocking."," The new page must not be held back waiting for the transition. Avoid ",[63,581,582],{},"\u003Clink rel=\"expect\">"," render-blocking hints unless you know you need them, and never add a large stylesheet only for transition effects; the rules above add under 1 KB.",[27,585,587],{"id":586},"measured-impact","Measured Impact",[14,589,590],{},"The docs site measured before and after enabling transitions, with speculation rules already in place. Lab numbers from Lighthouse user flows (navigation from one guide to the next); field numbers from RUM over two weeks each, Chrome only.",[592,593,594,610],"table",{},[595,596,597],"thead",{},[598,599,600,604,607],"tr",{},[601,602,603],"th",{},"Measure",[601,605,606],{},"Without transitions",[601,608,609],{},"With transitions",[611,612,613,625,635,646,656,667],"tbody",{},[598,614,615,619,622],{},[616,617,618],"td",{},"CSS added",[616,620,621],{},"—",[616,623,624],{},"0.7 KB",[598,626,627,630,632],{},[616,628,629],{},"JavaScript added",[616,631,621],{},[616,633,634],{},"0 KB",[598,636,637,640,643],{},[616,638,639],{},"Field LCP p75, internal navigations",[616,641,642],{},"310 ms",[616,644,645],{},"320 ms",[598,647,648,651,654],{},[616,649,650],{},"Field CLS p75",[616,652,653],{},"0.02",[616,655,653],{},[598,657,658,661,664],{},[616,659,660],{},"Field INP p75",[616,662,663],{},"88 ms",[616,665,666],{},"86 ms",[598,668,669,672,675],{},[616,670,671],{},"Pages per session (docs section)",[616,673,674],{},"3.9",[616,676,677],{},"4.1",[355,679,680,790],{},[358,681,366,686,366,689,366,692,366,695],{"viewBox":682,"role":361,"ariaLabelledBy":683,"xmlns":365},"0 0 760 270",[684,685],"vtm-cost-title","vtm-cost-desc",[368,687,688],{"id":684},"Core Web Vitals with and without view transitions",[372,690,691],{"id":685},"Three pairs of bars comparing field p75 values without and with transitions. LCP for internal navigations was 310 and 320 milliseconds. INP was 88 and 86 milliseconds. CLS was 0.02 in both cases. The differences are within normal week-to-week variation.",[376,693],{"x":300,"y":300,"width":378,"height":694,"fill":380},"270",[382,696,385,697,385,700,385,706,385,710,385,717,385,721,385,725,385,730,385,733,385,737,385,741,385,744,385,747,385,751,385,754,385,758,385,762,385,766,385,769,385,772,385,777,385,783,385,786,366],{"style":384},[387,698,699],{"x":389,"y":390,"fill":391,"style":392},"Polish without a performance bill (field p75, Chrome)",[387,701,705],{"x":702,"y":703,"fill":391,"style":704},"140","60","font-weight:700;text-anchor:middle","LCP (ms)",[68,707],{"x1":703,"y1":708,"x2":435,"y2":708,"stroke":398,"style":709},"210","stroke-width:1.5px",[376,711],{"x":712,"y":713,"width":714,"height":715,"fill":419,"opacity":716,"stroke":419,"style":410},"80","86","50","124","0.25",[387,718,720],{"x":719,"y":712,"fill":391,"style":414},"105","310",[376,722],{"x":723,"y":413,"width":714,"height":441,"fill":408,"opacity":724,"stroke":408,"style":410},"150","0.3",[387,726,729],{"x":727,"y":728,"fill":391,"style":414},"175","76","320",[387,731,732],{"x":389,"y":703,"fill":391,"style":704},"INP (ms)",[68,734],{"x1":735,"y1":708,"x2":736,"y2":708,"stroke":398,"style":709},"300","460",[376,738],{"x":729,"y":739,"width":714,"height":740,"fill":419,"opacity":716,"stroke":419,"style":410},"122","88",[387,742,740],{"x":743,"y":436,"fill":391,"style":414},"345",[376,745],{"x":746,"y":715,"width":714,"height":713,"fill":408,"opacity":724,"stroke":408,"style":410},"390",[387,748,713],{"x":749,"y":750,"fill":391,"style":414},"415","118",[387,752,753],{"x":468,"y":703,"fill":391,"style":704},"CLS",[68,755],{"x1":756,"y1":708,"x2":757,"y2":708,"stroke":398,"style":709},"540","700",[376,759],{"x":760,"y":761,"width":714,"height":403,"fill":419,"opacity":716,"stroke":419,"style":410},"560","170",[387,763,653],{"x":764,"y":765,"fill":391,"style":414},"585","164",[376,767],{"x":768,"y":761,"width":714,"height":403,"fill":408,"opacity":724,"stroke":408,"style":410},"630",[387,770,653],{"x":771,"y":765,"fill":391,"style":414},"655",[376,773],{"x":774,"y":775,"width":776,"height":776,"fill":419,"opacity":716,"stroke":419,"style":410},"240","232","12",[387,778,782],{"x":779,"y":780,"fill":398,"style":781},"258","242","font-size:11px","without transitions",[376,784],{"x":785,"y":775,"width":776,"height":776,"fill":408,"opacity":724,"stroke":408,"style":410},"400",[387,787,789],{"x":788,"y":780,"fill":398,"style":781},"418","with transitions",[503,791,792],{},"Differences of this size are inside normal fortnight-to-fortnight noise; the transitions cost nothing measurable.",[27,794,796],{"id":795},"native-transitions-or-a-client-router","Native Transitions or a Client Router?",[14,798,799,800,803,804,807,808,811],{},"Astro's ",[63,801,802],{},"\u003CClientRouter \u002F>"," (formerly ",[63,805,806],{},"\u003CViewTransitions \u002F>",") and similar routers intercept link clicks, fetch the next page with JavaScript and swap the DOM, animating with the same view transition API. That works in browsers without native cross-document support and allows persistent state such as a playing video across pages. It also ships a router of roughly 12–15 KB, changes navigation semantics (scripts must handle re-initialisation on ",[63,809,810],{},"astro:page-load","), and turns every navigation into JavaScript work, which on the docs site raised INP p75 on navigation-heavy sessions by about 20 ms.",[355,813,814,890],{},[358,815,366,820,366,823,366,826,366,829],{"viewBox":816,"role":361,"ariaLabelledBy":817,"xmlns":365},"0 0 760 260",[818,819],"vtm-router-title","vtm-router-desc",[368,821,822],{"id":818},"Native cross-document transitions versus a client router",[372,824,825],{"id":819},"Two columns. Native cross-document transitions: 0 kilobytes of JavaScript, normal page loads, scripts run as usual, fallback is ordinary navigation, INP unchanged. Client router: about 12 to 15 kilobytes of JavaScript, DOM swaps, scripts must re-initialise on a page-load event, works in more browsers, INP about 20 milliseconds higher in navigation-heavy sessions.",[376,827],{"x":300,"y":300,"width":378,"height":828,"fill":380},"260",[382,830,385,831,385,834,385,840,385,846,385,850,385,853,385,857,385,861,385,867,385,869,385,873,385,877,385,880,385,883,385,886,366],{"style":384},[387,832,833],{"x":389,"y":390,"fill":391,"style":392},"Two ways to animate between pages",[376,835],{"x":403,"y":836,"width":837,"height":838,"rx":776,"fill":472,"opacity":839,"stroke":474,"style":709},"48","330","190","0.1",[387,841,845],{"x":842,"y":843,"fill":391,"style":844},"205","74","font-size:14px;font-weight:700;text-anchor:middle","Native cross-document",[387,847,849],{"x":404,"y":848,"fill":391},"104","0 KB JavaScript",[387,851,852],{"x":404,"y":441,"fill":391},"real page loads, scripts unchanged",[387,854,856],{"x":404,"y":855,"fill":391},"152","fallback: normal navigation",[387,858,860],{"x":404,"y":859,"fill":391},"176","INP unchanged",[387,862,866],{"x":404,"y":863,"fill":864,"style":865},"214","#3f6410","font-size:11px;font-weight:700","default for content sites",[376,868],{"x":746,"y":836,"width":837,"height":838,"rx":776,"fill":430,"opacity":473,"stroke":432,"style":709},[387,870,872],{"x":871,"y":843,"fill":391,"style":844},"555","Client router",[387,874,876],{"x":875,"y":848,"fill":391},"412","~12–15 KB router",[387,878,879],{"x":875,"y":441,"fill":391},"DOM swap, scripts re-initialise",[387,881,882],{"x":875,"y":855,"fill":391},"works where native is missing",[387,884,885],{"x":875,"y":859,"fill":391},"INP +~20 ms on busy sessions",[387,887,889],{"x":875,"y":863,"fill":888,"style":865},"#8a6d0f","only for state across pages",[503,891,892],{},"The router buys broader support and persistent state; for documentation and blogs, neither is usually worth its cost.",[14,894,895],{},"For content sites, native cross-document transitions are the better default: no JavaScript, no change in how scripts run, and graceful fallback to ordinary navigation. Reach for a client router only when you need state that survives navigation.",[27,897,899],{"id":898},"debugging-a-transition-that-looks-wrong","Debugging a Transition That Looks Wrong",[14,901,902,903,906,907,910,911,914,915,917,918,25],{},"When a transition flickers, jumps or does not run, three tools find the cause quickly. Chrome DevTools' Animations panel captures view transitions; slow them to 10% speed and step through to see which named element is misbehaving. The Elements panel shows the ",[63,904,905],{},"::view-transition"," pseudo-element tree during a paused transition, which makes duplicate or missing names obvious. And the console logs an explicit error when a transition is skipped because two elements share a name, which is the most common reason one silently fails to run on list pages. A final check is to test with the CPU throttled four times in DevTools: an animation that looks smooth on a laptop can stutter on a phone if it animates properties such as ",[63,908,909],{},"width"," or ",[63,912,913],{},"top"," instead of ",[63,916,329],{}," and ",[63,919,295],{},[27,921,923],{"id":922},"pitfalls-rollback","Pitfalls & Rollback",[32,925,926,935,941,950,960,966],{},[35,927,928,931,932,934],{},[551,929,930],{},"Duplicate names."," Two elements with the same ",[63,933,109],{}," on one page abort the transition. Generate names from unique slugs on list pages.",[35,936,937,940],{},[551,938,939],{},"Long animations."," Anything over about 300 ms makes navigation feel slower, not smoother. Keep incoming animations near 200 ms.",[35,942,943,946,947,25],{},[551,944,945],{},"Ignoring reduced motion."," Always disable transitions under ",[63,948,949],{},"prefers-reduced-motion: reduce",[35,951,952,955,956,959],{},[551,953,954],{},"Naming large, changing elements."," Naming the whole ",[63,957,958],{},"\u003Cmain>"," makes the browser morph between two very different sizes, which looks like a glitch. Name stable elements; let the root cross-fade.",[35,961,962,965],{},[551,963,964],{},"Transitions on external or download links."," Cross-document transitions only run on same-origin navigations; do not design flows that assume an animation when leaving the site or opening a file.",[35,967,968,971,972,974],{},[551,969,970],{},"Rollback:"," delete the ",[63,973,80],{}," rule. Navigation reverts to the default immediately, with no other effect.",[27,976,978],{"id":977},"conclusion","Conclusion",[14,980,981],{},"Cross-document view transitions give a multi-page static site the one thing it lacked compared with an app: continuity between pages. The whole feature is under 1 KB of CSS — an opt-in rule, a few element names, a reduced-motion override — with no JavaScript and no measurable effect on LCP, INP or CLS on the docs site tested. Combined with speculation rules, navigations become instant and visually continuous, which is most of what readers mean when they say a site \"feels fast\".",[27,983,985],{"id":984},"faq","FAQ",[987,988,990],"h3",{"id":989},"do-cross-document-view-transitions-need-javascript","Do cross-document view transitions need JavaScript?",[14,992,993],{},"No. Both pages opt in with the @view-transition CSS at-rule, and the browser handles snapshotting and animating. JavaScript is only needed for advanced cases such as choosing a different animation per navigation type.",[987,995,997],{"id":996},"do-view-transitions-affect-core-web-vitals","Do view transitions affect Core Web Vitals?",[14,999,1000],{},"They do not delay LCP, because the transition begins after the new page has rendered its first frame. Elements animated by the transition do not count as layout shifts. Long or complex animations can make the page feel slower, so keep them short.",[987,1002,1004],{"id":1003},"what-happens-in-browsers-without-support","What happens in browsers without support?",[14,1006,1007],{},"They ignore the at-rule and navigate normally, with no animation. The feature is a progressive enhancement and never breaks navigation.",[987,1009,1011],{"id":1010},"should-i-use-astros-clientrouter-or-native-cross-document-transitions","Should I use Astro's ClientRouter or native cross-document transitions?",[14,1013,1014],{},"Prefer native cross-document transitions for static content sites. They need no client-side router or JavaScript. Astro's ClientRouter adds a router so transitions also work in browsers without native support, at the cost of shipping and running that router.",[27,1016,1018],{"id":1017},"related","Related",[32,1020,1021,1030,1035,1042,1049],{},[35,1022,1023,1026,1027,1029],{},[551,1024,1025],{},"Parent:"," ",[21,1028,24],{"href":23}," — navigation speed techniques together.",[35,1031,1032,1034],{},[21,1033,47],{"href":46}," — making the incoming page ready before the click.",[35,1036,1037,1041],{},[21,1038,1040],{"href":1039},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro\u002F","Prefetching Links in Astro"," — and how ClientRouter changes prefetch defaults.",[35,1043,1044,1048],{},[21,1045,1047],{"href":1046},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-sticky-headers-and-anchor-links\u002F","Fixing CLS from Sticky Headers and Anchor Links"," — stabilising the header you name.",[35,1050,1051,1055],{},[21,1052,1054],{"href":1053},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance\u002F","Astro Islands vs Full Hydration Performance"," — why avoiding a router keeps INP low.",[1057,1058,1059],"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 .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 .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 pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":61,"searchDepth":76,"depth":76,"links":1061},[1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1078],{"id":29,"depth":76,"text":30},{"id":50,"depth":76,"text":51},{"id":102,"depth":76,"text":103},{"id":508,"depth":76,"text":509},{"id":543,"depth":76,"text":544},{"id":586,"depth":76,"text":587},{"id":795,"depth":76,"text":796},{"id":898,"depth":76,"text":899},{"id":922,"depth":76,"text":923},{"id":977,"depth":76,"text":978},{"id":984,"depth":76,"text":985,"children":1073},[1074,1075,1076,1077],{"id":989,"depth":87,"text":990},{"id":996,"depth":87,"text":997},{"id":1003,"depth":87,"text":1004},{"id":1010,"depth":87,"text":1011},{"id":1017,"depth":76,"text":1018},[1080,1083,1086,1087],{"name":1081,"item":1082},"Home","\u002F",{"name":1084,"item":1085},"Performance Optimization & Core Web Vitals for SSGs","\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002F",{"name":24,"item":23},{"name":5,"item":1088},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites\u002F","2026-09-18","Add cross-document view transitions to a static site with CSS alone: opt-in rules, named elements, reduced motion, avoiding layout shift, and the measured cost.","md",[1093,1094,1095,1096],{"q":990,"a":993},{"q":997,"a":1000},{"q":1004,"a":1007},{"q":1011,"a":1014},{},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites",{"title":5,"description":1090},"performance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites\u002Findex","article","jEOpxNvto5vvH0BwRehb00nr5FrsmQzmWu3AeNjsJU4",[1104,1107,1110,1113,1116,1119,1122,1125,1128,1131,1134,1137,1140,1143,1146,1149,1152,1155,1158,1161,1164,1167,1170,1173,1176,1179,1182,1185,1188,1191,1194,1197,1200,1203,1206,1209,1212,1215,1218,1221,1224,1227,1230,1233,1236,1239,1242,1245,1248,1251,1254,1257,1260,1263,1266,1269,1272,1275,1278,1281,1284,1287,1290,1293,1295,1298,1301,1304,1307,1310,1313,1316,1319,1322,1325,1328,1331,1334,1337,1340,1343,1346,1348,1351,1354,1357,1360,1363,1366,1369,1372,1375,1378,1381,1384,1387,1390,1393,1396,1399,1402,1405,1407,1409,1412,1414,1415,1418,1421,1424,1427,1430,1433,1436,1439,1442,1445,1448,1451,1454,1457,1460,1463,1466,1469,1472,1475,1478,1481,1484,1487,1490,1493,1496,1499,1502,1505,1508,1511,1514,1517,1520,1523,1526,1529,1532,1535,1538,1541,1544,1547,1550,1553,1556,1559,1562,1565,1568,1571,1574,1577,1580,1583,1586,1589,1592,1595,1598,1601,1604,1607,1610,1613,1616,1619,1622,1625,1628,1631,1634,1637,1640,1643],{"path":1105,"title":1106},"\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":1108,"title":1109},"\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":1111,"title":1112},"\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":1114,"title":1115},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1117,"title":1118},"\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":1120,"title":1121},"\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":1123,"title":1124},"\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":1126,"title":1127},"\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":1129,"title":1130},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1132,"title":1133},"\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":1135,"title":1136},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1138,"title":1139},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1141,"title":1142},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1144,"title":1145},"\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":1147,"title":1148},"\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":1150,"title":1151},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1153,"title":1154},"\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":1156,"title":1157},"\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":1159,"title":1160},"\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":1162,"title":1163},"\u002Fchoosing-the-right-static-site-generator-for-production","Choosing the Right Static Site Generator for Production",{"path":1165,"title":1166},"\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":1168,"title":1169},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1171,"title":1172},"\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":1174,"title":1175},"\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":1177,"title":1178},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1180,"title":1181},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1183,"title":1184},"\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":1186,"title":1187},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1189,"title":1190},"\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":1192,"title":1193},"\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":1195,"title":1196},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1198,"title":1199},"\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":1201,"title":1202},"\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":1204,"title":1205},"\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":1207,"title":1208},"\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":1210,"title":1211},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1213,"title":1214},"\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":1216,"title":1217},"\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":1219,"title":1220},"\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":1222,"title":1223},"\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":1225,"title":1226},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site","Adding Pagefind to an Astro Site",{"path":1228,"title":1229},"\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":1231,"title":1232},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1234,"title":1235},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1237,"title":1238},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1240,"title":1241},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1243,"title":1244},"\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":1246,"title":1247},"\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":1249,"title":1250},"\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":1252,"title":1253},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1255,"title":1256},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1258,"title":1259},"\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":1261,"title":1262},"\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":1264,"title":1265},"\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":1267,"title":1268},"\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":1270,"title":1271},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1273,"title":1274},"\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":1276,"title":1277},"\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":1279,"title":1280},"\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":1282,"title":1283},"\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":1285,"title":1286},"\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":1288,"title":1289},"\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":1291,"title":1292},"\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":1294,"title":1047},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-sticky-headers-and-anchor-links",{"path":1296,"title":1297},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":1299,"title":1300},"\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":1302,"title":1303},"\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":1305,"title":1306},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":1308,"title":1309},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":1311,"title":1312},"\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":1314,"title":1315},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":1317,"title":1318},"\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":1320,"title":1321},"\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":1323,"title":1324},"\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":1326,"title":1327},"\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":1329,"title":1330},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":1332,"title":1333},"\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":1335,"title":1336},"\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":1338,"title":1339},"\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":1341,"title":1342},"\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":1344,"title":1345},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":1347,"title":1054},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance",{"path":1349,"title":1350},"\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":1352,"title":1353},"\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":1355,"title":1356},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":1358,"title":1359},"\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":1361,"title":1362},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":1364,"title":1365},"\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":1367,"title":1368},"\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":1370,"title":1371},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":1373,"title":1374},"\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":1376,"title":1377},"\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":1379,"title":1380},"\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":1382,"title":1383},"\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":1385,"title":1386},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":1388,"title":1389},"\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":1391,"title":1392},"\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":1394,"title":1395},"\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":1397,"title":1398},"\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":1400,"title":1401},"\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":1403,"title":1404},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":1406,"title":24},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed",{"path":1408,"title":47},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules",{"path":1410,"title":1411},"\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":1413,"title":1040},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro",{"path":1098,"title":5},{"path":1416,"title":1417},"\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":1419,"title":1420},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":1422,"title":1423},"\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":1425,"title":1426},"\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":1428,"title":1429},"\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":1431,"title":1432},"\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":1434,"title":1435},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":1437,"title":1438},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":1440,"title":1441},"\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":1443,"title":1444},"\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":1446,"title":1447},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":1449,"title":1450},"\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":1452,"title":1453},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":1455,"title":1456},"\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":1458,"title":1459},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":1461,"title":1462},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":1464,"title":1465},"\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":1467,"title":1468},"\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":1470,"title":1471},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":1473,"title":1474},"\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":1476,"title":1477},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":1479,"title":1480},"\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":1482,"title":1483},"\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":1485,"title":1486},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":1488,"title":1489},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":1491,"title":1492},"\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":1494,"title":1495},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":1497,"title":1498},"\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":1500,"title":1501},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":1503,"title":1504},"\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":1506,"title":1507},"\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":1509,"title":1510},"\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":1512,"title":1513},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":1515,"title":1516},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":1518,"title":1519},"\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":1521,"title":1522},"\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":1524,"title":1525},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":1527,"title":1528},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":1530,"title":1531},"\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":1533,"title":1534},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":1536,"title":1537},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":1539,"title":1540},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":1542,"title":1543},"\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":1545,"title":1546},"\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":1548,"title":1549},"\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":1551,"title":1552},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fautomating-preview-deploy-pipelines-with-github-actions","Automating Preview Deploy Pipelines with GitHub Actions",{"path":1554,"title":1555},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":1557,"title":1558},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":1560,"title":1561},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":1563,"title":1564},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":1566,"title":1567},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":1569,"title":1570},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":1572,"title":1573},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":1575,"title":1576},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":1578,"title":1579},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":1581,"title":1582},"\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":1584,"title":1585},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url","Running Smoke Tests Against a Preview URL",{"path":1587,"title":1588},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":1590,"title":1591},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":1593,"title":1594},"\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":1596,"title":1597},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":1599,"title":1600},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":1602,"title":1603},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":1605,"title":1606},"\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":1608,"title":1609},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":1611,"title":1612},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":1614,"title":1615},"\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":1617,"title":1618},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":1620,"title":1621},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":1623,"title":1624},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":1626,"title":1627},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":1629,"title":1630},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers","Adding a Contact Form with Cloudflare Workers",{"path":1632,"title":1633},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site","Handling Form Submissions on a Static Site",{"path":1635,"title":1636},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":1638,"title":1639},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":1641,"title":1642},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":1644,"title":1645},"\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",1789722847853]