Web-app only works after reloading

Jørgen Fogh 96 Reputation points
2020-05-09T12:41:22.913+00:00

I have deployed a ASP.NET Core 3.1 SPA using Azure Devops at https://jrgfogh-whist.azurewebsites.net/
The app is running as a Linux app service.

When I access the page from Chrome, I get the welcome page the first time and then my app when I reload the page. After that, I can load the app correctly every time, until I do a hard reload, which makes the problems reappear.

When I access the page from Edge, I get an Azure welcome page every time.
If I access the page from incognito mode in Chrome, I also get the welcome page every time.

How do I proceed to diagnose this issue?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,340 questions
{count} votes

Accepted answer
  1. Jørgen Fogh 96 Reputation points
    2020-05-09T15:44:41.347+00:00

    It turns out that the contents of the web app was being cached by a service worker in Chrome.


0 additional answers

Sort by: Most helpful