forked from uup-dump/api
fix cache refresh issue
This commit is contained in:
parent
cf4df29e2f
commit
4e992e1562
2
get.php
2
get.php
@ -389,7 +389,7 @@ function uupGetOnlineFiles($updateId, $rev, $info, $cacheRequests, $type) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($cacheRequests == 1) {
|
if($cacheRequests == 1 && $cached == 0) {
|
||||||
$cache = array(
|
$cache = array(
|
||||||
'expires' => time()+90,
|
'expires' => time()+90,
|
||||||
'content' => $out,
|
'content' => $out,
|
||||||
|
Loading…
Reference in New Issue
Block a user