Masayoshi Sekimura > LWP-UserAgent-WithCache-0.03 > LWP::UserAgent::WithCache

Download:
LWP-UserAgent-WithCache-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source   Latest Release: LWP-UserAgent-WithCache-0.11

NAME ^

LWP::UserAgent::WithCache - LWP::UserAgent extension with local cache

SYNOPSIS ^

  use LWP::UserAgent::WithCache;
  my %cache_opt = (
    'namespace' => 'lwp-cache',
    'cache_root' => "$HOME/.cache",
    'default_expires_in' => 600 );
  my $ua = LWP::UserAgent::WithCache->new(\%cache_opt);
  my $response = $ua->get('http://search.cpan.org/');

DESCRIPTION ^

LWP::UserAgent::WithCache is a LWP::UserAgent extention. It handle 'If-Modified-Since' request header with local cache file. local cache files are implemented by Cache::FileCache.

METHODS ^

TBD.

SEE ALSO ^

LWP::UserAgent, Cache::Cache, Cache::FileCache

AUTHOR ^

Masayoshi Sekimura <sekimura@qootas.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.