From c925681de9293cc841c8f916b3ded71076ab296a Mon Sep 17 00:00:00 2001 From: aalpern Date: Mon, 1 Jun 2015 21:24:28 -0700 Subject: [PATCH] Add cache=true to graphite query Should address #351? --- src/ts/models/data/query.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ts/models/data/query.ts b/src/ts/models/data/query.ts index 16d3aa83..32b63076 100644 --- a/src/ts/models/data/query.ts +++ b/src/ts/models/data/query.ts @@ -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))