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

Bootstrap vs Foundation pagespeed: which one is faster?

If I build the exact same site with Bootstrap and with Foundation, then try to optimize the pagespeed as much as possible: wich one will be faster?

2 Answers

Andrew Showalter
Andrew Showalter
14,028 Points

It depends. Keep in mind you are loading like 100k in a minified css file for Bootstrap and 135k for Foundation (plus their respective js files if necessary) which is going to be less than just one high resolution image on the site.

You can make these files even lighter by doing a custom build and only taking the items you need for your production environment.

The only thing that will affect page load speeds is the size of the actual minified css file you are using. So, smaller css file = faster page load.

Here is a cool site where you can do some testing on page load speeds.

Google Page Insights

ok understand it better now :) Thx!