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

WordPress

A concern about Src Set

Whats the point of disabling the cache in chrome, when im trying to see how the source set attribute works? Chrome always uses the largest image available in the cache. When in the demonstration the width of the window was reduced, chrome decided to keep the banner image the largest size even when the window was small, which wasn’t appropriate. Only when I refreshed did the smallest image pull up; which was appropriate—but I had to refresh first. Realistically, if someone was using my webpage and they reduced the size of the window, they should expect this “photo swapping” to be automatic—they wouldn’t think to refresh the page and then have the appropriately sized image appear. As a result, this makes me doubt the use of srcset. Does this make sense?