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.

Comments are closed.