brotli -.-
This commit is contained in:
@@ -2152,14 +2152,14 @@ function selectPlaneByHex(hex, options) {
|
||||
|
||||
|
||||
if (!options.noFetch && globeIndex && hex) {
|
||||
var URL1 = 'data/traces/'+ hex.slice(-2) + '/trace_recent_' + hex + '.json.gz';
|
||||
var URL2 = 'data/traces/'+ hex.slice(-2) + '/trace_full_' + hex + '.json.gz';
|
||||
var URL1 = 'data/traces/'+ hex.slice(-2) + '/trace_recent_' + hex + '.json';
|
||||
var URL2 = 'data/traces/'+ hex.slice(-2) + '/trace_full_' + hex + '.json';
|
||||
//console.log('Requesting trace: ' + hex);
|
||||
|
||||
|
||||
if (showTrace) {
|
||||
URL1 = null;
|
||||
URL2 = 'globe_history/' + traceDateString + '/traces/' + hex.slice(-2) + '/trace_full_' + hex + '.json.gz';
|
||||
URL2 = 'globe_history/' + traceDateString + '/traces/' + hex.slice(-2) + '/trace_full_' + hex + '.json';
|
||||
}
|
||||
if (newPlane && (showTrace || showTraceExit)) {
|
||||
SelectedPlane = oldPlane = null;
|
||||
|
||||
10
nginx.conf
10
nginx.conf
@@ -6,14 +6,14 @@ location /INSTANCE/data/ {
|
||||
}
|
||||
location /INSTANCE/data/traces/ {
|
||||
location ~ trace_recent {
|
||||
gzip off;
|
||||
add_header Cache-Control "public, max-age=10";
|
||||
add_header Content-Type "application/json";
|
||||
add_header Content-Encoding "gzip";
|
||||
add_header Content-Encoding "br";
|
||||
}
|
||||
location ~ trace_full {
|
||||
gzip off;
|
||||
add_header Cache-Control "public, max-age=60";
|
||||
add_header Content-Type "application/json";
|
||||
add_header Content-Encoding "gzip";
|
||||
add_header Content-Encoding "br";
|
||||
}
|
||||
}
|
||||
location ~ globe_.*\.json$ {
|
||||
@@ -25,7 +25,7 @@ location /INSTANCE/globe_history/ {
|
||||
alias /var/globe_history/;
|
||||
add_header Cache-Control "public, max-age=600";
|
||||
add_header Content-Type "application/json";
|
||||
add_header Content-Encoding "gzip";
|
||||
add_header Content-Encoding "br";
|
||||
}
|
||||
|
||||
location /INSTANCE/chunks/ {
|
||||
|
||||
Reference in New Issue
Block a user