文件历史

提交图

2 次代码提交

作者 SHA1 备注 提交日期
hangwin aa82c5bd47 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
hangerye 736faade25 feat: Project Initialization and Code Migration. 2025-06-09 21:15:42 +08:00