public function getExpiration(Model $model, $expires = null) {
        if (!$expires) {
            if ($time = $this->settings[$model->alias]['expires']) {
                $expires = $time;
            } else {
                $expires = '+5 minutes';
            }
        }

        return $expires;
    }