Streaming server-sent-events

Stream responses to the browser while still receiving data from the origin and also saving it to cache. Great for spreading out server-sent-events streams to millions of users from a single source stream.

VCL

Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):