Redwoodjs - Prerending Help.

Does anyone have any experience with prerendering with redwoodjs? I’m trying to get the Open Graph tags to work when I push code to servers.


My understanding is that in order to do prerender properly, you need access to the database during build time. I was working on this with some redwoodjs folks, but then people got busy and we never got back to it. Where we left off was with the following (commented out) parts of a Dockerfile:

And I had worked out a mechanism to use an ephemeral machine to add in the necessary build secrets to make it work:

The results wouldn’t be “pretty”, but the basic idea was to make it work then integrate the results into the yarn rw scripts so that it was transparent.

If there is interest in picking this work back up, I’m available…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.