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

HTTP Compression: Some external scripts/CSS not decompressing properly some of the time

I am implementing page/resource compression to improve website performance. I have tried to implement both blowery and wicked HttpCompress but end up getting the same result. This only seems to affect Firefox, I have tested on Chrome and IE. What…
ptutt
  • 1,338
  • 3
  • 18
  • 35
2
votes
4 answers

Gzip compression for HTTP requests

Is there any way to make browsers &/or Silverlight application do a GZIP compression of HTTP requests? Don't confuse with GZIP compression of HTTP responses - I know how to set this up on the server side. What I need is to compress requests as well,…
Michael Pliskin
  • 2,352
  • 4
  • 26
  • 42
2
votes
1 answer

How can I configure a gzip compressed response in ASP.NET Web Api?

I have found numerous articles and blog posts which go into detail of the various ways this can be accomplished. Some look involved with custom coding, and are (right at this moment) not what I am wanting (I want a configuration solution). Some of…
scniro
  • 16,844
  • 8
  • 62
  • 106
2
votes
1 answer

Configure Jboss EAP 6.1 to GZIP Http response

I tried to compress the Http response by making following changes into the standalone.xml:
geeky_rhl
  • 21
  • 4
2
votes
2 answers

Can you enable HTTP compression in IIS 6 without restarting IIS?

I'm currently optimizing the performance on my company's site; when it was taking 6-10 seconds to download 2MB+ of our homepage and assets (the site is mostly Flash with a lot of media, so it's not 2MB of HTML and viewstate). There are a lot of…
Frank Rosario
  • 2,512
  • 5
  • 31
  • 47
2
votes
2 answers

Gzip http compression problem on iis7

My web hosting provider is running IIS7 and I am having loads of trouble to get gzip compression to work properly. Host admins say compression is installed. I can confirm compression using some online checking services but not with others. PageSpeed…
wpfwannabe
  • 14,587
  • 16
  • 78
  • 129
2
votes
4 answers

Any reasons not to gzip documents delivered via HTTP?

I remember someone telling me that gzipped content is not cached on some browsers? is this true? Are there any other reasons why I shouldn't gzip my content (pages, javascript and css files) with htaccess?
Haroldo
  • 36,607
  • 46
  • 127
  • 169
2
votes
1 answer

Content-Length value for compressed response

If I send a request to http server with header containing: Accept-Encoding: gzip, deflate; and the response has Content-Encoding: gzip; Content-Length:fsize; Is the fsize is the compressed value or uncompressed one? If it is compressed, is it…
nandaka
  • 101
  • 1
  • 6
2
votes
3 answers

Compressing data traffic over a network

I am looking for a distinction or what is needed for data compression over a network. Now i am not talking about something simple like http/and image compression, but am looking for something more efficient and that actually compresses the network…
tyrone 251
  • 355
  • 1
  • 4
  • 14
2
votes
0 answers

Web Page Compression - Looking for a definitive answer

In order to try and get to a resolution about web page compression, I'd like to pose the question to you 'gurus' here in the hope that I can arrive at some kind of clear answer. The website in question: http://yoginiyogabahrain.com I recently…
2
votes
2 answers

Netty - How to combine ChunkedWriteHandler with HttpContentCompressor

I'm trying to implement an HTTP-Server (using Netty) that not only serves "regular" html-pages, but also large files. Thus, I want to use the ChunkedWriteHandler as well as the HttpContentCompressor within my pipeline. Currently, this pipeline is…
Sebastian Schmitt
  • 433
  • 1
  • 5
  • 18
2
votes
0 answers

How to compress PHP output before sending it to browser without JavaScript errors?

I have a function that compress the php output but it gives me problems with the inline javascript. I found a page with related topic but the sample from there it's not work: http://jeromejaglale.com/doc/php/codeigniter_compress_html The problem…
Catalin Cardei
  • 304
  • 4
  • 15
2
votes
2 answers

JSON content compression stops working after some time with Azure WebRole

I have JSON compression configured for my Web API in Azure, following this MSDN article Use AppCmd.exe to Configure IIS at Startup. I publish my roles and start testing and all is well according to Fiddler. Here is an example request header: GET…
Keith Murray
  • 635
  • 1
  • 5
  • 15
2
votes
1 answer

Need Step-by-Step Overview for Compression on Tomcat

Need Step-by-Step Overview for Compression on Tomcat 7 ... I've been at this for days. Particularly interested in compressing text/xml in response from a servlet, but would also like to test other compressions. From my googling and reading, it seems…
Roger F. Gay
  • 1,830
  • 2
  • 20
  • 25
2
votes
1 answer

Enabling gzip compression in Glassfish via XML configuration

There are a variety of answers to this question which tackle it via the admin console. I would like to enable this via Glassfish's XML configuration but have not found any documentation regarding this feature.
sean
  • 2,560
  • 3
  • 18
  • 21