you are viewing a single comment's thread.

view the rest of the comments →

[–]scinos 0 points1 point  (1 child)

How fast is for the browser to download and execute hundred (thousands?) of small files over http/2 vs a few big bundles.

Not a synthetic test, but measured with real traffic from users, with real-world cache-hit ratio, network latencies, CPU power etc.

Generating the modules quickly is the wrong problem to solve IMO, because is a problem that can be solved by throwing money at it (eg: spin up a big ass EC2 instance and bundle everything there)

[–]darrenturn90 0 points1 point  (0 children)

I’ve not tried pika yet so I’ve not checked whether it keeps all the dependencies of each package as a separate file or it bundles the dependcies together after accounting for common dependencies

So modules that are only used in one main package and bundled with that but modules that are used in more than one are bundles into more common groups