All glossary terms
Technical

Static Site Generation (SSG)

Static Site Generation (SSG) is a rendering strategy where pages are pre-rendered as static HTML files at build time, served directly from a CDN without server computation on each request.

SSG produces the fastest possible pages — pre-built HTML served from edge CDN locations worldwide. TTFB is minimal because there is no server-side computation. This is ideal for content that does not change between requests: landing pages, blog posts, documentation, and glossary pages.

The limitation is that content is only updated when you rebuild and redeploy. For pages that need fresh data (dashboards, user-specific content), use SSR or ISR instead. In Next.js, pages without dynamic data fetching are automatically statically generated.

Use `generateStaticParams()` in Next.js to pre-render dynamic routes at build time. This is the recommended approach for programmatic SEO pages like glossary terms, use-case pages, and blog posts. Indxel's landing pages and glossary use SSG for maximum performance.

Example

// Next.js App Router — SSG with dynamic routes
// app/glossary/[slug]/page.tsx
export async function generateStaticParams() {
  return glossaryTerms.map((term) => ({
    slug: term.slug,
  }));
}

export default function GlossaryTermPage({
  params,
}: {
  params: { slug: string };
}) {
  const term = glossaryTerms.find((t) => t.slug === params.slug);
  return <article><h1>{term.term}</h1></article>;
}

Related terms

Server-Side Rendering (SSR)

Server-side rendering (SSR) is a technique where the web server generates the complete HTML for a page on each request, sending fully rendered content to the browser and search engine crawlers.

Incremental Static Regeneration (ISR)

Incremental Static Regeneration (ISR) is a Next.js rendering strategy that allows statically generated pages to be updated after deployment, either on a timed schedule or on-demand, without a full rebuild.

Page Speed

Page speed is the measurement of how quickly a web page's content loads and becomes interactive, typically measured by metrics like Time to First Byte (TTFB), First Contentful Paint (FCP), and Largest Contentful Paint (LCP).

Stop shipping broken SEO

Indxel validates your metadata, guards your CI/CD pipeline, and monitors indexation — so you never miss an SEO issue again.

Get startedBrowse glossary
Indxel

SEO validation that runs in your terminal and blocks bad deploys.

GitHubnpm

Product

  • Documentation
  • Pricing
  • Plus Plan
  • CI/CD Guard
  • Indexation
  • Free Tools
  • Blog

Comparisons

  • vs Semrush
  • vs Ahrefs
  • vs Moz
  • vs Screaming Frog
  • All comparisons

Integrations

  • Vercel
  • GitHub Actions
  • Netlify
  • Docker
  • All integrations

Resources

  • Frameworks & use cases
  • Next.js
  • For freelancers
  • For agencies
  • SEO Glossary

Built with care. MIT Licensed.

PrivacyTermsLegalContact