Skip to content

Commit

Permalink
Merge pull request #465 from urbanairship/development
Browse files Browse the repository at this point in the history
Add cache=true to graphite query
  • Loading branch information
aalpern committed Jun 2, 2015
2 parents ceef9a0 + c925681 commit 2518661
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ts/models/data/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export default class Query extends Model {
dataType: 'jsonp',
url: url,
jsonp: 'jsonp',
cache: true,
beforeSend: function(xhr) {
if (app.config.GRAPHITE_AUTH !== '') {
xhr.setRequestHeader('Authorization', 'Basic ' + window.btoa(app.config.GRAPHITE_AUTH))
Expand Down

0 comments on commit 2518661

Please sign in to comment.