Hacker News new | ask | show | jobs
by zestyrx 1587 days ago
Yeah, those pages are definitely auto-generated. Static site generation makes it possible for those types of pages (I call them "shims") to jump to the top of the results list. I wrote about it here: https://zestyrx.com/blog/nextjs-ssg
1 comments

I don't see what static site generation has to do with it. You can spin up a huge number of shims even more easily with a dynamic site and a DB with a list of all the messages you want shims for.
SSG gives you the best SEO because web crawlers can understand the structure of a static page with pre-populated content better than a dynamic site that relies on Javascript. The pages also load much quicker and score better on other metrics that Google uses. I would go so far as to say that SSG is a must for major publications or anyone serious about SEO. This sort of data-driven SSG is exactly what you are thinking of but it happens at build time so that the build output is static content that can be put behind a CDN.
Absolute nonsense. You don't need a static site generator to serve up an HTML page instead of rendering with JS. People have been doing dynamic pages since before JS even existed.

The difference in speed between running a simple script and reading a file is not large enough to noticeably affect SEO.

Most of these sites are probably just using PHP, not any static site generator.