Hi,

Make sure you have enabled hashing in production build configuration,

In angular.json file,
build.configurations.production.outputHashing: 'all'


Also, refer this article -
https://blog.nodeswat.com/automagic-reload-for-clients-after-deploy-with-angular-4-8440c9fdd96c

Hope this helps.

Regards,
Khushbu Poddar

On Tue, 27 Apr 2021 at 01:51, Neha Yargal <neha.yar...@gmail.com> wrote:

> Hi,
>
> I need some help with Angular Versioning. How to resolve Production Build
> Caching Issue?
>
> When we deploy new codes, most of the 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 windows or clear
> cache to see the new feature or need to do a hard refresh.
>
> Thank you in advance.
>
> Regards,
> Neha Yargal
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/CACCTogcbguZQNf25etmY9fO%2BVozvLCqWcv94iDgum_aU-JZLpw%40mail.gmail.com
> <https://groups.google.com/d/msgid/angular/CACCTogcbguZQNf25etmY9fO%2BVozvLCqWcv94iDgum_aU-JZLpw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CA%2B4sUhfi0cRxAL_9ZHvHRGDpL29fiw%2BxFWfzGaQXCbLFG7QLew%40mail.gmail.com.

Reply via email to