Best Practices for HTTP1.1 Becoming Bad Practices for HTTP/2

Email     |     Share  
1 | 2 | 3 | 4 | 5 | 6 | 7
Next Best Practices for HTTP1.1 Becoming Bad Practices for HTTP/2-4 Next

Resource In-Lining

Another best practice that was commonly used for HTTP 1.1 was in-lining of objects (like CSSs and Java Scripts) into the HTML code, again, reducing the number of resources and thus requests that need to be separately fetched per page. When using in-lining, objects cannot be stored in the browser cache, which means their payload has to be sent over and over again, therefore hurting performance.

With HTTP/2, this practice should be avoided. Since HTTP/2 is much more efficient with its ability to multiplex transactions over a single TCP connection and compress their headers, sending each resource separately increases the caching efficiency and the overall performance of a web application.

The Internet has evolved significantly since HTTP 1.1 was introduced 17 years ago. During this evolution, we've seen many enhancements to improve a user's online experience, such as the development of rich content. However, delivering these improvements came at one particular cost: performance. These evolving performance challenges were something that HTTP 1.1 was not designed to handle.

In February 2015, the Internet Engineering Task Force (IETF), an international community of network designers, operators, vendors and researchers concerned with the evolution of Internet architecture, released a new HTTP/2 version to address those challenges and adapt to the progression that Internet content has undergone.

As HTTP/2 took a long time to arrive, many interim best practices were developed to bypass the performance bottlenecks of HTTP 1.1. However, we learned that many of those HTTP 1.1 performance-enhancing practices would actually contribute to slowing web application delivery rather than accelerating it when using the new HTTP/2 protocol. In this slideshow, Radware's Yaron Azerual takes a look at a few examples organizations should consider.


Related Topics : SharePoint, Web Video and Voice Conferencing, UK, MySpace, Intranets

More Slideshows

Global33-290x195 2017 and Beyond: How Digital Innovation Will Impact the World

Digital innovation is by far the biggest influencer, changing the way we do just about everything, from shopping to communication to running a business. ...  More >>

DistilNetworksWebScrapping0x The Ubiquity and Danger of Web Scraping

In addition to posing a critical challenge to company branding, web scraping threatens sales, SEO rankings and can undermine the integrity of content that took resources to produce. ...  More >>

ForterEcommerceFraud0x Combat E-Commerce Fraud, Keep Up with the Latest Tech

The challenge for online retailers is to combine effective fraud prevention that protects their bottom line with great customer experience and high approvals. ...  More >>

Subscribe to our Newsletters

Sign up now and get the best business technology insights direct to your inbox.