From 74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861 Mon Sep 17 00:00:00 2001 From: tinect Date: Sun, 20 Oct 2019 19:39:46 +0200 Subject: [PATCH] cleanup cached js and css --- data/web/inc/footer.inc.php | 1 + data/web/inc/functions.inc.php | 18 ++++++++++++++++++ data/web/inc/header.inc.php | 1 + 3 files changed, 20 insertions(+) diff --git a/data/web/inc/footer.inc.php b/data/web/inc/footer.inc.php index ae8c80c4..9b36e64e 100644 --- a/data/web/inc/footer.inc.php +++ b/data/web/inc/footer.inc.php @@ -9,6 +9,7 @@ logger(); echo file_get_contents($JSPath); } else { echo $js_minifier->minify($JSPath); + cleanupCSS($css_minifier->getDataHash()); } ?>