javascript - AngularJS on IIS - Browser Cache doesn't return updated page template -


i developing b2b in production. problem when update application on iis html files of template not updated. after clear cache of browser gets updated.

how can avoid iis cache pages of templates? or more how can have recent server files?

thanks matteo

when update files on html , means applying patch eveytime have updated number build number or patch number. have append patch number or build number @ end of each page. have set build number in global service , embed @ last of each html template.

for example. @ start:

build_number =1;  your_template ='content.html?'+buildnumber 

at second iteration:

build_number =2;  

this way updated htmls everytime apply changes on server. build number final svn build number. hope point.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -