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


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,579 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.