Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    wac
    wac is offline
    Regular Coder wac's Avatar
    Join Date
    Sep 2002
    Location
    Cary, North Carolina, USA
    Posts
    359
    Thanks
    2
    Thanked 0 Times in 0 Posts

    efficient preload of large number of images

    I've got a web application which has a lot (107) of (small) images. These are basically used to set up a GUI theme (like rounded button corners, a specific look/fee) and to display object status. I tried to preload them by putting them initially in a hidden div up front before they might ever be used. But each image seems to initiate a separate http request. Is there any way to get the images to be preloaded in bulk with fewer requests?
    Wayne Christian

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try searching postload in the javascript forum, might not be exactly what you need but it won't delay loading of the entire page.

    With this quantity of images it may be an acceptable solution.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •