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.

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!