protected function generateCacheKey(string $role)
    {
        return md5(serialize(array_merge($this->params, [
            'widget' => get_class($this),
            'app_theme' => app_theme(),
            'app_locale' => app_locale(),
            'role' => $role,
        ])));
    }