protected function _expired($name, $group)
{
if (!$this->enabled) {
return null;
}
$hash = $this->get_name_hash($name);
$ghash = $this->get_group_hash($group);
// Do not check cached data, since we can return (and cache in this object) data if the cache is set to 'keep'
if (isset($this->cache_files[$ghash][$hash]) && $this->cache_files[$ghash][$hash]['expires'] > time() && file_exists($this->cache_files[$ghash][$hash]['file'])) {
return false;
} else {
return true;
}
}