Re:Lambda@Edge – Preview
by ash_gti on Thursday December 01, 2016 @02:10PM
(#13082428)
Couldn't you have your apps primary routing handling in this?
[ Parent
| on HN ]
The linked post uses CloudFront as an example, which is commonly used simply as a CDN in front of static content on S3. This allows you to take that model and add some dynamic content to it.
I just recently used this model to host a JS widget used on external websites, now I could for example add some basic logic to disallow certain domains (by checking referrer headers) from using the widget.
Re:Lambda@Edge – Preview
by forrestbrazeal on Thursday December 01, 2016 @02:11PM
(#13082433)
The blog post says that one of the primary use cases is to help preview content show up correctly on Facebook, etc. So I don't think client-side routing for static apps will work in this case.