Repository: kylin Updated Branches: refs/heads/master 5be4bbab6 -> 89e4b53da
KYLIN-2335,http request always use cache data in IE10 or IE11 Signed-off-by: zhongjian <jiat...@163.com> Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/89e4b53d Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/89e4b53d Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/89e4b53d Branch: refs/heads/master Commit: 89e4b53daaeadda3945bc796a09ee9e8dd90de9c Parents: 5be4bba Author: luguosheng <550175...@qq.com> Authored: Thu Dec 29 14:13:24 2016 +0800 Committer: zhongjian <jiat...@163.com> Committed: Thu Jan 5 11:26:30 2017 +0800 ---------------------------------------------------------------------- webapp/app/js/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/89e4b53d/webapp/app/js/config.js ---------------------------------------------------------------------- diff --git a/webapp/app/js/config.js b/webapp/app/js/config.js index 95cfc1a..5f72eb2 100644 --- a/webapp/app/js/config.js +++ b/webapp/app/js/config.js @@ -38,7 +38,9 @@ var Config = { // Angular module to load routes. KylinApp.config(function ($routeProvider, $httpProvider, $locationProvider, $logProvider) { - + //resolve http always use cache data in IE11,IE10 + $httpProvider.defaults.headers.common['Cache-Control'] = 'no-cache'; + $httpProvider.defaults.headers.common['Pragma'] = 'no-cache'; // Set debug to true by default. if (angular.isUndefined(Config.debug) || Config.debug !== false) { Config.debug = true;