From a8fe7a801674ea6c84754a3089a5bf40b91e24da Mon Sep 17 00:00:00 2001 From: Jonathan Niles Date: Mon, 4 Feb 2019 14:48:19 +0100 Subject: [PATCH] perf: use $httpProvider.$applyAsync Adds the $applyAsync to tease out a performance boost on modules with many $http queries. --- client/src/js/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/js/app.js b/client/src/js/app.js index 710f401243..c86d9ba8a9 100644 --- a/client/src/js/app.js +++ b/client/src/js/app.js @@ -203,6 +203,9 @@ function httpConfig($httpProvider) { // register error handling interceptor $httpProvider.interceptors.push('ErrorInterceptor'); + + // perf - applyAsync + $httpProvider.useApplyAsync(true); } /**