Cloudflare now supports websockets for all, is it a good alternative?

So today I read this on my e-mail newsletter https://www.cloudflare.com/websockets/ and the last time I checked, people didn’t recommended CloudFlare because it didn’t had websockets, well it looks like now it does.

I just wanted to know if this means that now we can use the free CloudFlare tier with Meteor without a problem?

thanks in advance!

4 Likes

I would like to know that too.

Yep, using CloudFlare with my SaaS and it works perfectly!

Could you elaborate the steps you did to get it up and running? :innocent:

1 Like

Sure! There’s really nothing to it at all:

That’s literally it. A subdomain as a CNAME pointing to Galaxy. Orange cloud enabled so your JS file(s) will get cached for better performance. Done.

Simple enough :smiley:

https://help.xervo.io/customer/en_us/portal/articles/1929796-cloudflare-configuration-with-meteor-xhr-polling

I don’t know how much stock I’d put in that article. It doesn’t explain how CloudFlare causes issues with XHR polling. I haven’t seen any problems at all with my Meteor app, with the CloudFlare acceleration enabled. Having CDN enabled is important if your SaaS has customers all over the world.

Can anyone verify that this is an issue?

1 Like

Do you have Pseudo IPv4 set up as the article suggests?

Nope, it’s set to off. And again, never had any problems with it set this way.

I tried to activate it, and I get error TOO_MANY_REDIRECTS. It’s definitely something related to SSL, but for now I didn’t find a solution.