Prerender Node

screenshot of Prerender Node
angular
ember

Express middleware for prerendering javascript-rendered pages on the fly for SEO

Overview

Prerender is a middleware for Node.js that intercepts requests from web crawlers and fetches static HTML content from the Prerender Service to serve to the crawlers, eliminating the need for executing JavaScript. This tool is particularly useful for websites built using JavaScript frameworks like Angular, React, and Vue, and is recommended by Google to prevent indexation issues caused by large amounts of JavaScript.

Features

  • Intercepts Requests: Middleware intercepts requests from crawlers and fetches static HTML.
  • Googlebot Compatibility: Allows testing by setting the User Agent to Googlebot's to view prerendered content.
  • Customization Options: Whitelist and blacklist specific URL paths for prerendering.
  • Express Compatibility: Tested with Express3 and Express4, no explicit dependency on either.
  • External Prerender Service: Makes a call to an external Prerender Service for fetching static HTML.
  • BeforeRender Method: Opportunity for caching or additional actions before serving to crawlers.

Summary

Prerender is a valuable tool for websites built using JavaScript frameworks, as it allows serving static HTML content to web crawlers without executing JavaScript. By utilizing this middleware, websites can enhance their SEO and prevent indexation issues caused by JavaScript-heavy pages. Moreover, Prerender provides customization options through whitelisting, blacklisting URL paths, and implementing pre-render actions for each crawler request. Overall, Prerender simplifies the process of providing crawler-friendly content while maintaining the functionalities of JavaScript frameworks.

angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.

ember
Ember

Ember.js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device.