16657 shaares
The canonical javascript image preloader attempts to maximize the browser’s ability to load resources in parallel. While this is a good strategy for certain resources, it is not necessarily the best strategy for loading a gallery full of high resolution images, especially if you can predict user behavior.