Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

image

prerendercloud-iis

IIS web.config for https://www.prerender.cloud/ for prerendering (server-side rendering) webpages.

Usage

It's possible your IIS server may already have steps 1 and 2 and 4 mostly done already - in which case, just go to step 5.

  1. use the Web Platform Installer to install "URL Rewrite" (see more here if having problems)
  2. use the Web Platform Installer to install "Application Request Routing"
  3. restart IIS entirely
  4. create a file (if it doesn't already exist) named web.config and put it in the root of the directory serving your website
  5. add a server variable for HTTP_X_PRERENDER_TOKEN (see screenshot below)
  6. modify web.config
    • add your prerender.cloud API token
    • hardcode the protocol in the url attr of the <action type="Rewrite" /> tag to be (http or https) for your site

image

image

About

IIS web.config file for prerendering javascript-rendered pages with https://www.prerender.cloud for isomorphic/universal server side rendering

Resources

License

Releases

No releases published

Packages

No packages published