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

JSON compression not working on Azure

I'm working on an MVC5 web app but can't make Azure perform dynamic compression on my JsonResults. The following code in my Web.config only works when I run the web app locally, but as soon as I deploy on Azure Web App the compression does not…
tocqueville
  • 5,270
  • 2
  • 40
  • 54
0
votes
1 answer

Accurately measuring small website performance improvements

I just minified the HTML of my home page using WebMarkupMin and switched from gzip to deflate (as a result of using WebMarkupMin's CompressContentAttribute). This resulted in the original Content-Length of 21594 shrinking to Content-Length:15539.…
nmit026
  • 3,024
  • 2
  • 27
  • 53
0
votes
1 answer

Compression Filter on MVC Page is not working

I have a MVC5 Web Application. I used Compression Filter on my controller from This Site Everything works but looks like still my page is not compressed. I use YSlow Chrome extension to check my page but it reports that GZip compression is not…
FLICKER
  • 6,439
  • 4
  • 45
  • 75
0
votes
2 answers

Nginx gzip not working in Chrome

As the title said, Nginx Gzip is not working, I have tried many configurations scattered on the internet none have worked, I'm really frustrated when simple things don't work. gzip.conf: gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied…
John Pangilinan
  • 953
  • 1
  • 8
  • 25
0
votes
1 answer

Compression of Request using nginx

Using Nginx with Tomcat, we can compress response but I would like to know how to compress request? In prior versions of NGnix, it was not supported, is it supported in latest versions? If so, any documentation on how to do the same?
Freephone Panwal
  • 1,547
  • 4
  • 21
  • 39
0
votes
0 answers

How to compress image to be sent through HttpUrlConnection from applet to controller?

I addressed a problem with compress an image scanned by ScuGen Finger print sent through HttpUrlConnection from applet to controller, the code seems to be working but I need advise about it. Here is the code in the applet when I click on Verify…
Ibrahim
  • 77
  • 3
  • 10
0
votes
1 answer

IIS gzip compression for json data- how do we interpret with and without compression results

Average network timings on chrome i executed emulating chrome's regular 3G network: gzip Time (in ms): 1376.8 Latency (in ms): 1155.777778 Data Receive Time (in ms): 277.1111111 Non compressed Time (in ms): 2220 Latency (in ms): 1043.4 Data…
Sahil Sharma
  • 3,847
  • 6
  • 48
  • 98
0
votes
0 answers

Compressing the rest http requests from application to database

In our application, we are making REST calls to the database and passing huge chunk of JSON data. We would like to compress the JSON so as to speed up the data transfer process. LinkedHashMap mapObject; mapObject =…
Rahul
  • 637
  • 5
  • 16
0
votes
1 answer

Compress the files while downloading by client

I try to develop something like dropbox(very basic one). For one file to download, it's really easy. what i want is: when client asks me big file, i zip file in server side then send to user. But if file is too big it takes too many times to zip…
Shawon
  • 302
  • 3
  • 15
0
votes
1 answer

Compress the files while downloading by client

I try to develop something like dropbox(very basic one). For one file to download, it's really easy. what i want is: when client asks me big file, i zip file in server side then send to user. But if file is too big it takes too many times to zip…
Shawon
  • 302
  • 3
  • 15
0
votes
1 answer

compress or not png on web-server?

Should I put the responce-header " Content-Encoding: gzip" for png-files, if client give me request-header "Accept-Encoding: gzip" with request? As far as I know, and gzip and png both use algorithm Deflate. Whether a material difference with…
vaan
  • 350
  • 1
  • 8
  • 21
0
votes
1 answer

I Need Help On Implementing mod_gzip

I'm working on a website that showed in the page source a suggestion to implement gzip compression to help my pages display faster. I have downloaded the zip file for mod_gzip 1.23.26.1a (latest version). I'm running Apache 2.4.14. The link below…
0
votes
1 answer

Unable to compress decompress

I am trying to compress and decompress data by reading contents from a file in WP8 .I am not able to compress or decompress.While compressing the resultant string is always empty. While decompress getting error as "An exception of type…
0
votes
1 answer

IIS6.0 Enable HttpCompression for specific extensions at site level

I want to enable HttpCompression in IIS6.0 using adsutil.vbs. I understand that i can enable it for generic server level as well as for a specific website under IIS. (I used this…
Subhash Dike
  • 1,836
  • 1
  • 22
  • 37
0
votes
0 answers

What is the best place to enable gzip compression on an application running with proxy

My application is running on WildFly application server with NGINX proxy server on front. I have enabled gzip on WildFly and everything working fine when I access WildFly directly. But when I accessed via proxy there is content-encoding: gzip header…
Valsaraj Viswanathan
  • 1,473
  • 5
  • 28
  • 51