Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2007
    Posts
    33
    Thanks
    6
    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?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    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?
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •