Menu

1 / 2

How HTTP/2 Made Five Frontend Performance Best Practices Obsolete

DEV Community·Ashish Kumar·6 months ago
#bDVGsPDr
Reading 0:00
15s threshold

Related: Network Optimization for SPAs and React Apps covers the modern optimization techniques that work with HTTP/2 rather than around HTTP/1.1's limitations.

In 2012, a frontend developer optimizing a website's network performance would combine all their JavaScript into one file, combine all their CSS, put icons into a single sprite image, split their static assets across multiple subdomains, and inline small images as base64 strings in CSS. All of these were correct. They were the right things to do.

By 2020, most of them were wrong. Not slightly suboptimal; actively counterproductive on HTTP/2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.