I have a strange problem with angular 13 app.After i deploy a new version i have to clear cache in browser otherwise it functional as before.I know its very strange.Is there i way to disable cache for one component in Angular?
Asked
Active
Viewed 829 times
-1
-
1You can find the answer to your problem in this thread: https://stackoverflow.com/a/55403095/8135441 – Shafkhan Aug 14 '22 at 15:21
1 Answers
1
you have to add "outputHashing": "all", in build -> configuration -> production in angular.json.

Mojtaba Nejad Poor Esmaeili
- 700
- 1
- 6
- 12
-
-
share angular.json and command that you use to build. – Mojtaba Nejad Poor Esmaeili Aug 14 '22 at 17:27