1 A module that caches a data structure against a filename, statting the
2 file to determine whether it has changed and needs to be re-parsed.
3 You supply a routine to generate the data structure given the filename.
5 This module is recommended for files which change infrequently but
6 are read often, especially if they are expensive to parse.
8 This approach has the advantage over lazy caching that multiple
9 processes holding a cache will all update at the same time so you
10 will not get inconsistent results if you request data from different
13 The module itself is simply a factory for various backend modules.
14 The distribution includes backends for in-memory caching or file
15 caching using Storable, plus an adaptor to use any modules offering
16 the Cache or Cache::Cache interfaces as the cache implementation.
18 Data structures are automatically serialised/deserialised by the
19 backend modules if they are being persisted somewhere other than
20 in memory (e.g. on the filesystem).
22 WWW: http://search.cpan.org/dist/Cache-AgainstFile/