Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-10-2008, 02:10 AM   PM User | #1
Shirk Deio
New Coder

 
Join Date: Mar 2007
Posts: 33
Thanks: 6
Thanked 0 Times in 0 Posts
Shirk Deio is an unknown quantity at this point
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?
Shirk Deio is offline   Reply With Quote
Old 10-10-2008, 04:44 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
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!||||
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:21 AM.


Advertisement
Log in to turn off these ads.