4 ms·
The CloudFront docs don't mention SSE support and they definitely don't support WebSockets today. That said, with CloudFront Custom Origins you can do "Transfe
by csears 11y ago
The CloudFront docs don't mention SSE support and they definitely don't support WebSockets today.
That said, with CloudFront Custom Origins you can do "Transfer-Encoding: chunked" [1] which will cause CDN server to deliver content to the client as it is sent by your application. That seems like it would be compatible with SSE. Unfortunately it also has a 30 second idle timeout [2] which may be a showstopper depending on how frequently your app sends event.
[1] http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#ResponseCustomTransferEncoding http://docs.aws.amazon.com/AmazonCloudFront/latest/Developer...
[2] http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout http://docs.aws.amazon.com/AmazonCloudFront/latest/Developer...