Re: Uploaded images displayed after a few minutes




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

.



Relevant Pages

  • Re: Help with Publisher 2007 - images
    ... I deleted most of the images, but left at least 1 per page. ... OK - I clicked on View> Master page, ... I've looked in Publisher Help, and don't see how to do it. ... I did upload both the index_files & index.htm to / in FileZilla. ...
    (microsoft.public.publisher.webdesign)
  • Re: Website only views in IE
    ... I compressed the images, and they all look ... Be sure to compress your images before you upload again. ... Compress graphics file sizes to create smaller Publisher Web ...
    (microsoft.public.publisher.webdesign)
  • Re: Upload of file containing images hyperlinked to web page.
    ... plus *copies* of the images you inserted into your Pub pages. ... upload both the index.htm file and the index_files folder *intact* to the ... Compress graphics file sizes to create smaller Publisher Web ... and you will be able to upload the index_files ...
    (microsoft.public.publisher)
  • Re: Help with Publisher 2007 - images
    ... I deleted most of the images, but left at least 1 per page. ... OK - I clicked on View> Master page, ... I've looked in Publisher Help, and don't see how to do it. ... I did upload both the index_files & index.htm to / in FileZilla. ...
    (microsoft.public.publisher.webdesign)
  • Re: Help with Publisher 2007 - images
    ... I deleted most of the images, but left at least 1 per page. ... OK - I clicked on View> Master page, ... I've looked in Publisher Help, and don't see how to do it. ... I did upload both the index_files & index.htm to / in FileZilla. ...
    (microsoft.public.publisher.webdesign)