Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.