C#C
C#3y ago
sirmangler

❔ asp.net 6 not updating static scripts (javascript etc)

I feel like I'm going insane here but, I have some content in wwwroot which works fine. A html page and a basic javascript page.

The script portion of the html / the javascript file will not update. To be clear, I:
Updated /js/myScript.js to be empty or console.log or whatever.
  • Cleared the cache in firefox
  • Cleaned the solution
  • Restarted Visual Studio entirely
  • Start the server again
    The old version is still being delivered.
The only time the files will update is if I change the HTML's structure (but still not the JS itself). What's going on here? This seems way too basic to be broken.
image.png
Was this page helpful?