Need for speed: How HuffPost cut page-load time by 8 seconds in its app
A little over two months ago, HuffPost changed the way it loads articles within its app, which led to significant speed improvements.
By switching from pulling articles from the mobile web to natively uploading them within the app, load times in iOS went from nine seconds to under one second, and load times in Android declined from five seconds to under one second. HuffPost said the faster load times led to an 8 percent increase in article views per visit, but it declined to provide raw numbers. Although the change improves user experience, loading articles within the app requires HuffPost to devote more resources whenever it makes changes to how it presents articles in its app.
“The fact that web-view hybrids make development processes slightly simpler for us doesn’t matter to users,” said Julia Beizer, HuffPost’s head of product. “From our point of view, it has been worth the investment in [loading articles natively in the app] to give our users the rich, fast experiences they’re expecting.”
HuffPost sped up its load times at a critical juncture for publishers. With mobile eating media, speed has become increasingly important. That’s led publishers to adopt fast-loading article features like Facebook Instant Articles and Google AMP, even though users are harder to monetize on these platforms than they are on publishers’ own properties. Although HuffPost remains bullish on platforms, a fast-loading app benefits the publisher by giving it speed while keeping users engaged on its owned-and-operated property.
Prior to loading articles within its app, HuffPost used to use a hybrid app where the app had its own navigation and settings screens, but when users clicked on articles, the pages were uploaded from the mobile web. Although pulling articles from the mobile web created slow load times for users, it was easier for HuffPost to make changes to how its articles were presented in its app.
With the old setup, HuffPost only had to make changes once, and they could do so without having to go through gatekeepers. Now that articles are loading within the app, changes must be made on both iOS and Android, and submitted to the app stores for approval. The Apple App Store can take up to two weeks to approve and implement changes.
Another challenge was creating code that would allow various embeds to load natively within the app, Beizer said.
For example, let’s say a HuffPost writer embeds a tweet, Instagram photo and YouTube video into an article. For that article to load within the app while still showing all of the content, HuffPost must create its own code for Twitter, Instagram and YouTube embeds.
What makes this difficult is that there are dozens of websites and platforms that writers source from when embedding content into their articles, and developers have to adapt by creating new code whenever they spot an embed from a new source. And while social platforms give publishers access to their APIs to facilitate embeds, publishers themselves generally wall off their own APIs because they want more control over the reporting and tracking of their video players.
So if HuffPost were to embed a video from another publisher, like ABC, for example, it likely wouldn’t have access to ABC’s API to create an ABC embed code for the HuffPost app. When this happens, HuffPost’s app defaults to loading articles the old way, by pulling them from the mobile web, which results in slower load times. This occurs for about 10 percent of HuffPost articles, Beizer said.
To make the swap to natively uploading articles, six software engineers worked for about three months. For now, HuffPost articles have the same design on the mobile web and within the app. But the company is experimenting with how to tailor designs for the app, Beizer said.
HuffPost focused on the speed improvements first because “we thought the most important experience we could change was improving load times,” she said.
Slack is fueling media’s bottom-up revolution
Publishing bosses loved Slack as a productivity tool, but it's now being used as the central forum for the media's bottom-up revolt.
‘It’s like telling a reporter he can’t have a Twitter account’: Reporters are starting their own newsletters outside of their employer
Salaried reporters and editors see side hustle newsletters playing the same role that blogs once did more than a decade ago.
Inside LGBT+ publisher PinkNews’ pivot to paid
'Covid probably forced our hand,' said PinkNews Media CEO Benjamin Cohen.
SponsoredFrom pop-up to permanent: Three trends driving digital transformation in 2020
By Dries Buytaert Brands have displayed rapid innovation over the past few years, building pop-up stores seemingly overnight to test new retail, product and marketing concepts. Now, as a result of COVID-19, something similar is happening digitally, with brands operating on compressed timelines to launch digital-first “pop-up” businesses — except unlike typical pop-ups these are […]
Member ExclusiveHow Overtime is building sports media for Gen Z
In order to grow a substantial Gen Z audience, the content has to feel like it's coming from a friend, but beyond that, the media company also has to engage with the audience as if it were their friend too.
Member ExclusiveAd tech is in denial about Apple’s new app privacy rule
Some ad tech companies are determined they'll find a solution to Apple's recent IDFA updates -- threading more confusion into an already conflicted landscape.