Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Are CDN's worth it?

Discussion in 'Hosting' started by Admin, May 15, 2018.

  1. Admin

    Admin Administrator Staff Member

    Joined:
    Jun 2004
    Posts:
    11,134
    Likes Received:
    468
    I want to speed up one of my websites which is enjoyed across the globe. Would one easy way to do this involve using a CDN? I don't fully understand what they are they yet, but I have some vague notion of what they do. I know the name cloudflare and that they have a free plan. This is the limit of my knowledge, any insights, teachings or advice would be well received :) I also have no idea on what is involved to start one up. thanks.
     
  2. martin-s United Kingdom

    martin-s Well-Known Member

    Joined:
    Jul 2012
    Posts:
    3,468
    Likes Received:
    270
    Benefits:
    1. Global DNS presence makes DNS lookups faster for non-local visitors to your servers (useful for Australian visitors for instance - US/UK transfer rates and latency are generally excellent anyway).
    2. And also makes DNS more robust, by having more replications.
    3. CDN providers are very good at helping prevent DDOS attacks getting out of control.
    4. Likewise filtering out other potential attacks.
    5. In caching lots of your content locally to all visitors, not only will your site be quicker for browsing, your server load will be massively lower - so you can scale traffic more easily and at a lower hosting cost.
    Downsides:
    1. Potential cache busting issues/overhead when content changes.
    2. Extra cost of bandwidth.
    3. Although normally highly redundant, a CDN also becomes a potential point of failure.
    Edit: Worth saying that if you use AMP pages, that goes some way towards achieving the performance benefit on mobile at least.
     
    Last edited: May 15, 2018
  3. davedevelopment

    davedevelopment Well-Known Member

    Joined:
    May 2009
    Posts:
    1,307
    Likes Received:
    86
    What Martin said. I know a lot of people put cloudflare's free plan in front of every site they make.
     
  4. Admin

    Admin Administrator Staff Member

    Joined:
    Jun 2004
    Posts:
    11,134
    Likes Received:
    468
    And that is good or bad?

    @martin-s I will reply to you tomorrow
     
  5. davedevelopment

    davedevelopment Well-Known Member

    Joined:
    May 2009
    Posts:
    1,307
    Likes Received:
    86
    In favour of using a CDN. I'm see a lot of people default to using a CDN, like it's a no-brainer.