View Full Version : Weird Cache Problem

Shirk Deio
10-10-2008, 03:10 AM
This is a really weird problem I'm having with Safari. I'm testing a website, and I keep changing an image file (1_image.jpg). I overwrite it with a different image, but keep the name.

It shows the old image after I upload the new one. So I clear my cache and reload the page. Then it's the new one.

I've done it three times now (three different pictures).

Well, just now I clicked refresh while viewing the image. At first it was the most recent. Then I did it again, and it changed to an older one. I clicked refresh several times and it was pretty much random which one of the three images appeared--all at one URL after clearing the cache several times and closing and re-opening Safari.

I'm sure it's just a problem on my side, so I'm not too worried, but what do you think is causing this?

10-10-2008, 05:44 AM
Append a random number to the image. Are you using a server side language of any kind?