Votes

8

Hacker News, Reddit, Stack Overflow Stats

GitHub Stats

Description

What is
Amazon CloudFront?

Amazon CloudFront can be used to deliver your entire website, including dynamic, static, streaming, and interactive content using a global network of edge locations. Requests for your content are automatically routed to the nearest edge location, so content is delivered with the best possible performance.

What is
CloudFlare?

Cloudflare speeds up and protects millions of websites, APIs, SaaS services, and other properties connected to the Internet.

What is
cdnjs?

Everyone loves the Google CDN? Even Microsoft runs their own CDN. The problem is, they only host the most popular libraries. We host it all - JavaScript, CSS, SWF, images, etc! Powered by CloudFlare.

Want advice about which of these to choose?Ask the StackShare community!

Reviews of Amazon CloudFront, CloudFlare, and cdnjs

Rifqiarief

Content Delivery Network Best Around World

May 29, 2016 05:29

I first wore my first domain cloudflare IE "https://rifqiarief.tk" until now can still be visited, I am really grateful to the cloudflare, thanks to rare to my website down cloudflare, before my website is down so often, because I'm wearing a great resource, and dilimit by my hosting party "be advised, I wear free hosting:D" now thanks to him, to my website really stable, unless it's really my full server connection my server, run faster, regardless of my location in Indonesia, unfortunately the cloudflare doesn't have a datacenter in Indonesia, if you don't believe me, please visit my website "https://rifqiarief.tk"

Ease of Use
Documentation
Reliability
Support

mike-feldmeier

Useless due to mismanagement

July 12, 2015 03:09

CDNJS used to be a viable resource, and a great idea. Unfortunately, three years later, the maintainers have added so much cruft and useless layers of bureaucracy that makes it so difficult to add new libraries, that contributors are walking away rather than deal with the technical issues and arrogance of the maintainers. I'm sorry to say that the useful days of CDNJS are gone.

Ease of Use
Documentation
Reliability
Support

lachlanjc

Great CDN

April 06, 2014 06:20

I love CloudFront. All my assets are hosted by them, and they cut page load time in half, and my average bill is around $0.15/month. They're good, fast, and cheap — pick three!

Ease of Use
Documentation
Reliability
Support

How developers use Amazon CloudFront vs CloudFlare vs cdnjs

We chose CloudFront mostly because it’s incredibly popular. But also because it’s the recommended CDN for Heroku, which means there shouldn’t be any problems using them together. Rails makes it really easy to drop in a CDN reference for your app so that when your assets get compiled, they’re shipped off to the CDN and then deployed with your app.

So anytime we push to Heroku, we’re pushing up to CloudFront (if the assets don’t already exist). One major issue we still haven’t been able to solve involves Fonts. Has anyone actually been able to get fonts served up through CloudFront using Rails 4 and Heroku? Literally spent hours researching this and can’t find any solutions. We ended up just referencing a CDN for all the font libraries.

We have a separate distribution for each environment, since I don’t think it’s possible to use the same distribution for the multiple domains.

Cloudflare sits in front of the entire site providing HTTP2 and HTTPS, which is particularly important due the large number of SVG images for the headings that need to be send down to the browser in parallel. Cloudflare also manages the DNS for DKIM TXT records, a dynamic root ALIAS record to the Heroku application, and GeoIP country headers.

We use CloudFlare to protect our network from breaches as well as to reduce bandwidth on the servers themselves and therefore freeing up the bandwidth for our other projects. We also use CloudFlare for instant DNS propagation across the internet where possible.

We love the free SSL and extensive CDN network. DDoS protection is a plus. Great premium features for rapidly growing projects. Cloudflare has helped us forget about silly things like asset minification and email obfuscation.

Parked in front of an nginx instance that serves all of our static assets. Performance and reliability have been excellent, and the header pass-through rules are wonderful. Price is affordable, as well.