Skip to content

Commit

Permalink
perf: use $httpProvider.$applyAsync
Browse files Browse the repository at this point in the history
Adds the $applyAsync to tease out a performance boost on modules with
many $http queries.
  • Loading branch information
jniles committed Feb 4, 2019
1 parent 9b11d6f commit a8fe7a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/js/app.js
Expand Up @@ -203,6 +203,9 @@ function httpConfig($httpProvider) {

// register error handling interceptor
$httpProvider.interceptors.push('ErrorInterceptor');

// perf - applyAsync
$httpProvider.useApplyAsync(true);
}

/**
Expand Down

0 comments on commit a8fe7a8

Please sign in to comment.