Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

How Do I Prevent an Image from Being Cached

  • Please log in to reply




  • Member
  • PipPip
  • 21 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


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