Web-app only works after reloading

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

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 Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,294 questions
{count} votes

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

    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