KamoCRM

Invalidate org cache after feature toggle to reflect changes immediately

Fixkamo-internal
Spegnimento
26 marzo 2026 alle ore 21:37 UTC
Autore
kamo
Impegno
0316d20

The org API route caches organization data in Redis for 24h. After enabling or disabling an app, the stale cache caused feature flags to remain false, making settings pages redirect to /settings. Now FeaturesManager calls /api/org/invalidate-cache after each toggle to clear the cached org data before router.refresh() re-fetches it fresh from the backend.

Tutte le modifiche

Come quello che vedi la spedizione?

Tutto questo arriva nel vostro spazio di lavoro da solo. Iniziare sul piano gratuito e leggere di nuovo questa pagina in un mese.

Inizia gratis per sempreVisualizza il prezzo