Get the most out of your Centmin Mod LEMP stack
Become a Member

CDN Request / Static CDN

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

Tags:
  1. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    1:45 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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 ?
     
    • Informative Informative x 2
  3. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    1:45 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.
     
    • Informative Informative x 3
  4. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    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. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    1:45 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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    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. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    1:45 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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    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. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    1:45 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