public function afterSave(Model $model, $created, $options = array()) {
        $id = $model->id;
        $settings = $this->settings[$model->alias];
        $events = $settings['events'];

        // Use slug if that's the primary
        if ($model->primaryKey === 'slug') {
            $method = $settings['methodKeys']['getBySlug'];
        } else {
            $method = $settings['methodKeys']['getById'];
        }

        // Refresh the cache during update/create
        if ($id && $method && (($created && $events['onCreate']) || (!$created && $events['onUpdate']))) {
            $cacheKey = array($model->alias . '::' . $method, $id);

            if (method_exists($model, $method)) {
                $this->deleteCache($model, $cacheKey);
                call_user_func(array($model, $method), $id);

            } else {
                $this->writeCache($model, $cacheKey, array($model->read(null, $id)));
            }
        }

        if ($getList = $settings['methodKeys']['getList']) {
            $this->deleteCache($model, array($model->alias . '::' . $getList));
        }

        if ($getCount = $settings['methodKeys']['getCount']) {
            $this->deleteCache($model, array($model->alias . '::' . $getCount));
        }

        return true;
    }