HTTP response streaming in app platform (for SSE support)
complete
R
Roger P
I'm trying to serve Server-Sent Events (SSE) using Flask on the DO App Platform, but instead of streaming, something on DO's side seems to be caching the entire response and only returning it in one big chunk. I've been trying and trying to debug, and finally found this page which seems to indicate it's not possible? https://www.digitalocean.com/community/questions/how-to-enable-http-response-streaming-in-the-app-platform
So I have to migrate off the app platform now I guess? Or am I missing something?
Sparky
If I try to add 'disable_edge_cache: true' I get this error:
error validating app spec field "disable_edge_cache": At least one custom domain is required to enable disable_edge_cache
What am I doing wrong?
W
Whitney Jutzin
complete
Thank you for taking the time to share this need with us! We have just released edge controls which can assist with this. You can read more here: https://docs.digitalocean.com/products/app-platform/#7-august-2025 If you need any help setting this up, please reach out to our support team: https://cloudsupport.digitalocean.com/s/ Thank you again!
D
David Richards
You need to disable edge cache: https://docs.digitalocean.com/products/app-platform/how-to/configure-edge-settings/
René Larch
MCP Servers need SSE!
To deploy an MCP Server on the App Platform, we need SSE support.
SSE works best with the following nginx settings:
proxy_buffering off;
proxy_cache off;
gzip off;
proxy_read_timeout 3600;
proxy_send_timeout 3600;
David Kvas
This is an absolute must-have for modern applications. Many contemporary products and protocols depend heavily on SSE for real-time updates and efficient data streaming.
Without SSE support, it’s hard to imagine App Platform staying competitive in today’s ecosystem, real-time communication is now a standard expectation, not a luxury.
We recently migrated from droplets to app platform, but had we known about the lack of SSE support, we might have reconsidered that decision.
C
Chetan Sharma
Using POST method works well.
I used this package for calling post requests
l
lblblong
I'm not sure why do isn't addressing this issue yet. Based on the MCP protocol, the /sse interface must be a GET request. If GET doesn't support SSE, then how can an MCP service be implemented on the app platform?
Vasily Popov
I was forced to use another service to host the app two years ago because SSE did not work. It seems I still not be able to use SSE on the app platform.
S
Shivam Malviya
We are facing the same issue
P
Pablo Farias
+1, wasted hours until I came across this post. Only POST works for me for SSE.
Load More
→