Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Weird Cache Problem
10-10-2008, 02:10 AM #1
- Join Date
- Mar 2007
- Thanked 0 Times in 0 Posts
Weird Cache Problem
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, 04:44 AM #2
- Join Date
- Dec 2004
- In a place far, far away...
- Thanked 1,043 Times in 1,019 Posts
Append a random number to the image. Are you using a server side language of any kind?