LinkedIn Apr 27, 2017

LinkedIn Lite: A Lightweight Mobile Web Experience

Article Summary

LinkedIn shipped a 75KB mobile experience that loaded in under 6 seconds on 100 Kbps connections. Six engineers built it in four months.

LinkedIn's engineering team rebuilt their mobile web experience for India, their second-largest market with 47 million members. Facing 5.6 second time-to-first-byte and 500KB+ JavaScript bundles, they needed a radically lighter approach.

Key Takeaways

Critical Insight

By shipping 85% less JavaScript and eliminating redirects, LinkedIn India saw 4x more job applications and 3x member engagement.

The article reveals why they chose Dust.js templating and how streaming HTML delivery changed their performance profile.

About This Article

Problem

LinkedIn India's platform was struggling with slow DNS lookups that took about a second to complete. Connection times regularly went over 2 seconds, and mobile users waited an average of 5.6 seconds just to see the first byte of content.

Solution

The team switched to Server-Side Rendering using the Play framework and Dust.js templates. They also brought in Parseq to handle tasks without blocking, which meant the browser didn't have to do as much heavy lifting.

Impact

After the changes went live, the number of sessions doubled. Job applications jumped up four times over among India's 47 million LinkedIn members.