547 |
# if we have a cached piece of fresh data, return that one |
# if we have a cached piece of fresh data, return that one |
548 |
if ( !$self->{"nocache"} and |
if ( !$self->{"nocache"} and |
549 |
($self->{"crl"}[$i]{"state"}{"freshuntil"} || 0) > time and |
($self->{"crl"}[$i]{"state"}{"freshuntil"} || 0) > time and |
550 |
|
($self->{"crl"}[$i]{"state"}{"nextupdate"} || time) >= time and |
551 |
$self->{"crl"}[$i]{"state"}{"b64data"} ) { |
$self->{"crl"}[$i]{"state"}{"b64data"} ) { |
552 |
$::log->verb(3,"Using cached content for",$self->{"alias"},"index",$i); |
$::log->verb(3,"Using cached content for",$self->{"alias"},"index",$i); |
553 |
$::log->verb(4,"Content dated", |
$::log->verb(4,"Content dated", |