Closed roberto-butti closed 1 year ago
Add ttl option in the Caching options for managing the TTL. for example as second parameter of setCache you can set an array of options.
$client->setCache('filesytem', ['path' => 'cache']);
Add an option named default_lifetime option for setting the default lifetime in the cache adapter
default_lifetime
$client->setCache('filesytem', ['path' => 'cache', 'default-lifetime' => 3600]);
Add ttl option in the Caching options for managing the TTL. for example as second parameter of setCache you can set an array of options.
Add an option named
default_lifetime
option for setting the default lifetime in the cache adapter