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
0
votes
1 answer

meaning of same types for static and dynamic content in iis http compression

I am looking at the ApplicationHost.config file in IIS server to understand the configurations of Http Compression. I see the following code:
shahaf
  • 741
  • 1
  • 8
  • 26
0
votes
0 answers

WebRequestCreator.ClientHttp denies compression

I use WebRequestCreator.ClientHttp to make simultaneous async requests to a RIA WCF service. But the only supported encoding in http requests in this case is 'identity': Accept-Encoding: identity I didn't manage to specify gzip nor deflate in the…
Stas
  • 1,040
  • 7
  • 7
0
votes
2 answers

Compressing data to string for json post without saving files

I'm writing code (Python 3) that collects data on a small IOT device and uploads it to a database on AWS. Currently the data is sent by parsing it into a json string and sending it via post request. There can be quite a lot of data at times, and I'm…
SHB11
  • 375
  • 5
  • 14
0
votes
0 answers

How to have a node server compress IMGs coming from a certain path before sending the reply

I have a node.js with express running on Heroku linked to a github repository, it is serving a website which also contains a "gallery" section. The pictures in the gallery are loaded in very high res by other non tech-savvy admins, to prevent huge…
0
votes
0 answers

zlib.output_compression doesn't work when Content-Length is set

I have trouble compressing PHP output when the Content-Length header is set. Following this very similar question of mine, it seems I've narrowed down the issue, which happens even without defining output compression in Apache's .htaccess. So I'm…
sylbru
  • 1,461
  • 1
  • 11
  • 19
0
votes
0 answers

Apache output compression doesn't work when Content-Length is set

I have this minimal code that outputs some text:
sylbru
  • 1,461
  • 1
  • 11
  • 19
0
votes
1 answer

What parts of HTTP response are compressed using HTTP compression?

By reading resources on the internet I got the impression that only BODY of the response is compressed because you need to read the 'Content-Encoding' header before you can decompress anything and if that was compressed, browser would not be able to…
eddyP23
  • 6,420
  • 7
  • 49
  • 87
0
votes
1 answer

ResponseCompression on .netcore app running TargetFramework net472

I've been attempting to get Microsoft.AspNetCore.ResponseCompression 2.1.1 working on a .net core project application that targets the .net full framework 472 to no avail. I've stripped the project down to it's core leaving only: public…
Watson
  • 1,385
  • 1
  • 15
  • 36
0
votes
3 answers

how to enable HTTP compression for a website which is already build and running currently in Production

how to enable HTTP compression for a website which is already build and running currently in Production Regards, Gourav
gourav
  • 1,397
  • 5
  • 20
  • 31
0
votes
1 answer

Compression/Decompression for DataSet or any .Net Object

I'm developing a WPF App, in which I want to encrypt and compress heavy DataSet or Objects (<2MB) and send it across over the network. The other party would decompress and decrypt the data and consume it. This process will be on both sides from…
Varun Jain
  • 1,015
  • 2
  • 13
  • 19
0
votes
2 answers

How to remove white space in web page before serving to client?

I am deploying a web application and I am able to compress CSS and js in my web application using page speed module in nginx/apache, but couldn't able to remove HTML white space. Does anyone has done this before, I have seen this implementation in…
shining
  • 1,049
  • 16
  • 31
0
votes
0 answers

compress and store images in indexeddb

I want to store images in indexeddb. Would storing the image as a 'blob' occupy less space than as a Uint8ClampedArray? What if i compressed the Uint8ClampedArray, would that occupy less space ?
Aflred
  • 4,435
  • 6
  • 30
  • 43
0
votes
0 answers

Lighttpd mod_compress only works for some Clients

I have a lighttpd server 1.4.35-4+deb8u1 on Debian with mod_compress configured. When i send an identical request from two different Windows PCs, the response is compressed only for one client! I tried from both Firefox and Chrome, it does not seem…
Jakub Fojtik
  • 681
  • 5
  • 22
0
votes
0 answers

How to disable GZIP compression on Wildfly 10?

To be able to display the download status in a java application, I need to disable GZIP compression on a wildfly 10 server. It seems to be enabled by default. I found a lot of pages on how to enable it, nothing to disable it. Any clue ? EDIT I tried…
parser_failed
  • 697
  • 9
  • 20
0
votes
0 answers

Jetty 9 with lz4 compression

At this moment I have embedded Jetty 9 with default gzip compression that can handle 65MB worth of text data compressed into 4.6MB. This is very fast when the data is given all at once. However the performance degrades so much when the text data is…
Wins
  • 3,420
  • 4
  • 36
  • 70