protected function path($key)
{
$key = $this->appendLocale($key);
$prefix = !empty($this->prefix) ? $this->prefix . '/' : '';
$subdir = 'global';
if (!empty($this->tags)) {
$subdir = reset($this->tags);
}
return $this->directory . '/' . $subdir . '/' . $prefix . trim($key, '/') . '.cache';
}