Is it possible to clear cache, or some other workaround?

0 favourites
  • 1 posts
From the Asset Store
Basics sprites and tilesets to build a platformer game or prototype
  • 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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)