Guess how many unique modules get loaded: import get from '//unpkg.com/lodash-es/get?module'; console.log(get({ message: 'Hello world' }, 'message')); Hint: The odd one out.
-
-
I think the primary use case we're considering is a developer making repeated change-reload cycles to their app code file(s), whilst a remote vendor dependency that is 53-modules-deep remains constant. Can smart browser caching of that remote code be "fast enough"?
-
There is per-resource overhead, so totally atomizing things has limits. Beyond that, we do keep in-memory caches for JS resources and, if a script is run often enough, persist optimized representations to disk.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.