KamoCRM

Invalidate org cache after feature toggle to reflect changes immediately

Fixkamo-internal
Змішані
26 березня 2026 р. о 21:37 UTC
Авторизація
kamo
Про нас
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.

Всі зміни

Як ви бачите відправлення?

Все це прибуває в робочому просторі. Почати безкоштовно план і читати цю сторінку знову в місяць.

БезкоштовноПерегляд цін