Wasm – Chrome – Not reloading.

About Monkey 2 Forums Monkey 2 Programming Help Wasm – Chrome – Not reloading.

This topic contains 9 replies, has 3 voices, and was last updated by  Pakz 1 year, 10 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #8725

    Pakz
    Participant

    I updated a wasm project and it just will not load the new uploaded version. I keep seing the old version of the program in the browser.

    I tried the reload button and the shift + f5. I updated chrome. But it just will not load the latest version.

    Does anyone know anything about this?

    It is from the 2d water that I posted in the project forum. If you loaded it already before than you could check if it loads the new version at your end since the new version should display.

    https://cromdesi.home.xs4all.nl/wasm/2dwater/Temp.html

    The new version has the – characters in the text in the top screen. The old version has the ‘to’ words. That old one also crashed when water was put near the side of the canvas.

    #8726

    Mark Sibly
    Keymaster

    Are you using mserver to host/run it?

    #8727

    Pakz
    Participant

    Do I have to use mserver on the website? When I compile through the editor and run it it works. When I upload it to the website through ftp it does not update it.

    #8728

    Pakz
    Participant

    I am looking at the developer tools from chrome and there is a error saying that Temp.wasm can not be loaded.

    #8746

    Diffrenzy
    Keymaster

    I think my issue is related.

    Platform: MaxOS Sierra, Chrome, Emscripten target:

    If I compile and run a program it starts and runs from mserver.
    If I then compile another program, the first one is shown again.
    If I close mserver,then compile and run, the correct program runs.

    #8755

    Pakz
    Participant

    I noticed I kept the old link to Monkey in my start menu. I have been using the previous version of monkey. I replaced it with a link to the new monkey version. I have also reinstalled the emscripten by following the guide in the monkey about window. I also unzipped that emscripten folder as was shown in the env_windows file.

    I am not sure if things will change but I hope it does.

    Edit: Broken – I renamed the devtools/emscripten folder and it looks like it is rebuilding now.

    Edit:I can compile wasm again but when I upload to the website the old cashed version loads and not the new. I will just rename the folders from now on until new versions come along.

    #8761

    Mark Sibly
    Keymaster

    when I upload to the website the old cashed version loads and not the new.

    This is likely to be a webserver issue I think, eg: there may be some apache config settings for cache control?

    #8763

    Pakz
    Participant

    I have no controls for the website. It is free space from my internet provider. I can only use a ftp to upload. They call it cloud space also.

    I will send a message to their twitter to check if they can do something.

    #8766

    Diffrenzy
    Keymaster

    @pakz : Are you sure you force refresh your browser?
    Tip: When Google Chrome developer tools are open, you can right click the refresh icon and choose refresh options, there is a “clear cache” option.

    #8775

    Pakz
    Participant

    @difference – Thanks, I did not know this yet.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.