SSE behind Cloudflare
I tried using SSE in my collections by adding
liveSse: true to my shape options when building my collections. I had some issues once I deployed to prod with it though - I'm behind Cloudflare and I noticed collections getting slow/not updating for a while before everything came through at once. Is it expected to work behind the CF proxy?4 Replies
useful-bronzeOP•2w ago
some more context: CF points at a VPS running Caddy and my app, Caddy just reverse proxies my app. I added
flush_interval: -1 but it didn't seem to make a differencewise-white•2w ago
Troubleshooting - Guide | ElectricSQL
Tips and FAQs on how to run Electric successfully.
wise-white•2w ago
Also on the latest version of the electric client we detect some sse problems and fall back to long polling
useful-bronzeOP•2w ago
I'll get back to you soon on this one, I need to set up a dev server behind cloudflare to test this