Can you use cloudflare or any other free CDN with nodebb?
-
@scottalanmiller said:
@leo said:
@datz CloudFlare is completely free if you only use it for DNS hosting.
Also free for basic CDN. Only the advanced features require payment.
Unfortunately, you need to pay for SSL (you need to upgrade) if you want to use their CDN...
-
As for fronting your entire forum with a CDN, I'm not sure, but as for images and other assets, you could write a plugin to generate the correct image urls based on CDN configuration (such that the image urls fetched are CDN-enabled, but the urls stored are standard)
-
Bump
I'm using cloudflare with dns enabled, seems to be working fine for me. Can everyone connect to esportsdig.com okay?
-
Nice theme you got there
-
I'm not sure about that, but I'm testing with Fastly.com CDN on my forum and it almost work. Need more time to feedback
Edited: Fastly not compatible with NodeBB, login suddenly invisible after some minute -
@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?
https://support.cloudflare.com/hc/en-us/articles/200168306-Is-there-a-tutorial-for-Page-Rules-
-
@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.