view source
Better loading with PreloadJS: withCredentials and headers
PreloadJS has always been treated as a “load anything” library – allowing you to preload any file type with minimal code. But due to the nature of the internet, sometimes requests need to be customized, or security flags set.
Developed by Smiley Brothers LTD