Apache-PAR
view release on metacpan or search on metacpan
0.21 Sat Jun 07 22:00:00 2003
- Changed required version of Apache::Test to 1.01 - 1.03 was not
on CPAN
0.20 Sun Jun 03 ??:??:?? 2003
- Changed to use Apache::Test for tests - testing should now work
on Win32 and mod_perl 2.x
** Note: Apache::Test is now a required module for Apache::PAR **
- tutorial.pod moved under PAR (shouldn't go in main Apache dir)
- Change for consistancy with PAR.pm to default PerlRun and Registry
scripts to use the /script directory instead of /scripts.
** All modules must be updated with this change **
Modules can be updated by either changing the directory name
inside the PAR archive, or by setting PARRegistyPath or
PARPerlRunPath to scripts/ within a web.conf
Thanks to Autrijus Tang <autrijus@autrijus.org> for this fix.
0.14 Sun Apr 30 13:00:00 2003
- Added ability to do caching to the Apache::PAR::Static module
(see documentation in that module for details.) To use caching
the Cache::Cache module is required
- Some general code cleanup performed
- Switched to Eclipse IDE for editing / CVS management of project
- Removed use warnings to work with old versions of Perl
PAR/Static.pm view on Meta::CPAN
$r->log->debug('Apache::PAR::Static: Attempting to get cache results') if $cache_debug;
my $cache_results = $cache_obj->get($filename . '!!' . $location);
# Cache miss
unless (defined $cache_results) {
$r->log->debug("Apache::PAR::Static: Cache miss for $location in $filename") if $cache_debug;
return undef;
}
# Check for updated file
my $cache_mtime = $cache_results->[0];
unless ($cache_mtime == $file_mtime) {
$cache_obj->remove($location);
$r->log->debug("Apache::PAR::Static: Cache time does not match file modified time for $location in $filename") if $cache_debug;
return undef;
}
# Cache hit
$r->log->debug("Apache::PAR::Static: Cache hit for $location in $filename") if $cache_debug;
( run in 0.459 second using v1.01-cache-2.11-cpan-05444aca049 )