Can you use cloudflare or any other free CDN with nodebb?
-
@ronalbarbaren fastlys pricing structure is a joke.
If your site uses 10GB of traffic over 10 million requests, the charge per Fastly's pricing page would be $8.70. Because this amount falls below the $50 monthly minimum, we would charge you $50 for that month.
Whole lot of nope...
-
@a_5mith said:
@ronalbarbaren fastlys pricing structure is a joke.
If your site uses 10GB of traffic over 10 million requests, the charge per Fastly's pricing page would be $8.70. Because this amount falls below the $50 monthly minimum, we would charge you $50 for that month.
Whole lot of nope...
I use free for developer plan
P/S: I'm testing with Incapsula now -
As of August 5, 2014, CloudFlare supports WebSockets for Enterprise customers only. (Announcement)
WebSockets are currently only available for Enterprise customers, but will be available for other plan levels in the future.
All other customers -- Business, Pro, and Free -- should create a subdomain for Websockets in their CloudFlare DNS and disable the CloudFlare proxy ("grey cloud" the record in CloudFlare DNS Settings).
https://support.cloudflare.com/hc/en-us/articles/200169466-Can-I-use-CloudFlare-with-WebSockets- -
Im using cloudflare with my install and its working fine
-
@xCausxn Nope, its not :
"WebSocket connection to 'wss://forums.gamerlabs.net/socket.io/1/websocket/hYGYH3JWv9X76FZYhx7Q' failed: Error during WebSocket handshake: Unexpected response code: 502"
-
hey folks, I wasยดnt aware the CF does not support Websockets , thanks to this thread, what i like about CF is that you can entirely hide your real IP, the DNS just points to an anycast IP address and your not exposed to hackers or DDos, so far so good, changed the settings , but now my nodebb forum seems kinda frozen, i am logged in as admin, but can't change anything, not even log-out, what needs to be done to bring it back to life ?
Thanks
-
How can this be optimized?
There are page rules and URL patterns for detailed settings. Would like to switch on SSL but disable cache for the nodebb. Which paths could be cached? Which not?
-
@v4 I am unaware of the current state of CF's caching mechanism. It may very well work fine with NodeBB, but when I tested (1.5 years ago!!) it did not work well.
Namely, CF's new Rocket Loader was minifying our already minified files, and possibly serving them out of order. If you investigate the source of a NodeBB page, you'll see certain scripts that are not bundled into the minified js file. CF modified the page html to load their own cached js, possibly loaded scripts out of order, and things just didn't load properly.
CF also doesn't proxy websockets correctly (except for the most plan, but this may change in the future, hopefully).
-
As a follow up, is there some way to specify a subdomain for sockets.io? I have seen mention of adding something to config.json, but my attempts to add that failed.