That's how it works, with auto-expiration I meant including garbage collection. Files are only deleted when requested after expiration, while the other drivers all have some type of garbage collection that gets rid of the old values not only upon request but also when space is needed.In case of the file driver, the expiration timestamp is part of the cache file header, so it should be possible to detect the expiration, delete the cache file, and return false.
It looks like you're new here. If you want to get involved, click one of these buttons!