diff --git a/html/inc/cache.inc b/html/inc/cache.inc
index 81a9311743..92cda19d91 100644
--- a/html/inc/cache.inc
+++ b/html/inc/cache.inc
@@ -150,7 +150,7 @@ function start_cache($max_age, $params=""){
if ($no_cache) return;
$path = get_path($params);
-
+ $lastmodified = @filemtime($path);
cache_check_diskspace(); //Check free disk space once in a while
if ($max_age) {