auto-sync via WEVIA git_sync_all intent 2026-04-20T14:17:27+02:00
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled

This commit is contained in:
opus
2026-04-20 14:17:27 +02:00
parent 6ba5df547f
commit bdea8c49da

View File

@@ -1,7 +1,7 @@
<?php
// V84 cache: 5s TTL to avoid 9s shell_exec cascade
$_emcache = '/tmp/em-live-kpi.cache.json';
if (file_exists($_emcache) && (time() - filemtime($_emcache)) < 5) {
if (file_exists($_emcache) && (time() - filemtime($_emcache)) < 60) {
header('Content-Type: application/json');
header('X-Cache: HIT');
echo file_get_contents($_emcache);