Server Side Rendering
Casnode support SSR. SSR(Server-side rendering) is a popular technique for rendering a client-side single page application (SPA) on the server and then sending a fully rendered page to the client.
You can see the implementation of server side rendering in
routers/filter_ssr.go.We use Chromedp to render pages for search engine bots. If Chrome is installed, functions in this file will return a rendered page to bots.
We use a Regular expression
bot|slurp|bing|crawler to match the User Agent of the request. If matched, we think the request is sent by a bot.