Sri Ram

Sri Ram

  • 1.4k
  • 170
  • 95.7k

Clearing Javascripts browser cache

Feb 11 2024 3:59 PM

I'm working on existing web applications built using ASP.NET Core MVC and ASP.NET web forms technologies.

Existing web pages has references to custom .js files for client-side validations and other logic.

When I make changes to one of the .js file and deploy to Production, end users are not able to see the new script changes as their browser web pages are being cached and request them to manually clear browser cache.

However, my managers are against this and saying we can't ask all  5000 user to clear browser cache individually everytime we deploy scripts changes.

Please advise whats the best way to handle this issue.

 


Answers (2)