Web-app only works after reloading

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

Accepted answer
  1. 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