Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

How Do I Prevent an Image from Being Cached


  • Please log in to reply

#1
little87

little87

    Member

  • Member
  • PipPip
  • 22 posts
Is there a way to force an image to reload from the server rather than it being cached in the browser? So everytime a user visits the page, the image must be downloaded again rather than just being pulled from the browser's cache?

On one website, I saw that the webmaster somehow had a random string of numbers at the end of the image's url. The numbers always changed everytime the image was reloaded, and this prevented the image from being cached. But I don't know how to apply that to what I want to do. They must've used javascript or something to make the numbers change.

Anyway, does anyone know how to force the image to reload everytime the page is visited or refreshed?
  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP