If the img src points to a non-existent file, will that prevent a 404 in your cache?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why not test it out?
Here’s a fiddle: http://jsfiddle.net/atFtS/ and the source:
Open up your browser inspector (I’m using Chrome), go to the network tab, and see what happens.
It did try to load the image, even though it’s not going to be rendered.
Here’s another fiddle: http://jsfiddle.net/atFtS/1/ where I added:
It still loaded the image and probably cached the 404 hit.