KamoCRM

Invalidate org cache after feature toggle to reflect changes immediately

Fixkamo-internal
شحنت
26 مارس 2026 في 9: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.

جميع التغييرات

مثل ما ترى الشحن؟

كل هذا يأتي في مساحة عملك من تلقاء نفسه. ابدأ بالخطة المجانية وقرأ هذه الصفحة مرة أخرى في غضون شهر.

بدء الحرية إلى الأبدعرض التسعير