What Single-page application (SPA) means
SPAs feel smooth for dashboards, portals and tools. Built carelessly, they can be slow to first load and harder for search engines to index. For public content, frameworks like Next.js combine app-like navigation with search-friendly pages.
Why it matters for your website
SPAs can feel fast and app-like once loaded, which suits dashboards and tools. For marketing sites, though, they can hurt search visibility and first load speed if content depends entirely on JavaScript.
A hypothetical client portal where customers check project status is a good SPA, while the company's public service pages are better as regular pages.
Tips
- Use server rendering or pre-rendering for any page you want found in search.
- Make sure each view has its own real URL that can be shared and bookmarked.
- Track page views manually, since analytics may miss in-app navigation.
Common mistakes
- Building a whole marketing site as an SPA with content that only appears after scripts run.
- Breaking the browser back button by not updating the URL.

