Chapter 3. Compression

This chapter covers

  • The pros and cons of compression
  • The types of compression available
  • The sample application used in this book
  • How to apply compression to a website

In this chapter we’ll look at the impact compression can have on your site—optimizing front-end performance and taking you closer to your goal of a grade A performance website.

By using compression, you’ll reduce the size of each HTTP request a web page makes, and each reduction will lighten, as it were, the overall weight of the page. By the end of the chapter, you’ll be able to optimize your website with a number of compression techniques in the .NET web technology stack. We’ll go through examples that are applicable to IIS, ASP.NET MVC, and Web ...

Get Fast ASP.NET Websites now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.