Questions tagged [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 faster transmission speeds between both

HTTP compression is a capability that can be built into web servers and web clients to make better use of available bandwidth, and provide faster 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. The most common compression schemas include gzip and deflate, however a full list of available schemas is maintained by IANA

309 questions
3
votes
2 answers

HTTP Compression with ASP.NET 4.0 and IIS7

I've been trying to implement HTTP compression on a few of my sites for some time now. I've tried implementing HTTP compression using variations on the following two techniques: From Application_BeginRequest in Global.asax From a custom…
Jonathan Wood
  • 65,341
  • 71
  • 269
  • 466
3
votes
1 answer

Application is not loading after upgrading to payara 4.1.1.171

Upgraded server from glassfish 3.1 to payara 4.1.1.171, took the glassfish config backup and restored to payara 4.1.1.171. After that my application is not loading and in console it throws this error net::ERR_INCOMPLETE_CHUNKED_ENCODING If i change…
moh
  • 1,426
  • 2
  • 16
  • 43
3
votes
1 answer

Why cant I see the Content-Encoding: gzip response in my c# HttpClient response header?

I'm making a simple c# program to establish if server side compression is available/enabled on various servers. This is my request code below. using (var client = new HttpClient()) { client.Timeout = new TimeSpan(0, 0, 5); …
Mr J
  • 2,655
  • 4
  • 37
  • 58
3
votes
1 answer

php: how to properly serve file download using readfile with output buffering compression

I have following code (from http://www.php.net/manual/en/function.readfile.php): header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment;…
BalticMusicFan
  • 653
  • 1
  • 8
  • 21
3
votes
4 answers

Distributed File Compression

I've been doing some thinking about data redundancy, and just wanted to throw everything out in writing before I kept going along with this (and furthermore to double check whether or not this idea has already been put into practice). Alright, so…
Dan Loewenherz
  • 10,879
  • 7
  • 50
  • 81
3
votes
1 answer

Does the Firefox add-on sdk allow direct modification of the http response byte stream?

I am working on a project I intended as an academic exercise for myself. What I am basically doing is trying to add a custom compression type between an IIS server and a web browser, but getting mired in the browser aspects of it. What is basically…
Tim
  • 412
  • 7
  • 18
3
votes
2 answers

Sitecore MVC - gzip compression error

I'm experiencing a problem when using Sitecore MVC 3 rendering with GZip content compression. I followed the blog post of John West, how to enable MVC in Sitecore. Until now it works perfectly, the pages are rendered. But if I run the page on IIS…
Tamas Molnar
  • 797
  • 2
  • 9
  • 25
3
votes
1 answer

Tomcat7 Compression JS/CSS

I've enabled compression using the following setting in my tomcat7 server.xml:
DD.
  • 21,498
  • 52
  • 157
  • 246
3
votes
1 answer

Delphi REST Server, Android Client using compression

We're building a Delphi REST server that serves up rather large chunks of data (1.5MB per request, of which there are many) to a native Android application. All works fine, except the data sizes in this case will be problematic, causing long…
bosvos
  • 549
  • 5
  • 14
3
votes
1 answer

Enable gzip compression using MVC3

I am using the chrome extension YSlow to test my site performance. I've got F Grade on Compress components with gzip. There are 15 plain text components that should be sent…
Aviran Cohen
  • 5,581
  • 4
  • 48
  • 75
3
votes
3 answers

Does a GunzipOutputStream - or something like it - exist?

Related to Handling HTTP ContentEncoding "deflate", I'd like to know how to use an OutputStream to inflate both gzip and deflate streams. Here's why: I have a class that fetches resources from a web server (think wget, but in Java). I have it…
Christopher Schultz
  • 20,221
  • 9
  • 60
  • 77
3
votes
1 answer

WCF custom binding for compression

Following the sample for compression by Microsoft. I have added the encoder, encoder factory, and binding element to my solution. The difference from their sample is that we do not register our endpoints via the config file (requirement), but…
DisplayName
  • 3,093
  • 5
  • 35
  • 42
3
votes
0 answers

IIS 7 dynamic compression truncates downloaded files

I have an issue on ASP.NET application which have been recently migrated to new server running IIS7 instead of IIS6. The application has been upgraded to .NET4 though most of the code remains as it was originally written in .NET 1.1. The application…
Marzena
  • 363
  • 4
  • 14
2
votes
2 answers

Benefit of compressing javascript/css files when using IIS httpCompression

It looks like IIS httpCompression compresses your files. If this compression is in place, what is the reason to compress files using compression tools like: Packer, JSMin or Yahoo Compressor?
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
2
votes
1 answer

Turn off IIS 6 HttpCompression for specific browsers

I am having issues with IE6 (surprise) and HTTP Compression using IIS6. I really don't want to turn off HTTP Compression for the site. Is there a way to tell IIS6 to not compress responses to specific versions of browsers? IE7 works…
Mike Schall
  • 5,829
  • 4
  • 41
  • 47