I have a website on this repo: https://github.com/LeftClickMage/ethantwu.com/tree/main/minigames/greenearth, which links to this page: https://ethantwu.com/minigames/greenearth, and for some reason, it does not update if you have already opened the page before. All pages on my website updates by just reloading, so this is surprising.
I recently posted this game I created with phaser, and kept developing it. When I decided update 1.1 was ready, I pushed the update to github. Then to my surprise, the website still showed version 1.0 after reloading.
I have tried everything I could think of to get this page to update. First, I tried to clear cache, which to my surprise did not work. Then I tried to purge all cache from cloudflare (runs my website), which also did not work.
Then I turned on developer mode on cloudflare, which bypasses all cache for all clients, which also did not work.
Then out of frustration I cleared all code from the index.js file, which runs the game. Which then STILL showed the game version 1.0. IT RAN WITH NO CODE!
Then I deleted the entire directory from github, which finally deleted the page. Then I pushed the new code back on, and then it still showed V 1.0.
I tried on different devices, asked a friend who has opened the page before to try, nothing worked. The only way the page “updated” was when someone who has never opened the page before tried to open it. This confused me as I have practically wiped all of the cache from the website off the face of the earth.
I would really appreciate some help with this as I gave it some time(I thought time was an issue), and it still has not updated.