Every time that I release a new version of my app, during a few hours/day I have some users reporting that they do not see the changes until they reload website with ctrl+F5.
I've setup some confs to force browsers not to use cache :
In index.html :
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
In angular.json
...
"configurations": {
"production": {
"outputHashing": "all",
...
But when i navigate on deployed app, and I check in the Chrome's network tab, I can see that for main.js (which do contains a hash in it's name) :
Status Code: 200 OK (from disk cache)
How can I totaly prevent browser to use cache?
Edit :
What I see is that if I navigate on the website typing the address in the address bar, or using a favorite, an old version of the files are loaded. But if I go for F5 (even without ctrl) I get the current version.
Even worse : I use F5 -> get new version. Then I use fav/type the address -> back to the older version... I'm confused
Also it seems that I get the older version of the website only when I navigate on the website base url. If URL is an internal page, I get current version.
Many thx