TLDRocket
Sign in

Performance Optimization

11 summarised stories about Performance Optimization, each linking back to the original source. Browse all topics →

Tuesday, 23 June 2026

Experimenting with the proposed Cross-Origin Storage API in Transformers.js

Hugging Face Blog 3 weeks ago

Transformers.js developers experimented with a proposed Cross-Origin Storage API to address redundant downloading and storage of shared AI model resources and WebAssembly files across different website origins. In a test case, the same 177 MB speech recognition model was downloaded twice when accessed from different origins, and a 4,733 kB WebAssembly runtime file was similarly duplicated despite being byte-for-byte identical. The Cross-Origin Storage API identifies files by cryptographic hash rather than URL or origin, allowing browsers to recognize and reuse the same resource across different websites, reducing bandwidth consumption and storage duplication.