image preloader
Posted by Taylor Bernard on September 2, 2015
bit over my head on the js side. the preload.js looks to be the nicest designed but the damn download file has got tons of libs spread all over the place, have no idea whats needed for use.
the ones i found made you specify which images you wanted to preload. so you make an array, giving path to all the images you want to preload. does this make sense? how would that work on a huge site with changing images and paths.
http://www.createjs.com/preloadjs
lazyloader looks to still be updated:
http://www.jqueryscript.net/loading/Image-Lazy-Loader-Plugin-for-jQuery-lazyload.html
heres another
https://github.com/farinspace/jquery.imgpreload
i mocked up a page to test that would give some dl time. all the images are about 5mb so it should be obvious its loading after a cache clear.
http://client.fleeangrybear.com/realtree/dragon/preload_test.html
this one may work for the css side. looks real simple.
http://www.sitepoint.com/jquery-preload-css-images/
the ones i found made you specify which images you wanted to preload. so you make an array, giving path to all the images you want to preload. does this make sense? how would that work on a huge site with changing images and paths.
http://www.createjs.com/preloadjs
lazyloader looks to still be updated:
http://www.jqueryscript.net/loading/Image-Lazy-Loader-Plugin-for-jQuery-lazyload.html
heres another
https://github.com/farinspace/jquery.imgpreload
i mocked up a page to test that would give some dl time. all the images are about 5mb so it should be obvious its loading after a cache clear.
http://client.fleeangrybear.com/realtree/dragon/preload_test.html
this one may work for the css side. looks real simple.
http://www.sitepoint.com/jquery-preload-css-images/