When I upload a new image to my site it seems to not show me the updated image without first clearing my browser cache.
I’m pretty sure this isn’t normal behaviour but I have no idea how to fix it, and it’s causing me to pull my hair out.
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.
I think image caching is a normal browser behavior. It makes sense: images are large, and don’t change very often. If you need to refresh an image because you are developing the website, but you expect the image to be unchanging in the future, I recommend disabling caching in your browser, temporarily, while you develop the website.
To disable cache temporarily for development purposes in Chrome:
wrench/tools/developer tools/gear icon (bottom right)/check "Disable cache"If you need the image to change constantly for the production version of the website, you can configure your server to tell browsers not to cache the page.