A Dockerized Prerender (v5.20.2) container, designed to boost web page performance through file-based caching.
These instructions will help you to set up Prerender-CacheIO on your machine using Docker and Docker Compose.
Build and run the Docker container
version: "3"
services:
prerender:
image: rakma/prerender-cache-io:latest
container_name: prerenderCacheIO
networks:
- default
volumes:
- ./cache:/srv/cache
#- ./prerender:/srv/prerender
ports:
- "3001:3000"
restart: always
docker-compose up -d
- The current configuration sets the cache file lifespan to 24 hours. In future updates, this will be modifiable through an environment variable argument.