cambiato ttl warm cache

This commit is contained in:
2026-09-05 13:41:26 +02:00
parent 14a7cc2738
commit d9d6a7ab58
10 changed files with 215 additions and 88 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ try {
// Cache file (1 hour TTL)
$cacheFile = __DIR__ . '/cache/clienti.json';
if (file_exists($cacheFile) && (time() - filemtime($cacheFile) < 3600)) {
if (file_exists($cacheFile) && (time() - filemtime($cacheFile) < 7200)) {
readfile($cacheFile);
exit;
}