cherry-studio/packages/shared/data/cache
MyPrototypeWhat 4f7a14b044 feat(tabs): implement LRU management and tab hibernation features
- Introduced `TabLRUManager` to manage tab hibernation based on usage patterns, enhancing memory efficiency.
- Added `isDormant` and `savedState` properties to the `Tab` interface for tracking tab states during hibernation.
- Updated `useTabs` hook to include methods for hibernating and waking tabs, along with pinning functionality to exempt tabs from LRU management.
- Enhanced `AppShell` to only render non-dormant tabs, improving user experience by focusing on active content.
- Implemented logging for tab state changes to facilitate debugging and monitoring of tab behavior.

These changes significantly improve the application's performance and user experience by optimizing tab management and memory usage.
2025-12-11 17:50:50 +08:00
..
cacheSchemas.ts Merge branch 'v2' into feat/router-design 2025-12-10 11:35:45 +08:00
cacheTypes.ts feat: CacheService & useCache Hooks 2025-09-15 14:12:41 +08:00
cacheValueTypes.ts feat(tabs): implement LRU management and tab hibernation features 2025-12-11 17:50:50 +08:00