This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes images are taking long time to upload Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "images are taking long time to upload" Watch "images are taking long time to upload" New topic
Author

images are taking long time to upload

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3829
It takes alomost 15 seconds to display images on my webpage (geocities), but I have seen other sites where images are uploaded in 1 or 2 seconds most.

I am using image tag to display images.

Is there any way or technique (chaching) to display images quickly?

Thanks.
[ September 12, 2006: Message edited by: Bear Bibeault ]
Oricio Ocle
Ranch Hand

Joined: Nov 30, 2004
Posts: 284

Depends on:
- Image size. Use a compressed format like jpg or gif.
- Server uploading bandwith. I think this could be the reason for free hosting


SCJP, OCMJD, OCMJEA
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Just a bit of clarification. Using the image tag to display images on a web page is not considered image uploading. Typically, anything coming from the server to the client is considered downloading.

Images and other resources like CSS and JS files will typically be cached autmagically by the browser unless you direct the browser otherwise. As Oricio stated, most likely your issues are because of using a free hosting service like geocities. You kind of get what you pay for.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: images are taking long time to upload
 
Similar Threads
Error deserializing Object
Increase Mouse Tool Tip
Create a loop that loop for x number of seconds. How ?
Dispaly all images of folder
time pattern for milli second