From the course: Developing for Web Performance

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Compress data with Gzip and Brotli

Compress data with Gzip and Brotli

From the course: Developing for Web Performance

Compress data with Gzip and Brotli

- [Instructor] The last step in the performance optimization process centers around optimizing the delivery of assets from your server to the visitor. That's what we'll cover in this chapter starting with compression. Even after all the optimization and minification we've done so far, we can still compress the assets we're serving to the visitor even more using Gzip and Brotli compression. This can be done automatically, manually or both. It all depends on the services you're using and how much effort you're willing to put into compression. There are two main compression types we use here and they have slightly different properties. Gzip is a tried and true standard for web compression. It's widely supported, effective, and can be automated on the server and done on the fly. In fact, most web hosts and CDNs actually Gzip your content automatically because it saves them money. So that performance usually comes without…

Contents