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

General Discussion

1 Answer

It is not so much ajax as it is just linking to the source of a remote file. This provides performance benefits for remotely hosted files because it allows the web to cache one file location. The bigger plus is that if you visit a website that uses the normalize.css or animate.css, that file will stay in your cache and will not have to be "downloaded" if you visit the site or another site that uses this specific file.

I hope this helps.

Steven Ventimiglia
Steven Ventimiglia
27,412 Points

Thanks for the reply. I've experienced the benefits of using a CDN like Cloudflare over the years, but it strikes me as odd when the .css files should be categorized under "/css/libs/name/version/style.css" or something more general like "/ui/libs/name/version/style.css".

I was wondering why they would be under Ajax, which is server-side and involves the exchange of data (which is almost the opposite definition of a cascading style sheet.)

Ahh. yeah. haha doesn't make much sense, does it? I would like to hope there is a reason to their organizational madness. haha but I wouldn't be able to tell you why it is structured the way it is.