3 ms·
Sounds like this could be a pretty trivial way to load balance React prerendering. As long as the react code fetches all data in 1 call it should be at least as
by skrebbel 9y ago
Sounds like this could be a pretty trivial way to load balance React prerendering. As long as the react code fetches all data in 1 call it should be at least as efficient as doing it all in Nodejs on your server.
- JohnDotAwesome 9y agoRelevant example using Preact https://cloudflareworkers.com/#87ec550da87ab3f7de756a4979c0085b:https://tutorial.cloudflareworkers.com https://cloudflareworkers.com/#87ec550da87ab3f7de756a4979c00...
- tycho01 9y agoCould this be generalized to work across frameworks with e.g. https://github.com/prerender/prerender https://github.com/prerender/prerender?