Server-side rendering (SSR) - With puppeteer or something similar?

I have a site built using vanilla JS and handlebars.

I would like to provide a server-side rendered (SSR) version for search engines.

Did anyone add such a tool to their server setup?

I’m considering using puppeteer.

I found some more info online. I’ll share them in case someone may want to get more info.

Refs for headless Chrome:

Firefox also has it’s own now:

As I read on these I stumbled on that which can polyfill several features for browsers which can be used from their CDN or hosted locally:

Headless Chrome worked really well in my first test and Caddy makes it easy to possibly use them with the rewrite middleware.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.