use cached queries
diff --git a/planetstack/core/static/page_analytics.js b/planetstack/core/static/page_analytics.js
index 75221b7..4e961b4 100644
--- a/planetstack/core/static/page_analytics.js
+++ b/planetstack/core/static/page_analytics.js
@@ -49,7 +49,7 @@
function updatePageAnalytics() {
$.ajax({
- url : '/analytics/bigquery/?avg=%cpu&count=%hostname' + getObjectQuery(),
+ url : '/analytics/bigquery/?avg=%cpu&count=%hostname&cached=1' + getObjectQuery(),
dataType : 'json',
type : 'GET',
success: function(newData)
@@ -74,7 +74,7 @@
function updatePageBandwidth() {
$.ajax({
- url : '/analytics/bigquery/?computed=%bytes_sent/%elapsed' + getObjectQuery(),
+ url : '/analytics/bigquery/?computed=%bytes_sent/%elapsed&cached=1' + getObjectQuery(),
dataType : 'json',
type : 'GET',
success: function(newData)