Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading, memory and downloading

Status
Not open for further replies.

maguskrool

Technical User
Dec 11, 2006
77
PT
Hi everyone.

I'm building a website with a gallery that shows one image at a time. So I load the first one and I figured that I as soon as that one finishes loading, I should load the second one, because it's likely the user will at least see one more. Then when the user selects the second one, I load the 3rd one, and so forth.

I'm not big on memory usage, but from what I gathered I should unload the images I don't need, so when the 3rd image loads, perhaps I should unload the 1st one. Hope this isn't becoming too confusing. Basically you load the image next to the current item and unload any that aren't the next or the previous items.

What I want to know is, if I unload an image and then need to load it again, the browser will look for it on the user's hard drive, and not download it again, right?

Thanks for your help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top