Perlanet::Trait::Cache - cache feeds with CHI


Perlanet documentation  | view source Contained in the Perlanet distribution.

Index


NAME

Top

Perlanet::Trait::Cache - cache feeds with CHI

SYNOPSIS

Top

   my $perlanet = Perlanet->new_with_traits(
      traits => [ 'Perlanet::Trait::Cache' ]
   );

   $perlanet->run;

DESCRIPTION

Top

Everytime a page is fetched it is cached first through CHI. This allows you to cache pages to a local disk for example, if the feed has not changed.

ATTRIBUTES

Top

cache

The Chi cache object

AUTHOR

Top

Dave Cross, <dave@mag-sol.com>

COPYRIGHT AND LICENSE

Top


Perlanet documentation  | view source Contained in the Perlanet distribution.