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
10
votes
2 answers

How do I enable GZIP compression for POST (upload) requests to a SOAP WebService on IIS 7?

How can I enable compression for POSTed data uploaded to a .NET WebService (SOAP, not WCF)? I thought it would be a simple matter of enabling dynamic compression in IIS but after enabling, it's only compressing the response, not the POST request.…
NickG
  • 9,315
  • 16
  • 75
  • 115
9
votes
4 answers

HTTP header compression

HTTP headers aren't very efficient. Dozens of bytes more than necessary are used between the minimal method and response headers. Has there been any proposal to standardize a binary or compressed format for HTTP? Is there a similar standard besides…
Potatoswatter
  • 134,909
  • 25
  • 265
  • 421
9
votes
3 answers

How to support compressed HTTP requests in Asp.Net 4.0 / IIS7?

For an ASP.NET 4.0 / IIS7 web app, I would like to support compressed HTTP requests. Basically, I would like to support clients that would add Content-Encoding: gzip in the request headers, and compress the body accordingly. Does anyone known how I…
Joannes Vermorel
  • 8,976
  • 12
  • 64
  • 104
9
votes
5 answers

How can I turn on DynamicCompression feature of IIS programmatically?

I'm making an installer program for my web application. My web application uses CSS and JS heavily, so I want to enable both Static and Dynamic HttpCompression for IIS7/7.5. It needs 2 steps: I can modified the web.config, put
9
votes
4 answers

Enable GZip compression for SVG in Azure Web Sites?

I'm trying to enable GZip compress for SVG in an Azure Web Site using web.config transforms without success. Here is what my transform looks like:
Brian Vallelunga
  • 9,869
  • 15
  • 60
  • 87
9
votes
1 answer

GZIP compression + htaccess deflate

Can I have both .htaccess with: DEFLATE On php, images, html files etc. + php header with: ob_start("gzhandler") ? If no, what is the best opportunity? I am just worried if it does conflict.
JKMadsen
  • 127
  • 1
  • 1
  • 5
9
votes
0 answers

httpCompression override in web.config ASP.NET IIS7.5

I have this code in my web.config for an ASP.NET 4.5 website running in IIS 7.5
Manight
  • 500
  • 5
  • 26
8
votes
2 answers

Setup IIS10 to serve pre-compressed files

my angular2 projects build pre-compressed gzip files for my web-app but my IIS only serves the normal ".js" files instead of the compressed ".gzip" files. My browser is willing to accept gzip. What is the correct setting for IIS to allow gzip…
Alex
  • 1,857
  • 3
  • 36
  • 51
8
votes
4 answers

Compress/Decompress NSString in objective-c (iphone) using GZIP or deflate

I have a web-service running on Windows Azure which returns JSON that I consume in my iPhone app. Unfortunately, Windows Azure doesn't seem to support the compression of dynamic responses yet (long story) so I decided to get around it by returning…
Steven Elliott
  • 3,214
  • 5
  • 29
  • 40
8
votes
1 answer

IIS 7.5 Static Content Compression (not consistent )

I have the following web.config:
Sameh
  • 934
  • 1
  • 14
  • 40
8
votes
1 answer

Azure CDN - Enabling HTTP 304 Caching with ETag - Hosted Web Role

We are trying to enable HTTP compression (gzip) and HTTP 304 Caching via ETags on Azure CDN. We already discovered an issue with enabling Azure CDN Compression, but now we can't get compression and ETag caching (304s) working simultaneously. This…
7
votes
4 answers

Why is gzip compression not working on IIS 8.5?

I am unable to get gzip compression working on IIS 8.5 on a Server 2012 R2 machine. I have done some research and followed the instructions found in these posts: How to enable GZIP compression in IIS 7.5 Compression in IIS 8.5 not successful,…
mrcoulson
  • 1,331
  • 6
  • 20
  • 35
7
votes
1 answer

Rack rack.input variable getting truncated?

I wrote a piece of Rack Middleware to automatically unzip compressed request bodies. The code seems to be working just fine, but when I plug it into my rails app, I get a failure "Invalid JSON" from ActionController::ParamsParser. As a debugging…
Ben Scheirman
  • 40,531
  • 21
  • 102
  • 137
7
votes
3 answers

IIS 7 compression not working

I have a Windows server 2008 R2 with IIS 7. By default when you create a site in IIS, Compression is enabled. I checked the Compression module and both Checkboxes are checked. Now, I am using fiddler to check if pages are being compressed but it…
Joseph Ghassan
  • 759
  • 3
  • 9
  • 21
7
votes
2 answers

Azure Web App Not Using GZip Compression

I was using WebPageTest to test the performance of my Azure Web App (ASP.Net vNext Web API/Angular). I got an F for both "Compress Transfer" and "Cache Static Content". After searching StackOverflow and Google, I added the following to my…
jkruer01
  • 2,175
  • 4
  • 32
  • 57
1 2
3
20 21