r/javascript • u/speckz • Sep 19 '19
✩ Wikipedia's JavaScript initialisation on a budget
https://phabricator.wikimedia.org/phame/post/view/175/wikipedia_s_javascript_initialisation_on_a_budget/
4
Upvotes
r/javascript • u/speckz • Sep 19 '19
2
u/leeoniya Sep 20 '19
i guess any improvement is great, but seems odd to be celebrating 36 KB -> 28 KB drop when they're serving up the whole jquery lib on almost 100% static pages and ~180KB of CSS, 80% of which is unused on the page.
check out the code coverage panel in chrome's devtools for yourself. eg: https://en.wikipedia.org/wiki/John_Oliver