CPAN::CachingProxy is a very simple lightweight CGI based Caching Proxy.
SYNOPSIS
use strict;
use CPAN::CachingProxy;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
my $cache = CPAN::CachingProxy->new(mirrors=>['http://www.perl.com/CPAN/bug']);
$cache->run;
new() arguments ^
The new function takes quite a few arguments in the usual hash-like manor. Here is an example:
while( my $cgi = new CGI::Fast ) { CGI::Carp->import('fatalsToBrowser');
my $cache =
CPAN::CachingProxy->new(
mirrors => ['http://www.perl.com/CPAN/bug'],
key_space => "MyCache1", # increment to reset cache
cgi => $cgi,
agent => "MyProxy/0.1 (Hurray!!)",
);
$cache->run;
)
Product's homepage
Requirements:
· Perl