Superstatic Prerender
A prerendering service to allow static AJAX apps to get that sweet sweet search engine juice.
Client Configuration
Options
- refetch: Can either be an integer number of days to keep before refetching or an object describing URLs and their individual refetch length.
- blacklist: An array of routes that should be ignored by the prerender service. Anything that requires a login to access should be blacklisted, as an example.
- whitelist: If a
refetch
routeset is present and this istrue
, only the routes specified inrefetch
will be allowed for Prerender. Otherwise, you can set it to an array of routes.
Examples
Server Configuration
host: processenvPRERENDER_SERVICE_URL // optional prerender server hostname token: processenvPRERENDER_TOKEN // if using prerender.io service;