By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,025 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Uploaded images displayed after a few minutes

P: n/a
MZ
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?

Thank you in advance
Marcin from Poland

Dec 30 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 30 Dec, 19:52, "MZ" <marcinzmyslow...@poczta.onet.plwrote:
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.

Dec 30 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.