Anyone know if its possible to use cloudfront functions to pre-render a react spa? I have seen articles about using cloudfront functions with an external service (prerender.io) but if I can do it using just cloudfront functions that would be ideal.
t
thdxr
02/26/2022, 3:13 AM
You can do this with lambda@edge most likely
thdxr
02/26/2022, 3:13 AM
CF Functions are more like an embedded scripting language. Meant for pure logic to minimally customize a request (redirects, url rewrites etc)