From 3d9d4b13e3748dfc15811a28e2378c4061a1c772 Mon Sep 17 00:00:00 2001
From: Kristian Lyngstol
Date: Sat, 11 Apr 2015 13:11:32 +0200
Subject: NMS: Multi-canvas drawing for potential performance
Not a big deal for chromium at the moment, but firefox liked it.
It also has more potential for future improvments.
---
web/etc/varnish/default.vcl | 2 +-
web/nms.gathering.org/nms2/index.html | 18 +--
web/nms.gathering.org/nms2/js/nms.js | 253 +++++++++++++++++++---------------
3 files changed, 153 insertions(+), 120 deletions(-)
(limited to 'web')
diff --git a/web/etc/varnish/default.vcl b/web/etc/varnish/default.vcl
index 3c38683..5f825a6 100644
--- a/web/etc/varnish/default.vcl
+++ b/web/etc/varnish/default.vcl
@@ -98,7 +98,7 @@ sub vcl_backend_response {
set beresp.ttl = 30s;
}
if (beresp.status == 200 && bereq.url ~ "now=") {
- set beresp.ttl = 10m;
+ set beresp.ttl = 60m;
}
if (beresp.status == 500) {
return (retry);
diff --git a/web/nms.gathering.org/nms2/index.html b/web/nms.gathering.org/nms2/index.html
index f57c717..869fee0 100644
--- a/web/nms.gathering.org/nms2/index.html
+++ b/web/nms.gathering.org/nms2/index.html
@@ -48,7 +48,7 @@
Toggle Night Mode
Travel in time
- Replay TG
+ Replay TG
Scale:
@@ -64,7 +64,7 @@
-
+
@@ -79,7 +79,7 @@
-
+
Welcome to NMS
Cool stuff:
@@ -126,7 +126,12 @@
-
-