Base solution for your next web application
Open Closed

Problem with old static files in Browser cache of clients - How to the Angular app has to clear cache after new deployment #11983


User avatar
0
pliaspzero created

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.

How could the ASPZERO Angular app has to clear cache after new deployment? Any ideas?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    There is a feature for notifying end users about new versions of your app, see https://github.com/aspnetzero/aspnet-zero-core/pull/4496. This feature sends a notification to end user and forces user to refresh the page to load latest version of the app.

  • User Avatar
    0
    pliaspzero created

    Thanks! Somehow I can not access GitHub Link - is there any dosumentation how to use / enable this feature? BG

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Please add your GitHub user on https://aspnetzero.com/LicenseManagement. Then, you can access this link.