Re: Uploaded images displayed after a few minutes
- From: "MZ" <marcinzmyslowski@xxxxxxxxxxxxxx>
- Date: Sun, 30 Dec 2007 21:35:57 +0100
Uzytkownik "C. (http://symcbean.blogspot.com/)" <colin.mckinnon@xxxxxxxxx> napisal w wiadomosci news:013bf46f-572d-4c0b-880a-fcf11c13206f@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 30 Dec, 19:52, "MZ" <marcinzmyslow...@xxxxxxxxxxxxxx> wrote:Hello!
I have created a script for uploading photographs with size less than 50 KB.
Everything works fine, but the images are viewable after a not so long time, but
not at once. I would like to have the photographs available just after
successful upload. Can you tell me, maybe there is some way to do that? Is it a
my hosting server fault?
Are you putting the image at a URL your browser has recently requested
- i.e. the most likely explanation is that the server is making the
file available immediately, but your browser has a file in its cache
with caching instructions.
Try iehttpheaders for MSIE or TamperData for Firefox to find out if
that's really what's going on.
Of course your ISP could be running some non-realtime filesystem
clustering solution (like a crontab'ed rsync) but you pay them money
for support.
C.
Ok thank you for help.
Can you explain me one more thing if I understood you correctly.
If I upload the page before sending a header, my page shows me the image I have just changed.
Is it true? Or no and I should clean up the cache even after uploading the images before
sending header?
My file is:
<?
//here I put a code to upload the page
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>my title</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<script type="text/javascript" src="js/funkcje.js"></script>
</HEAD>
Thank you again for your help C.
Marcin
.
- References:
- Uploaded images displayed after a few minutes
- From: MZ
- Re: Uploaded images displayed after a few minutes
- From: C. (http://symcbean.blogspot.com/)
- Uploaded images displayed after a few minutes
- Prev by Date: Re: Grid widget with inline editing : PHP or ASP.Net?
- Next by Date: Re: Forgotten password
- Previous by thread: Re: Uploaded images displayed after a few minutes
- Next by thread: imagetruecolortopalette returns a max of 128 colors
- Index(es):
Relevant Pages
|