Skip to content

wizbii/docker-prerender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerender docker image

A Prerender.io image with the in memory caching middleware enabled.

Available environment variables:

  • CACHE_MAXSIZE: max items in cache, default to 1000
  • CACHE_TTL: cache item lifetime in seconds, default to 600
  • PORT: port to bind the http server, default to 3000

Usage

docker run -p 3000:3000 wizbii/prerender

curl 'http://localhost:3000/render?url=https://google.com'

About

A Prerender.io docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published