load all picture into cache?
load all picture into cache?
is there a way to load all the picture files into cache ahead of time. when the user login and show loading screen, doing that loading screen time it will load all the picture into cache. and the gameplay will be faster
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: load all picture into cache?
Depends of how many pictures we are talking about. You could also use the local storage in case.
http://perishablepress.com/3-ways-prelo ... ript-ajax/
http://perishablepress.com/3-ways-prelo ... ript-ajax/
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
Re: load all picture into cache?
thanks alain! these tricks will come in handy.