From 1ae9be6a794c4767637147711dcdbe5e82efcf13 Mon Sep 17 00:00:00 2001 From: binaryatrocity Date: Sun, 27 Jul 2014 10:59:06 -0500 Subject: [PATCH] Cache dota2 api requests --- app/templates/profile.html | 3 ++- app/templates/teamspeak.html | 2 +- app/utils.py | 3 +++ app/views.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/templates/profile.html b/app/templates/profile.html index 878748c..d497f4f 100644 --- a/app/templates/profile.html +++ b/app/templates/profile.html @@ -103,7 +103,8 @@ {% endblock %} {% block pagescripts %} - +{##} + {% cache 60*5 %} +{% set teamspeak_data = get_teamspeak_window() %}