prerender-cloudfront
prerender-cloudfront copied to clipboard
serve prerendered pages to clients as well as crawlers
Hello, I am writing this question here because i found nowhere else to ask this.
Is there any way to configure this to redirect clients and crawlers both to the prerendered page. I mean to serve the prerendered site only. I tired keeping prerender=true in every case but that doesn't serve the page and doesn't cache it either. Any help is appreciated.
Hi,
I'm pretty confused why you would want to redirect clients to the prerendered page? AFAIK a client has a much better experience if they do the rendering in their browser.
Regards, Brian
@jinty Thankyou for the response. It is a business requirment. Someone told corporate to SSR and now they want HTML in their browser. Long story short, it is inevitable now and need to achieve it.
I don't think that using prerendering in this way makes sense for your usecase. It probably could be done, but I would look into using node to render the HTML on the server side.