return $this->cache[$path]['stat'];
}
}
+ wfProfileIn( __METHOD__ . '-miss' );
$stat = $this->doGetFileStat( $params );
+ wfProfileOut( __METHOD__ . '-miss' );
if ( is_array( $stat ) ) { // don't cache negatives
$this->trimCache(); // limit memory
$this->cache[$path]['stat'] = $stat;
wfProfileOut( __METHOD__ );
return $this->cache[$path]['sha1'];
}
+ wfProfileIn( __METHOD__ . '-miss' );
$hash = $this->doGetFileSha1Base36( $params );
+ wfProfileOut( __METHOD__ . '-miss' );
if ( $hash ) { // don't cache negatives
$this->trimCache(); // limit memory
$this->cache[$path]['sha1'] = $hash;