grunt
grunt copied to clipboard
How to clear browser cache when launching updated version of application using grunt?
It's not an issue, It's a feature. But i am not sure i can achieve this using grunt or not.
I am deploying my UI application which is made up of AngularJS, Grunt and other UI things.
Whenever i update my UI and redeploy it using grunt (on apache-tomcat), Browser is always getting my resources from cache. (As the path of new resources like css, html are same)
User needs to do CTRL+F5 (Hard reload) to clear cache and use new things.
If somehow i can use angular + grunt to do this task than also it is fine.
I don't want to update the versioning of my files each time i redeploy the product. As my files internally downloading many html files as well.
So somehow i want to clear the browser cache only.
Thanks!