Traffic-aware pre-rendering with Eleventy #4231
Ryuno-Ki
started this conversation in
Enhancement Queue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is an idea I want to throw into the community to see your reactions :)
When I watched The Primeagan on Next.js' Cloudflare flavour I was wondering at 4:23 whether it is something that could be done with Eleventy to speed up the builds.
Basically, if a site is not visited, don't build it.
This in turn would require some access logs to process (e.g. using GoAccess to generate it in a JSON) and then have generate specific files on-the-fly (to be subsequently cached). Only those sites that are visited often (say, 90 - 99 % of all visits over a given time period) would be build ahead-of-time.
Like I said, an idea. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions