Cross-Origin Storage

Vite plugin and Nuxt module that share dependencies across sites

A Vite plugin and Nuxt module for the proposed Cross-Origin Storage API: they split shared dependencies such as Vue into chunks named by a SHA-256 of their contents, so separate sites building the same version produce the same chunk and a browser can keep one copy, with no central registry.

Trade-offs

  • Exploratory: the API is an early WICG proposal with no native browser support yet, working only through an extension, and the chunk format is not stable.
  • Content addressing replaces a central registry, so sharing works between unrelated sites but only when they build byte-identical chunks.

Q&A1

Testing the proposal and giving early feedback, building on an earlier Vite plugin by one of the proposal's authors.

Reviews

Loading reviews

    More from the team

    More in Fun & experimental

    See all 8 →
    • SonarControl a Mac with hand gestures sensed through its own speakers
    • cbirdsBoids flock in the terminal, in braille or Kitty sprites
    • ZeroWebExperimental Rust browser written almost entirely by AI
    • GoFrameExperimental Go framework and toolchain for browser WebAssembly apps
    • KillSwitchEsoteric language built to be impossible for LLMs
    • nuPSXExperimental PlayStation 1 emulator and debugger written in Zig

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs

    More in TypeScript

    See all 176 →
    • Charted RootsGenealogy and worldbuilding inside an Obsidian vault, from GEDCOM to maps
    • Prisma CalendarCalendar, timelines and recurring notes over the dated notes in Obsidian
    • MigrationPilotPostgreSQL migration linter that blocks unsafe DDL before merge
    • TileLineBasePlain-text database for Obsidian with tables, kanban, gallery and slides
    • JDFDocument format in plain JSON that renders like a PDF and diffs in git
    • MuTracerPhysically based path tracer for the web on WebGPU, with a WebGL 2 fallback