Fixing the CACHING (#2203)

Caching wasn't working after deprecate_v1, this addresses it. Also surfacing
whether the data is served from cache in explore view and a way to force
run the query bypassing the cache.
This commit is contained in:
Maxime Beauchemin
2017-02-22 08:31:31 -08:00
committed by GitHub
parent ce1e18b31b
commit d5ba88b407
8 changed files with 39 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ const px = function () {
const container = $(selector);
const sliceId = data.slice_id;
const formData = applyDefaultFormData(data.form_data);
const jsonEndpoint = getExploreUrl(formData, 'table', 'json');
const jsonEndpoint = getExploreUrl(formData, 'json');
const origJsonEndpoint = jsonEndpoint;
let dttm = 0;
const stopwatch = function () {