Closed zizther closed 3 years ago
Since updating to v2.8 from 2.7 I've noticed that the cache is no longer clearing after the time set. If i clear all caches via the CLI it will work.
Here is one example of what I have. In this example I am outputting a the current dat and time to illustrate that the cache is not expiring.
return [ 'elementType' => Entry::class, 'one' => true, 'cache' => 'PT1M', // 1 minute 'transformer' => function(Entry $entry) { $date = date('d-m-y h:i:s'); return [ 'date' => $date, ]; }, ];
Thanks for reporting that! Just released v2.8.2 with a fix.
Description
Since updating to v2.8 from 2.7 I've noticed that the cache is no longer clearing after the time set. If i clear all caches via the CLI it will work.
Here is one example of what I have. In this example I am outputting a the current dat and time to illustrate that the cache is not expiring.
Steps to reproduce
Additional info