But, before we get into Dynamic rendering and Prerender.io, let’s briefly discuss what client-side rendering and server-side rendering are:
Prerender and Dynamic Rendering:
The most straightforward answer to all your problems: Prerender.io.
Prerender is the process of serving content based on the user agent requesting it.
How Do You Implement Prerender.io?
First, you need to install Prerender.io to transform your dynamic content into static HTML.
Second, you choose the user agents you think should receive static content. In most cases, this includes search engine crawlers like Googlebot and Bingbot. There might be others, such as LinkedInbot, you also wish to include.
If your prerendering service slows down your server or your HTTP requests increase, consider implementing a cache to store content. Next, determine if your user agents require desktop or mobile content. You can use dynamic serving to give them the appropriate solution.
Finally, configure your servers to deliver static HTML.
For more details: https://prerender.io/how-to-install-prerender/
So when should you use dynamic rendering?
Prerender.io is a good solution if you have a large website with lots of content that changes frequently (e.g., an e-commerce store with revolving inventory). If that’s the case, your website requires quick and frequent indexing. Dynamic rendering will ensure that your pages are indexed and displayed correctly in the SERPs.
It’s also beneficial for websites that rely on social media sharing, such as those with embeddable social media walls or widgets.
So, what are you waiting for? Check out Prerender.io and start by registering for their free package, and then you can take it from there!
Top comments (0)