3 ms·
Is there anybody who assumes networks are fast enough and immutable caches are a thing but parser is the bottleneck? They would bundle everything into a single
by aitchnyu 7y ago
Is there anybody who assumes networks are fast enough and immutable caches are a thing but parser is the bottleneck? They would bundle everything into a single js but minimise parsing costs.
```
polyfill1 = "function(...)"
polyfill2 = "function(...)"
vendor1 = "function(...)"
vendor2 = "function(...)"
route1 = "function(...)"
if(firefox) eval(polyfill1)
if(route === '/locations') {
eval(vendor1)
eval(vendor2)
eval(route1)
}
```