Skip to content

ArcelDonas/prerendering-with-cloudflare-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

prerendering-with-cloudflare-workers

This allows you to set up prerendering of your site through cloudflare workers

You just need to set these 2 constants at the to of file

MAX_ATTEMPTS: The maximum number of times this should attempt to prerend page after failure. It considers success when middleware returns 200 http status code and failed when anyother is returned PRERENDER_MIDDLEWARE: The prerender midddleware to use. By default we use rendertron one

About

This allows you to set up prerendering of your site through cloudflare workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published