Remove article on SSR with puppeteer? #7647
Description
Page Affected: https://developers.google.com/web/tools/puppeteer/articles/ssr
What needs to be done? Delete it?
I don't think we should be recommending that people run headless Chrome on the server. It means that TTFB is blocked on Chrome spinning up a tab (which may include starting Chrome itself), fetching all assets on the page, parsing CSS, decoding images, running JS, then waiting for network to be idle for 500ms.
I've been contacted by developers who are seriously considering doing this with 100s of pages per second.
The article discusses caching the result, but the technique is then much more suited to a static build, or something that happens when an article is posted.
I tried adding warnings to the article, but I think it's better to remove it, and perhaps write a guide on how puppeteer could be used as part of a build system.