core/infrastructure/web_cache_service library
Web cache service for persistent model storage
Provides persistent caching using browser Cache API. Models cached here survive browser restarts.
Features:
- Cache API for binary data storage (no serialization needed)
- SharedPreferences for metadata (URLs, sizes, timestamps)
- Blob URL creation on-demand
- URL normalization (same URL = same cache entry)
- Storage quota management
- Persistent storage support
Classes
- WebCacheService
- Web cache service