Prerender Webpages

This tutorial was contributed by Deo Kumar

Currently, it’s difficult to process JavaScript and not all search engine crawlers can process it successfully or immediately which leads to SEO problem. so we came up with one solution called

The middleware will check each request to see if it’s a request from a crawler. If it is a request from a crawler, the middleware will send a request to for the static HTML of that page. If not, the request will continue to your normal server routes. The crawler never knows that you are using since the response always goes through your server.

If you would like to know more about it, consider reading the documentation.

Setup prerender for your app

There are few steps you need to follow to setup your Prerender app:

  1. The first thing you need to update the framework library @quintype/framework to the latest version (4.13.0 or greater).

  2. The second step is to whitelist the list of urls in Cloudflare, for that, you may contact support for it.

  3. Once your list of urls are whitelisted in Cloudflare then you just need to pass prerenderServiceUrl in isomorphicRoutes from your app.

In app/server/app.js

isomorphicRoutes(app, {
  generateRoutes: generateRoutes,
  loadData: loadData,
  pickComponent: pickComponent,
  prerenderServiceUrl: ""

That’s it, now your web pages should serve through prerender. If you want to check your website has enabled prerender or not, copy the app url(Ex: and check it here, you should not see any script file executing in the HTML tab because this tool provides the result based on Googlebot User-Agent for the smartphone.

You may now proceed to Redirect Urls or jump to a recipe from the Tutorial.