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.


Question about server space and pictures...

If you use several identical pictures at different sizes (small.jpg, medium.jpg, large.jpg, retina.jpg ) and then use scripts like picturefill to make each one appear at a certain breakpoint, will that consume more bandwidth and slow down the page or not? How can one do that? Won't the site end up being a couple of MB large?

2 Answers

Wayne Priestley
Wayne Priestley
19,567 Points

In theory yes it will slow down you site, but its all relevant to the quantity of images you have on your site.

It will consume more bandwidth but you should have enough from your hosting company unless you have a huge image gallery and are loading very large images. If it becomes an issue I would look for another hosting company that offers more bandwidth.

Here's a few tools you can use to analyze server requests and load times.