Skip to content

Commit

Permalink
Add cache=true to graphite query
Browse files Browse the repository at this point in the history
Should address #351?
aalpern committed Jun 2, 2015
1 parent 4c593d0 commit c925681
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
@@ -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))

0 comments on commit c925681

Please sign in to comment.