Cache items for longer period (5 years actually)

This commit is contained in:
tobi132 2019-10-17 12:11:18 +02:00
parent 6dc62cca13
commit f8c2f0f01b

View File

@ -41,7 +41,7 @@ class Items
require_once LIBS . 'cache_php.php';
$cache_php = new Cache_PHP(config('cache_prefix'), CACHE);
$cache_php->set('items', $items);
$cache_php->set('items', $items, 5 * 365 * 24 * 60 * 60);
return true;
}