Apache-XPP

 view release on metacpan or  search on metacpan

man/xppcache.pod  view on Meta::CPAN


XPP makes use of a flexible caching system.  Caching is split between two jobs:
storing, and expiring.  Likewise, content can be cached using any combination of
Store and Expiry modules.  Each cached entity is indexed by a B<name> and
B<group>.  This document will cover what you need to know to add your own Store
and Expiry modules to XPP.

=head1 Store Modules

Store modules provide XPP with a way to store cache data.  The way in which this
data is stored is up to the module, and is fairly transparent to the XPP code
wishing to cache the data.  Here are the methods that need to be in every Store
module for things to work:

=head2 REQUIRED METHODS

=over 4

=item C<new> ( $name, $group, \%instance_data, \$content, @args )

Returns an object that may be used to retrieve the content.  C<$name> and



( run in 0.386 second using v1.01-cache-2.11-cpan-a1d94b6210f )