Angular 应用程序必须在新部署后清除缓存

我们有一个 Angular 6 应用程序.它在 Nginx 上提供.并且 SSL 已开启.

We have an Angular 6 application. It’s served on Nginx. And SSL is on.


When we deploy new codes, most of new features work fine but not for some changes. For example, if the front-end developers update the service connection and deploy it, users have to open incognito window or clear cache to see the new feature.


What type of changes are not updated automatically? Why are they different from others?


What’s the common solution to avoid the issue?

 1 条回答