Jump to content
Posted 31 March 2012 - 02:50 PM
Posted 01 April 2012 - 06:00 PM
Posted 01 April 2012 - 06:44 PM
Don't serve static data through your web server stack, serve it from a static store (preferably a cdn).
Posted 02 April 2012 - 06:45 PM
Posted 02 April 2012 - 09:32 PM
Posted 03 April 2012 - 12:12 AM
An alternative to a cdn? A crappy one would be renting a machine in the cloud (or in your bedroom), getting its address and serving stuff off there... A server stack is your back end technology for your web game. If it was a facebook style zynga affair, probably a standard http lamp stack would do? Not sure about as3 - generally for getting static data do an http get to your content store, for updating data do an http post to your web server.
Disregarding where the files originally came from, store them in the local cache with HTML5/ECMAScript 5, or at least encourage the broswer to do it with HTTP headers. That removes both loading times and strain on the web server.
Posted 03 April 2012 - 08:14 AM
Do you think it would be considered dishonest to store game-related files on a player's computer through the use of browser scripts?