0
I have an app with AngularJs
, application when I make any changes and then the deploy
the browser does not recognize these changes. It only works when I change the URL
of that application.
I received some tips here on SOpt
to use querystring
with Timestamp
, but I would like to try to solve this problem using something AngularJS
Would you have some way to disable or treat the cache so that this problem doesn’t happen?
The Angularjs is a Javascript framework, you will not be able to solve your cache problem in the client-side, the ideal would be to establish the expiration time of the files on the server.
– Felipe Assunção
And as for this: http://opensourcesoftwareandme.blogspot.com.br/2014/02/safely-prevent-template-caching-in-angularjs.html
– DiegoAugusto
Would not work?
– DiegoAugusto
Your cache is from template or.js files?
– Felipe Assunção
From template, if I add a menu and do
deploy
this menu does not appear unless I clear the cache.– DiegoAugusto