From 5589754533aab9b7edbdc41cc13c2cd189aa3c26 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Fri, 25 Feb 2022 17:36:01 -0500 Subject: Remove flask caching and unused imports This removes Flask caching since it seems I'm dumb and can't implement it correctly and it seems to serve pretty much no purpose anyway. Caching can always be handled by the server in front This commit also removes some unused imports that were leftover after moving functionality to different files (like view_functions) Flask compress might be useless too since nginx can also gzip. But I can actually observe the change... is there any problem with double gzipping? --- view_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view_functions.py') diff --git a/view_functions.py b/view_functions.py index 960271f..3de8687 100644 --- a/view_functions.py +++ b/view_functions.py @@ -3,7 +3,7 @@ view_functions.py - defines functions called by views to display the correct dat about files and paths. """ import os -from time import strftime, strptime, ctime +from time import ctime from siteconfig import siteconfig -- cgit v1.2.3