WWW::Mechanize::Plugin::Cache

WWW::Mechanize::Plugin::Cache is an automatic request caching for WWW::Mechanize::Pluggable.
Download

WWW::Mechanize::Plugin::Cache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joe McMahon
  • Publisher web site:
  • http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm

WWW::Mechanize::Plugin::Cache Tags


WWW::Mechanize::Plugin::Cache Description

WWW::Mechanize::Plugin::Cache is an automatic request caching for WWW::Mechanize::Pluggable. WWW::Mechanize::Plugin::Cache is an automatic request caching for WWW::Mechanize::Pluggable.SYNOPSIS # With this plugin installed: use WWW::Mechanize::Pluggable; my $cached_mech = new WWW::Mechanize::Pluggable new_cache=>1; $mech->get("http://yahoo.com"); # Fetched from Web $mech->get("http://yahoo.com"); # Fetched from cache # To use an old cache: my $cache = Cache::FileCache->new(cache_root=>'/old/cache/root'); my $cached_mech = new WWW::Mechanize::Pluggable cache=>$cache; $mech->get("http://yahoo.com"); # Fetched from the old cacheThis plugin adds caching functionality to WWW::Mechanize::Pluggable. It duplicates the functionality of WWW::Mechanize::Cached; you can have WWW::Mechanize::Pluggable set up the cache for you, or reuse a previously-filled cache. Requirements: · Perl


WWW::Mechanize::Plugin::Cache Related Software