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

Site broken in IE7 - how to look for clues?

currently working on a site - we enabled compression was in iis6 on friday. also some css / javascript files have been minified... Now back on monday and it appears the site has stopped working in IE7 and after reverting the changes the site still…
2
votes
1 answer

html text output compression from rails (or apache/passenger)

i have a quite strange request: i want to "compress" all the output from a rails app; with this i do not mean gzip or any similar compression, i mean to reformat the whole output (preferably with apache/passenger but can also be a rack middleware or…
z3cko
  • 3,054
  • 8
  • 40
  • 59
2
votes
2 answers

Node.js express, routers and compression

In a Node.js application based on express I load the compression middleware this way: const express = require("express"); const compression = require("compression"); const app = express(); app.use(compression()); If I add a router to manage API…
SiliconValley
  • 1,465
  • 17
  • 30
2
votes
1 answer

http compression on windows phone 7 http stack

I asked this question before the final WP7 platform was released and never received a definitive answer from the team - it appears that the http stack in WP7 DOES NOT support compression. The way I found this out was by using fiddler while running…
MIantosca
  • 833
  • 1
  • 10
  • 33
2
votes
1 answer

Using gzip / compression in Symfony 2 without mod_deflate

I am working on two different Symfony 2.8 projects running on different servers. It would like to use compression for faster loading. All resources I found point to mod_deflate. But while the first server does not offer mod_deflate at all, the…
Andrei Herford
  • 17,570
  • 19
  • 91
  • 225
2
votes
0 answers

Response GZIP Compression not working .net

I need to compress json response, I have tried IIS dynamic compression and used below code to compress but compression is not working it always Content-Type:application/json; charset=utf-8, Gzip headers are properly send to server. I have tried the…
Shijith MC
  • 129
  • 3
  • 13
2
votes
0 answers

Enabling HTTP gzip compression in Azure IIS

I need to enable gzip compression on a Azure deployment I tried with:
Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159
2
votes
1 answer

express and compression, can't find what I make wrong :-(

I can't find why I can't compress my content. I tried many way but when I check with curl ( curl -I -H 'Accept-Encoding: gzip' http://localhost:8080/free.html ) on a static page or on basic local content ( / ) I can't find any way to compress my…
Gregoire Mulliez
  • 1,132
  • 12
  • 20
2
votes
0 answers

HA Proxy gzip compression with no compression on backend server

I have an HA Proxy server through which requests are routed to the backend. The backend servers are node.js/geddy . Enabling gzip on geddy requires some changes to the core module and I did not want to risk doing that. My question is if I enable…
Neil
  • 73
  • 1
  • 8
2
votes
0 answers

Use gzip compression for OTF fonts on ASP.NET MVC

How can gzip compression be enabled for served .otf fonts? It's an ASP.NET MVC website (Umbraco, but I don't think it's relevant). I'm using two .otf fonts from typography.com, that are served by IIS (locally or from an Azure website) without…
Attila Szasz
  • 3,033
  • 3
  • 25
  • 39
2
votes
1 answer

gzip compression not working with IIS 8.5

I have a Server 2012 R2 box running IIS. I've tried enabling compression for several sites running on that box, but I can't figure out why it won't work. My request headers all show accept-encoding, but the response headers are always…
Steve
  • 113
  • 2
  • 10
2
votes
1 answer

ASP.NET Web Api2: Should we enable JSON data compression or not?

I read that json is not by default compressed through IIS while other files like html, cshtml, aspx are compressed. Why IIS doesn't compress json by default using its gzip compression? If we do it manually, does that involve any risk?
Sahil Sharma
  • 3,847
  • 6
  • 48
  • 98
2
votes
2 answers

How can we measure performance improvement from HTTP/2 header compression

I am trying to see the performance improvement of HTTP/2 compared to HTTP/1.1 from header compression. I have simulated a network of 300ms latency and 50 KB/s bandwidth (I tried few other combinations as well). I did multiple attempts of tests…
2
votes
1 answer

SDCH compression - gone with a wind?

I was long aware of this compression, but was curious why anyone else than Google implement it. Then I found following link: https://engineering.linkedin.com/shared-dictionary-compression-http-linkedin Wow, LinkedIn implemented it too, looks like it…
kreuzerkrieg
  • 3,009
  • 3
  • 28
  • 59
2
votes
0 answers

Google Chrome err_failed chrome (err2) - Web App

I'm a web application developer, who runs a site http://myfav.es. We've been struggling with this issue for about a month now. We use the HTML application cache spec - www.w3.org/TR/offline-webapps/ - with dynamically generated manifest files -…
Jack
  • 464
  • 3
  • 5