How to enable GZip or Deflate on ASP.NET(HTTP Compression)
HTTP compression is a capability that can be built into web servers and web clients to make better use of available bandwidth, and provide greater transmission speeds between both. HTTP data is compressed before it is sent from the server: compliant browsers will announce what methods are supported to the server before downloading the correct format; browsers that do not support compliant compression method will download uncompressed data. Compression as defined in RFC 2616 can be applied to the response data from the server (but not to the request data from the client) The most common compression schemas include gzip and deflate. So how do we gonna achieve this HTTP Compression on asp.net application.? Here is the Step : Open Global.asax file. Add the method IsCompressionAllowed() to check if compression is allowed. Add code in Application_Start event. Global.asax File void Application_Start(object sender, EventArgs e) { //check if request is aspx page.. if java