Posted on: 8/2/2013 4:47:12 AM | Views : 248

 protected void Application_BeginRequest(object sender, EventArgs e)     {         // Implement HTTP compression         HttpApplication app = (HttpApplication)sender;         // Retrieve accepted encodings         string encodings = app.Request.Headers.Get("Accept-Encoding");         if (encodings != null)         {             // Check the browser accepts deflate or gzip (deflate takes preference)             encodings = encodings.ToLower();             if (encodings.Contains("deflate"))     ...

Go to the complete details ...