From 5041a41d3ce9b20824977ad97bbf2e44f024760d Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Thu, 13 Oct 2016 00:07:55 +0300 Subject: [PATCH] Temporary hide the maps until they're optimized Right now the site is super slow and almost never loads because of the many events for this year's edition. The map tries to load over 6000 events via JSON and the app returns a 2+ MB JSON file. That's slow to generate, slow to cache, slow to transfer and slow to process. The smallish VPS we use can't handle it well. That's why I'm hiding the map so that at least the other parts of the site can work. When someone has some time to address the problem, this commit should be reverted. --- web/templates/pages/index.html | 5 +++-- web/templates/pages/map.html | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/templates/pages/index.html b/web/templates/pages/index.html index 92e12ce1..5b6f46e7 100644 --- a/web/templates/pages/index.html +++ b/web/templates/pages/index.html @@ -23,13 +23,14 @@ {% block messages %}{% endblock %} {% block content %}
-
+ +
diff --git a/web/templates/pages/map.html b/web/templates/pages/map.html index f1b04926..0d567979 100644 --- a/web/templates/pages/map.html +++ b/web/templates/pages/map.html @@ -6,13 +6,14 @@ {% block messages %}{% endblock %} {% block content %}
-
+ +