Technical SEO

Make JavaScript pages discoverable

Search engines can render JavaScript, but relying on a delayed rendering stage can make discovery slower and debugging harder. Prerendering public content provides useful HTML immediately while preserving a consistent client experience.

Audit the first response

Inspect raw HTML before scripts execute. Confirm the page has its title, description, canonical URL, primary heading, meaningful body copy and crawlable internal links rather than only an empty application mount point.

  • Fetch representative routes without a browser
  • Compare metadata and body content against the rendered page
  • Check response status and canonical host

Choose a rendering model deliberately

Static generation works well for stable public pages, server rendering suits request-specific responses, and client rendering remains appropriate for many authenticated interactions. Avoid serving materially different content to crawlers and people.

  • Map page types to update and personalization needs
  • Keep user and crawler content consistent
  • Document how deep links reach the application

Keep metadata and schema route-specific

Each indexable URL should have a single appropriate canonical and metadata that matches its visible page. Structured data must describe content users can find on that route and should not duplicate definitions accidentally injected by multiple layers.

  • Validate canonical and social URL alignment
  • Parse JSON-LD across the entire response document
  • Compare schema claims with visible page content

Test hydration and routing

A prerendered response should hydrate without replacing correct content, losing focus or causing console errors. Verify direct navigation and refresh on nested routes as well as in-app transitions.

  • Test a deep link in a fresh browser context
  • Check console and hydration output
  • Compare pre-hydration and post-hydration content

Questions to keep in view

Does Google require server-side rendering?

No. Search engines may render JavaScript, but rendering infrastructure and timing are not guaranteed as part of the initial fetch. Choose a rendering approach based on user experience, reliability and content requirements.

Should a site expose every generated URL to search engines?

No. Publish only useful, canonical pages with a distinct user purpose. Parameter variants, empty states and near-duplicate pages should be controlled rather than mass-indexed.