Minor changes to the Image Engine pre-caching policy

I’ve made a small tweak to the Image Engine Javascript that drives my portfolio browser. In the initial release, the script automatically started pre-caching all the full-sized images as soon as the page had finished loading. Now only the first 5 images are pre-cached; after that, images are loaded on demand as they are selected. This reduces the bandwidth hit that a visitor would suffer when visiting a page with a lot of slides.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


This blog is protected by dr Dave\'s Spam Karma 2: 27414 Spams eaten and counting...