load all picture into cache?

General Chat, Comments
Post Reply
KaL
Posts: 344
Joined: Mon Jan 13, 2014 5:44 am

load all picture into cache?

Post by KaL »

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
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: load all picture into cache?

Post by a_bertrand »

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/
Creator of Dot World Maker
Mad programmer and annoying composer
KaL
Posts: 344
Joined: Mon Jan 13, 2014 5:44 am

Re: load all picture into cache?

Post by KaL »

thanks alain! these tricks will come in handy. ;)
Post Reply

Return to “General”