Back to feed
Dev.to
Dev.to
7/11/2026
The original title is "Scaling a Static Site to 4,400 Pages Without Breaking Google" which is 10 words. Let me check the rules:

The original title is "Scaling a Static Site to 4,400 Pages Without Breaking Google" which is 10 words. Let me check the rules:

Original: Scaling a Static Site to 4,400 Pages Without Breaking Google

Short summary

A detailed engineering breakdown of scaling a static hotel-listing site to 4,400 pages using Astro 7. Key solutions include capping initial HTML at 400 cards for Googlebot's 2MB limit, hashing SEO fields to avoid spammy lastmod updates, pre-indexing search attributes for mobile filtering performance, and caching Notion's signed S3 images in Cloudflare R2. Achieved 91-95 PageSpeed mobile scores.

  • Capped initial HTML at 400 cards with lazy-loaded fragments to stay under Googlebot's 2MB truncation limit
  • Hashed SEO-relevant fields to only update lastmod on genuinely changed pages, with cascading updates to parent listing pages
  • Moved image pipeline to Cloudflare R2 to bypass Vercel's 1.5GB cache limit and process zero images unless content changed

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more