Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Marston Gould
seal-mask
.a{fill-rule:evenodd;}techdegree
Marston Gould
PHP Development Techdegree Student 17,314 Points

Customize Reset, Normalize or use CDN

What are the pros/cons of downloading a reset stylesheet and removing unneeded styles vs. using CDN?

Am I correct in assuming the CDN has bloat?

Will a users browser not re download the file if cached?

Does CDN stay updated when new browsers are released therefore creating a more maintainable reset?

Are there other factors?

How should you decide which to use?

2 Answers

Using a reset stylesheet such as normalize.css is not mutually exclusive to using a CDN. A Content Delivery Network is simply a network of servers that will load your files to the client browser based the geographic location of the networked server closest to them.

Using a CDN is considered a superior method to delivering the web content to the client browser. However, there is usually a cost involved. You have to weigh the positive cost of using the CDN for faster delivery times verse the negative cost of paying for the delivery.

Marston Gould
seal-mask
.a{fill-rule:evenodd;}techdegree
Marston Gould
PHP Development Techdegree Student 17,314 Points

Yes, I realize that the choice can be independent - but would you really use normalize or reset via CDN AND a local stylesheet?

That seems duplicative. Which then brings me back to my original question.