You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when I update script.js and refresh the local Monogatori web page, updates aren't applied on the first refresh. It seems I need to refresh twice. I have caching disabled and don't have this issue on other pages.
Is the script cached somewhere by the engine itself? My guess is that if so, the cached version is pulled rather than the updated version, resulting in the issue.
It is also possible my local server is messing with me.
The text was updated successfully, but these errors were encountered:
Monogatari does save everything to the cache as a part of the offline gaming feature, you can however disable this by setting the 'ServiceWorkers' option on the options.js file to false and then removing the service worker installed in your browser from the web tools.
On chrome for example you would go into dev tools > Application > Service Workers and there, find the one named service-worker.js and click on Unregister.
After that, you won't need to refresh your browser twice but it is recommended that you enable it up again when releasing it.
We're closing this now as this is expected behaviour and is fixed by either disabling the service workers during development or changing the worker version to force a re-cache.
I'm using a local XAMPP server.
I've noticed that when I update script.js and refresh the local Monogatori web page, updates aren't applied on the first refresh. It seems I need to refresh twice. I have caching disabled and don't have this issue on other pages.
Is the script cached somewhere by the engine itself? My guess is that if so, the cached version is pulled rather than the updated version, resulting in the issue.
It is also possible my local server is messing with me.
The text was updated successfully, but these errors were encountered: