public function delete($key)
        {
            if (!$this->enabled) return;

            switch ($this->type) {
                case self::TYPE_APC:
                    apc_delete($key);
                    break;
                case self::TYPE_FILE:
                    $filename = $this->path . $key . '.cache';
                    unlink($filename);
            }
        }