This is the editorial from our latest JavaScript newsletter, subscribe here
Almost all JavaScript applications these days will require some sort of build process. Even if you're not transpiling from ES2015 or TypeScript, running sort of concatenation and minification processes on your code has become standard practice. The reason for this is that making an HTTP request involves quite a bit of overhead. Serving fewer, larger files works out more efficient than many smaller ones. With the adoption of the next version of the web's underlying protocol, HTTP/2, it may be time to rethink best practices.
HTTP/2 is based on Google's SPDY protocol, which was developed to improve on page load latency and improve security over the existing HTTP 1.1 standard. Development of the new protocol began in 2012, with the first development version being a direct copy of SPDY. The finalized standard was published in May 2015, and on May of this year, Google announced that they would no longer support SPDY in Chrome.
Continue reading %File Bundling and HTTP/2: Rethinking Best Practices%
by Nilson Jacques via SitePoint
No comments:
Post a Comment