Joy ZhaoHire Me

SEO-First Web Product Architecture

Static generation, structured data, and sitemap strategies for building search-engine-friendly web products.

SEONext.jsArchitectureWeb

The Problem

Many web products are built as SPAs that search engines struggle to index. Calculator tools and content sites need to rank for high-intent keywords to drive organic traffic.

Architecture Decisions

Static Site Generation (SSG)

The US Mortgage Toolkit uses Next.js App Router with static generation:

  • Each calculator page is pre-rendered at build time
  • No server required for production — deploys to any CDN
  • Sub-second page loads globally via edge caching

Structured Data

Every calculator page includes JSON-LD schema:

  • FAQPage schema on FAQ sections
  • WebApplication schema on calculator pages
  • Proper meta tags with unique titles and descriptions per page

Automated Sitemap

A build-time script generates sitemap.xml by scanning the app directory:

  • All routes discovered automatically
  • Priority and changefreq assigned by page type
  • Blog posts get monthly, calculators get weekly

Core Web Vitals

  • Minimal JavaScript per page (calculator logic only)
  • No render-blocking third-party scripts
  • TailwindCSS purged to minimal CSS bundle
  • Static assets served from CDN with long cache headers

Content Strategy

Four blog articles target specific search intents:

  1. What is PMI?
  2. How much house can I afford?
  3. Mortgage vs rent
  4. 30-year vs 15-year mortgage

Each article links to relevant calculators, creating an internal linking structure that search engines reward.

Results-Oriented SEO

This isn't SEO tricks — it's architecture. When your tech stack choices (SSG, structured data, automated sitemaps) are made at the architecture level, SEO becomes a byproduct of good engineering.