From 4e992e1562140bac9bf44c196fec1fa025768e64 Mon Sep 17 00:00:00 2001 From: luzeagithub <62355456+luzeagithub@users.noreply.github.com> Date: Thu, 1 Jul 2021 17:58:52 +0200 Subject: [PATCH] fix cache refresh issue --- get.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get.php b/get.php index f5f0440..cec3058 100644 --- a/get.php +++ b/get.php @@ -389,7 +389,7 @@ function uupGetOnlineFiles($updateId, $rev, $info, $cacheRequests, $type) { } } - if($cacheRequests == 1) { + if($cacheRequests == 1 && $cached == 0) { $cache = array( 'expires' => time()+90, 'content' => $out,