locked
Keep getting old version of Blazor Webassembly project after publish RRS feed

  • Question

  • User-1816544954 posted

    Hi, 

    We're building a blazor webassembly client (also installable as PWA) which is hosted on Azure AppService.  We keep getting old verions of the app after publish.

    Even when I hit CTRL-SHIFT-R to competely reload the site, after I close and open the link againI get the old version again. 

    I set the WEBSITE_LOCAL_CACHE_OPTION = Never on the AppService but that didn't help. 

    Do you have any guidance on how to prevent this? 

    Gert-Jan

    Saturday, July 11, 2020 9:38 AM

Answers

  • User-474980206 posted

    If you created a PWA the service worker is responsible for caching the assets. Look at the code to see why it’s not updating. It probably stores the webassemply in local storage. You can use the the browser to clear local storage for your site, to see if it’s the issue.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, July 11, 2020 3:56 PM

All replies