CDN Support
Is there any plan for supporting CDN?
The free CDNs : CloudFlare and Incapsula.
The paying CDNs : MaxCDN, CloudFront and CDN77.
Or I just misunderstood about how to setup CDN in CMSes (not limited to ElkArte)?
Re: CDN Support
Reply #1 –
They work a few stages back at the DNS stage, by default, this software will work with ut.
Re: CDN Support
Reply #2 –
The only issue that I know of with CDN's is that the $_SERVER['REMOTE_ADDR'] will come in as the IP if the CDN for everyone, so that makes IP tracking / banning / geo location etc mostly unusable ...
CloudFlare sends in the original IP in $SERVER['HTTP_CF_CONNECTING_IP'] (but you should not just use that when found, you need to make sure that the REMOTE_ADDR one is from a CloudFlare range)
Will we support that, or is that addon territory? I'm not sure ... I'm thinking addon as I'd imagine each CDN will have its own IP needs so trying to address that in core would be a source of continual maintenance.
Re: CDN Support
Reply #3 –
@Trekkie101 and @Spuds : Yeah, that is how CloudFlare and Incapsula do their CDN setup, and I failed badly when trying to use them (not on the same time).
When I'm using MaxCDN there is a difference in how to setup, I don't need to change my NS to them. I just need to add one or more CNAME record to them. I found easier that way.
I agree with you @Spuds this is addon material, because not everyone will use CDN. But I believe for the free ones (CloudFlare and Incapsula) many would request them in the future.
Thanks for hearing me out.
Re: CDN Support
Reply #8 –
It is being tracked for years. Hopefully, this could be resolved / added as features.
Re: CDN Support
Reply #9 –
Well, my proposal stands only if the condition is valid. Now someone has to verify it. xD
Re: CDN Support
Reply #11 –
Haha... I cannot verify anything regarding this. I don't even know how it is done to to be done properly.
Re: CDN Support
Reply #12 –
Nothing to verify, my proposal doesn't work because the request cleaning comes before having modSettings populated, so it is too early.