Amazon CloudFront
Amazon CloudFront

8.8K
2.6K
935
cdnjs
cdnjs

65
57
10
Add tool

Amazon CloudFront vs cdnjs: What are the differences?

Developers describe Amazon CloudFront as "Content delivery with low latency and high data transfer speeds". 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. On the other hand, cdnjs is detailed as "An open source community driven Javascript CDN". 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.

Amazon CloudFront and cdnjs can be primarily classified as "Content Delivery Network" tools.

"Fast" is the top reason why over 245 developers like Amazon CloudFront, while over 2 developers mention "Free" as the leading cause for choosing cdnjs.

cdnjs is an open source tool with 7.73K GitHub stars and 4.03K GitHub forks. Here's a link to cdnjs's open source repository on GitHub.

According to the StackShare community, Amazon CloudFront has a broader approval, being mentioned in 3387 company stacks & 621 developers stacks; compared to cdnjs, which is listed in 7 company stacks and 9 developer stacks.

- No public GitHub repository available -

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 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!

Why do developers choose Amazon CloudFront?
Why do developers choose cdnjs?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Amazon CloudFront?
What are the cons of using cdnjs?
    Be the first to leave a con
    What companies use Amazon CloudFront?
    What companies use cdnjs?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Amazon CloudFront?
    What tools integrate with cdnjs?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Amazon CloudFront and cdnjs?
    Akamai
    If you've ever shopped online, downloaded music, watched a web video or connected to work remotely, you've probably used Akamai's cloud platform. Akamai helps businesses connect the hyperconnected, empowering them to transform and reinvent their business online. We remove the complexities of technology, so you can focus on driving your business faster forward.
    CloudFlare
    Cloudflare speeds up and protects millions of websites, APIs, SaaS services, and other properties connected to the Internet.
    Google Cloud Storage
    Google Cloud Storage allows world-wide storing and retrieval of any amount of data and at any time. It provides a simple programming interface which enables developers to take advantage of Google's own reliable and fast networking infrastructure to perform data operations in a secure and cost effective manner. If expansion needs arise, developers can benefit from the scalability provided by Google's infrastructure.
    Fastly
    Fastly's real-time content delivery network gives you total control over your content, unprecedented access to performance analytics, and the ability to instantly update content in 150 milliseconds.
    MaxCDN
    The MaxCDN Content Delivery Network efficiently delivers your site’s static file through hundreds of servers instead of slogging through a single host. This "smart route" technology distributes your content to your visitors via the city closest to them.
    See all alternatives
    Decisions about Amazon CloudFront and cdnjs
    No stack decisions found
    Interest over time
    Reviews of Amazon CloudFront and cdnjs
    Review ofcdnjscdnjs

    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.

    Review ofAmazon CloudFrontAmazon CloudFront

    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!

    How developers use Amazon CloudFront and cdnjs
    Avatar of StackShare
    StackShare uses Amazon CloudFrontAmazon CloudFront

    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.

    Avatar of Volkan Özçelik
    Volkan Özçelik uses Amazon CloudFrontAmazon CloudFront

    I use CloudFront to front the static website at zerotoherojs.com that I host in an s3 bucket.

    This way, I don’t have to worry about scalability or performance, as I’ll know that the content will be delivered to the users as fast as possible from the closest edge location.

    Avatar of Pathwright
    Pathwright uses Amazon CloudFrontAmazon CloudFront

    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.

    Avatar of Jeff Flynn
    Jeff Flynn uses Amazon CloudFrontAmazon CloudFront

    In my opinion, the best Content Delivery Network for the money. This, along with other services from AWS's ecosystem make this the easy choice for CDN. Fast, simple and cheap.

    Avatar of CloudRepo
    CloudRepo uses Amazon CloudFrontAmazon CloudFront

    We use this because it's a CDN that sits in front of our static resources hosted in S3. It makes it so that users in other countries can have quick access to our portal.

    How much does Amazon CloudFront cost?
    How much does cdnjs cost?
    Pricing unavailable