Invalidate org cache after feature toggle to reflect changes immediately

Fixkamo-internal
Name
lúc 21:37 26 tháng 3, 2026 UTC
Tác giả
kamo
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập