I am trying to set up prerender (package dferber:prerender) but I am running into an issue.
On my local environment with a local prerender server running, it’s working fine. When I visit http://localhost:3000/?escaped_fragment= and check the page source code, I see that prerender is working.
However, when I try to use it with a token (i.e. omit serviceUrl in the settings.json file) I get a gateway timeout on localhost. On a deployed app, website.com/?_escaped_fragment_= there’s nothing happening, the home page is rendered and prerender is not doing anything.
Okay cloud flare… that’s always a mess! Try by-passing by unclicking the orange icon. This goes right to your origin point, thus exposing and bypassing CloudFlare, but it removes that as part of your problem for now.
I’m running my game on CloudFlare with no issues remarkably.
So if you log in to PreRender, you should see a bucket load of caches made, and their big “WE DID NOT RECEIVE ANY REQUESTS YET” message is gone?