项目文件夹

文件
hangwin 7f3961be35 feat: implement comprehensive model cache management system
- Add intelligent cache mechanism using stable HuggingFace URLs as keys
- Implement automatic cache cleanup with time-based expiry (7 days) and size limits (500MB)
- Add zero-copy ArrayBuffer transfer to workers using Transferable Objects
- Create cache management UI in popup with statistics and manual controls
- Add background periodic cleanup task (every 24 hours)
- Support both local files (URL) and remote files (cached ArrayBuffer) modes
- Include comprehensive cache metadata management
- Add cache testing tools and detailed documentation

Key improvements:
- Solves HuggingFace dynamic URL caching issues
- Prevents unlimited cache growth with smart cleanup
- Provides user-friendly cache management interface
- Maintains backward compatibility with existing functionality
- Significantly improves model loading performance after first download
2025-06-11 12:56:06 +00:00
..