heatmap stuff

This commit is contained in:
Matthias Wirth
2020-07-23 23:59:24 +02:00
parent e93bd4012b
commit d106e8beae
2 changed files with 13 additions and 18 deletions

View File

@@ -124,6 +124,19 @@ function lDateString(date) {
return string;
}
// get configuration json files, will be used in initialize function
let get_receiver_defer = $.ajax({ url: 'data/receiver.json',
cache: false,
dataType: 'json',
timeout: 5000,
});
let test_chunk_defer = $.ajax({
url:'chunks/chunks.json',
cache: false,
dataType: 'json',
timeout: 4000,
});
if (!heatmap) {
heatmapDefer.resolve();
@@ -171,19 +184,6 @@ if (!heatmap) {
}
}
// get configuration json files, will be used in initialize function
let get_receiver_defer = $.ajax({ url: 'data/receiver.json',
cache: false,
dataType: 'json',
timeout: 5000,
});
let test_chunk_defer = $.ajax({
url:'chunks/chunks.json',
cache: false,
dataType: 'json',
timeout: 4000,
});
if (uuid != null) {
get_receiver_defer = null;
receiverJson = null;

View File

@@ -21,11 +21,6 @@ location /INSTANCE/data/ {
add_header Cache-Control "public, max-age=0";
add_header Content-Encoding "gzip";
}
location /INSTANCE/data/heatmap/ {
gzip off;
add_header Cache-Control "public, max-age=5";
add_header Content-Encoding "gzip";
}
}
location /INSTANCE/globe_history/ {