Join the community today
Become a Member

CDN Request / Static CDN

Discussion in 'Domains, DNS, Email & SSL Certificates' started by buik, Dec 6, 2016.

Tags:
  1. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    5:32 AM
    Looking for a CDN for a few low traffic (5-10) static JS ans CSS files for test purposes.
    Almost every CDN is set up for the big work plus fixed subscriptions, hence little choice.

    GitCDN, RawGit for example looks great but is free of charge and so without warranties.
    Does anyone have a suggestion?


    Wishes
    - SSL/TLS
    - PayPal payment
    - 250/500 MB traffic p / month.
    - Gitlab support is a pre.

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    2:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    why not just use cloudflare ? or cloudflare off a separate domain ie. domain.net which is mirror/same DNS A record as main domain.com and then set page assets to serve off of separate domain.net i.e. domain.com/css/style.css to be served off domain.net/css/style.css ?
     
  3. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    5:32 AM
    Thanks @eva2000 for your suggestion.
    Hmm sounds interesting, adding a separate domain with Cloudflare's service on the free plan. I suppose?

    As Cloudflare acts as optimization reverse proxy, files are automatically absorbed from the origin server to Cloudflare's CDN. So i can use and add separatedomainwithcloudflare.net/css/style.css to wherever i want test site.

    Btw. my intention is caring and sharing.
    I found Google Firebase Hosting as possibility.

    To easily deploy and host my static assets (HTML, CSS, JavaScript, etc)
    All the content is served over HTTPS and backed by a global CDN.
    1 GB storage and 10 GB traffic p / month is free.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    2:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah that's what i do for my own custom rolled CDN testing etc and essentially CDN is just a proxy off another server :)

    didn't know about Firebase Hosting  |  Firebase

     
  5. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    5:32 AM
    Didn't know Cloudflare has a free plan.
    Their free plan seems without data limit but of course without the paid features: optimization options, China CDN POP and of course all the security related features.

    But it is ideal as a test CDN? so how long are you using Cloudflare as test CDN?

    About Firebase. Firebase is nice. But a bit expensive if you startup a new project.
    There is no entry. The difference between try (free SPARK plan) and start is quite large.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    2:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Oh i meant specifically when i test build my own private CDN using centmin mod lemp based vps edge servers with ngx_pagespeed in proxy_cache mode + geodns I do it on separate domain as a mirror to main site with backend pointing to origin IP. But cloudflare separate domain for CDN I have also been doing for a few years :)
     
  7. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    5:32 AM
    Cloudflare free with separate domain seems the ideal 'free' CDN solution for a few static assets. Testing things out now, I'll keep you informed
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    2:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    just remember if your main domain is ddos protected, the cloudflare domain needs same measures to protect origin ip leaks otherwise you open up a hole in your main domain's ddos protection :)
     
  9. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    5:32 AM
    Thanks for the info.
    It is only for a few static assets to load elsewhere on external test sites via CDN or CDN like (as test).
    Own made jquery based stuff etc.
    Infrastructure for both site and static assets is separated and as it is a test.

    Main domain is not DDOS protected.
    Main domain is not using any Cloudflare or Sucuri kind of service.
    Free Cloudflare gets Limited DDoS protection if i am correctly.
    In short, it does not seem much of a problem to me.
    But as always suggestions are highly appreciated.
     
    Last edited: Dec 6, 2016