Page 1 of 1

A CDN will make your website slow

Posted: Wed Nov 30, 2016 10:13 am
by Aldoseri
Hi Guys,

I'll tell you about my experience with CDN (Content delivery network)
I tried Cloudfront and Clourflare. The end result my website became much slower. Some images disappeared and some wordpress plugins stopped working.

But the moment I disabled CDN by deactivating W3 Total Cache, my website came back to life.
My setup is nginx+php-fpm. No more Apache. I just added browser cache using this page: https://www.digitalocean.com/community/ ... n-centos-7

I didn't even bother to test, I just went to step 3 direct. and since nginx setup on VestaCP is set co gzip site's contents I didn't bother to change anything. The result is a lightening fast browsing.

One more thing, get rid of Apache, use pure nginx.

Re: A CDN will make your website slow

Posted: Fri Dec 02, 2016 9:58 pm
by delfo2000
Dear Aldoseri,

CDN can speed your site and reduce bandwidth, but it'isnt easy configure. These links can help you:

https://wildlyinaccurate.com/blazing-fa ... memcached/
http://www.gauraw.com/how-to-increase-y ... loudflare/

Regards

Re: A CDN will make your website slow

Posted: Sun Dec 04, 2016 1:05 am
by Naldinho
I've never bothered with a CDN but you wouldn't be the first to report that is slowed down your site -- I've seen the same a few times from people that I have absolutely no doubt setup the CDN properly.

Generally from the tests I've seen CDN speeds up your site if you have people from all over the world accessing the site. If yous site is being accessed only from a limited geographical area that is also the same area that you've selected for hosting then in most cases the speed increase is negligible and sometimes even negative.