From 8c87e27b8a6da20492386ef89b77f53ec9b17a48 Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Thu, 14 Mar 2024 10:55:49 +0200 Subject: [PATCH] feat: enable frontend cache for everyone (#6546) --- src/lib/features/frontend-api/global-frontend-api-cache.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/features/frontend-api/global-frontend-api-cache.ts b/src/lib/features/frontend-api/global-frontend-api-cache.ts index e930e4201f..0199878c71 100644 --- a/src/lib/features/frontend-api/global-frontend-api-cache.ts +++ b/src/lib/features/frontend-api/global-frontend-api-cache.ts @@ -138,9 +138,7 @@ export class GlobalFrontendApiCache extends EventEmitter { } private async onUpdateRevisionEvent() { - if (this.config.flagResolver.isEnabled('globalFrontendApiCache')) { - await this.refreshData(); - } + await this.refreshData(); } private environmentNameForToken(token: IApiUser): string {