Browser Caching Issue?

I updated my game last night, and It keep stopping at the older stop point. The events were not updating after uploading the new data. It did work in Incognito mode fine. I am just wondering if anyone has come up with a fix for this.

I am not looking for how I can clear the cache. I know that. I am looking for a way to force reset on my players browsers so they can play the new content without having to do any work.
You'll have to have your server tell browsers to either not cache the resources, or not to cache them for very long. The method to do this can vary depending on the server software you're using. Apache uses .htacess files, Nginx does it (as far as I know) in the server block. Those are the only two web servers I'm familiar with. If you're using a hosting provider, I'd say you're probably using Apache.

However, I just checked on your site, you're using Nginx, so you'll need access to the configuration file that tells the server that requests to areath.com go to this set of files, and you'll need to find the proper directives to tell it to send the proper caching details. To be honest, I'm fairly new to nginx, so I don't know the proper directives for it, but I hope that this helps you out. Google should be able to help with the rest.
Correct me if I am mistaken but could we not use the cache-control no store in the index? I'll have to test this.
I had a caching issue and solved it by adding a random token to the url - I.e. index.html?t=24601 - basically trick the browser into thinking you have a different file.

That fixed it for me, but I'm not sure if it will fix yours.
I had a caching issue and solved it by adding a random token to the url - I.e. index.html?t=24601 - basically trick the browser into thinking you have a different file.

That fixed it for me, but I'm not sure if it will fix yours.
This is basically the wrong solution. 

If you are running a web server, locally, you must set the caching directives to negative, aka, never cache, or to use the eTag so it at least checksums the files. The default settings for Apache httpd and nginx don't do this because you never want to operate a web server this way.

Whenever you make an edit to the game, and you are testing in the web browser, shift-F5 to force a reload. If that isn't working, then the caching directives in your browser are too aggressive, or the caching set by the server is too aggressive.

In the host's httpd.conf:

Header unset Last-ModifiedFileETag noneExpiresActive OnExpiresDefault "access plus 1 years"This is WRONG, but it's often the recommended solution damn near everywhere because Apache's default eTags used to use Inode which can vary if more than one server or file system serves the content.

The correct solution is to enable etags against the modification date and size so the browser CAN validate:

FileETag Size MtimeExpiresActive OffHeader set Cache-Control “max-age=60”For a production system (eg one that is actually exposed to the web) change the mag-age= to the number of seconds you actually want it cached. I put 60 for the sake of not leaving it at defaults.

Without the Etag, the browser relies on the last-modified header if present.

Original thread: https://forums.rpgmakerweb.com/threads/browser-caching-issue.49184/