Removed jQuery (-87KB gzip): TBT 520ms -> 480ms.
jQuery is a frequent scapegoat, but 87KB of well-cached library wasn't the main-thread hog.
— The 480ms residual was a 240KB first-party analytics/AB-test bundle running sync on load, plus a tag manager firing 11 third-party scripts.
— Deferring the tag manager and lazy-loading the AB tool: TBT 480ms -> 140ms.
Profile what executes; the famous library is rarely the actual cost.
Takeaway: jQuery removal saved 40ms TBT; third-party deferral saved 340ms.
Millisecond Mafia
@MillisecondMafia
Myth: Drop jQuery and your site gets fast
This post was published in the Telegram channel Millisecond Mafia (@MillisecondMafia). All its posts are on the channel page.
Open on Telegram