Prune devel/py-EnthoughtBase
[dports.git] / devel / p5-Cache-AgainstFile / pkg-descr
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.
4
5 This module is recommended for files which change infrequently but
6 are read often, especially if they are expensive to parse.
7
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
11 processes.
12
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.
17
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).
21
22 WWW: http://search.cpan.org/dist/Cache-AgainstFile/