Page 1 of 1
What Is Best Practice For Caching A Browser Game?
Posted: Tue Sep 06, 2011 7:59 pm
by Verahta
If you have a lot of pictures in your browser game, what do you think is the "best practice" for caching game elements so the game pages load faster?
Re: What Is Best Practice For Caching A Browser Game?
Posted: Thu Sep 08, 2011 4:16 pm
by Chris
That's quite a difficult thing to do because one of the main things about a game is it's nearly a different experience for every user. What you could do is try develop a system that caches things like leader boards hourly to save strain on you database server.
As for layouts, you could try develop a template system that saves HTML files for every user. This would take up a lot of disk space but would save the server strain processing wise.