Experimenting with the Proposed Cross-Origin Storage API in Transformers.js
The Cross-Origin Storage (COS) API proposal aims to solve redundant downloads and caching of shared AI model and runtime resources across different web origins. Transformers.js currently suffers from duplicate storage of model weights and Wasm files due to browser cache isolation. COS identifies files by cryptographic hash rather than URL, enabling cross-origin sharing with integrity and access control.
Hugging Face




