Can someone explain the various implementations of the Perl cache?

There are many different cache implementations in CPAN. I use Cache :: File (because it is installed on my operating system), but I also see links to File :: Cache, Cache: FileCache, Cache :: Cache, etc. Many of them seem to be implementations of the "cache interface", which appears to be either a "Cache" module or a "Cache :: Cache".

Finding the right documentation on Google is difficult. Can someone explain the various cache implementations (with an emphasis on file caching) and why are there so many?

Bonus points for telling me what I'm really going to discover: what is the syntax for expiration values ​​in Cache :: File? Ive only seen a few examples, such as 600 or 600 seconds, but did not explain the full syntax.

Thank.

Update: I think I found the answer to my bonus question here .

+5
source share
1 answer
+3

All Articles