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!
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
Does HTTP request happens when I have an image inside a display none element? Or is ignored?
In this case I have one image I want to display only in larger screens but don't want to spend mobile data. If it does happen, is there any solution?
As far as im aware the browser still sends the request to get the image. You can check this out by looking at the network tab in your browser I think.
You have got the fact that although the browser has requested the image it has not had to render it to the screen which will improve performance to some extent.
Sorry I can not give you much more reason ing behind it but I hope this is somewhat helpful.\