4 ms·
Caching or CDN does not help in squeezing out JS performance (actual JS execution and not n/w performance)
by aj 13y ago
Caching or CDN does not help in squeezing out JS performance (actual JS execution and not n/w performance)
- hacknat 13y agoYou think that a page that loads jQuery but doesn't use most of it incurs a performance penalty? I'll grant there are a few initializations and dom checks that jQuery does, but it probably blocks for all of 20ms.
- julien_c 13y ago...which is significant.
- talmand 13y ago20ms is significant?
- Dylan16807 13y agoThink of it as a fifth of your time budget spent doing nothing.
- hacknat 13y agoMost modern browsers are able to paint while loading script files, especially if you put your script files at the bottom of the page, where they belong. So, no, 20ms of parsing, compiling, and a small amount of execution is not a lot of time. Period.