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
Post a Comment