In detail
- Example: Transformers.js auto‑selects Xenova/whisper‑tiny.en for ASR and Xenova/distilbert‑base‑uncased‑finetuned‑sst‑2‑english for sentiment by default model resolution.
- Current issue: identical model files are downloaded and cached separately for apps on different origins — the demo shows 177 MB of duplicate downloads.
- The Cross‑Origin Storage API aims to let byte‑identical models be reused across origins, cutting duplicate download and storage.
Why it matters
Web apps that run models client‑side can incur significant bandwidth and local storage costs from duplicate downloads; cross‑origin reuse would speed load times and reduce resource use — directly affecting cost and UX for business web apps.
For you If you run client‑side models in web apps, watch the Cross‑Origin Storage API and plan to test reuse behavior once available to cut bandwidth and storage waste.