@@ -55,14 +55,12 @@ import Layout from '../layouts/Layout.astro'
5555
5656 <h3 id =" mpa" >Multi-Page Application (MPA)</h3 >
5757 <p >
58- In an MPA, each navigation triggers a full browser request and the server
59- responds with a complete HTML document. HTML is generated on the server
60- per request, so the browser always receives ready-to-display content.
61- JavaScript is optional and typically used only for progressive
62- enhancement. In-memory state is lost on every navigation. Because content
63- is present in the initial HTML response, MPAs are naturally SEO-friendly.
64- The server must be capable of rendering and serving a full page for every
65- route.
58+ In an MPA, each navigation triggers a `document` request by the browser
59+ and the server (or CDN) responds with a complete HTML document, so the
60+ browser always receives ready-to-display content. JavaScript is optional
61+ and typically used only for progressive enhancement. In-memory state is
62+ lost on every navigation. Because content is present in the initial HTML
63+ response, MPAs are naturally SEO-friendly.
6664 </p >
6765
6866 <h3 id =" spa" >Single-Page Application (SPA)</h3 >
@@ -71,12 +69,12 @@ import Layout from '../layouts/Layout.astro'
7169 navigation is handled client-side by JavaScript, without full page
7270 reloads. HTML is generated in the browser, typically by a JavaScript
7371 framework rendering components on demand. On initial load the browser
74- receives a minimal document and must download and execute JS before
75- content appears. Subsequent navigations fetch only data (e.g. via API
76- calls), keeping the page transition fast. In-memory state persists across
77- navigation. Because the initial HTML shell contains little content, SPAs
78- require extra effort (SSR, prerendering) for good SEO. The server only
79- needs to serve static assets.
72+ typically receives a minimal document and must download and execute JS
73+ before content appears. Subsequent navigations fetch only data (e.g. via
74+ API calls), keeping the page transition fast. In-memory state persists
75+ across navigation. Because the initial HTML shell contains little content,
76+ SPAs require extra effort (SSR, prerendering) for good SEO. The server
77+ only needs to serve static assets.
8078 </p >
8179 </section >
8280
0 commit comments