I have a game that reads from and writes to a mysql database. Basically, it writes game details to mysql.
This is important because I also use CRON jobs to pull all player game data together in an asynchronous multiplayer game. When a player longs into the session, I use the Ajax to load data in from the most recent record (using php and sql). It all works fine, except for browser caching. Unless one plays in 'in cognito' mode, or clears their cache, the most recent data are not retrieved.
I understand that clearing browser cache from within construct is probably not possible--for good reason. So is there any way from within construct to prevent browsers from caching things in the first place?
Develop games in your browser. Powerful, performant & highly capable.