Vue3 Caching Problems after IIS Server Deployments
I have the following problem after deploying a new version to my vue 3 application. The problem is that every site the user has visited in his current session is still cached in his browser even though i already have set all no-store, no-caching, etc. header and i can confirm via browser that all files have that header set. I already give an hash value to all new files during build and remove the old files. I guess cause i dynamically import the files via vue router they get cached automatically and i cant find a way to stop that. I even tried to append a date to the import statements with a timestamp but it seems like that is just run once and thats it. Im getting kinda clueless and dont know what another way could be. I dont want to tell my users to manually refresh after deployment every time. What could i do?