How One Developer Scaled a Static Site to 4,400 Pages While Staying SEO-Friendly
A developer built Luxury Hotel Offers, a fully static website generating 4,400 HTML pages at build time from over 3,400 hotel listings, with no server-side rendering or runtime database. To avoid Googlebot's 2 MB page limit, the site caps initial HTML at 400 cards and loads remaining listings via separate fragment files. A content-hashing system ensures only genuinely updated pages receive new lastmod timestamps and IndexNow notifications, preventing search engines from flagging bulk updates as spam. Mobile filtering performance was improved through pre-indexed search attributes, batched DOM updates, and an Edge Runtime API for complex queries. Images sourced from Notion's expiring S3 URLs are downloaded, optimized with Sharp, and stored persistently in Cloudflare R2 to avoid redundant processing across builds.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in