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
My image doesn't change to a new image everytime i refresh the page
<img src="https://placeimg.com/200/200/tech" alt="Tech">
The image is not changing into a new image every time I refresh the page. This is the code I used.
Steven Parker228,001 Points
Your browser is probably caching the image as an efficiency measure. Most browsers have a separate refresh function that disregards the cache you could try, or a configuration option to clear the cache.
You are right. it is caching the images as an efficiency measure.
Parminder Kaur4,073 Points
I was facing the same problem, and pressing shift key along with the refresh button worked for me. Thanks!