I've tested this new version and the .mjs files are correctly cached now. Still, even when using cache, loading a few hundreds of modules takes noticeable time. I don't think using "per-file" granularity with Vite will ever be a good idea 🙂 I'll continue my tests without this option.