Skip to content

Commit

Permalink
Re-enable http caching for dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
kynan committed Aug 26, 2014
1 parent eb6446d commit 3bc0ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/natdashboardctrl.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ angular.module('taarifaWaterpointsApp')

# should http calls be cached
# FIXME: should be application level setting
cacheHttp = false
cacheHttp = true

$scope.gridsterOpts = {
margins: [10, 10],
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/regdashboardctrl.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ angular.module('taarifaWaterpointsApp')
gettext, modalSpinner, populationData) ->
# should http calls be cached
# FIXME: should be application level setting
cacheHttp = false
cacheHttp = true

# FIXME: create our own statusColor version to prevent weird values
# from modifying the original one
Expand Down

0 comments on commit 3bc0ac8

Please sign in to comment.