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

Deflate algorithm - deflate stream format - documentation beyond RFC1951

I'm interested on documentation of the deflate stream format or deflate algorithm which goes beyond RFC1951. Sample streams, implementation hints whatever may be interesting.
Thomas Maierhofer
  • 2,665
  • 18
  • 33
2
votes
1 answer

Decompress in browser a JSON datafile served as static file from Node.js

Similar to this post need to send a large 30MB JSON file to the browser, which compresses to 3MB. (yes, yes, it's big and intensive to decompress, but better to serve it once as a static file than as, say, 150 separate AJAX calls to a REST API, and…
prototype
  • 7,249
  • 15
  • 60
  • 94
2
votes
1 answer

Compression when using the Channel API in Google App Engine

In this FAQ question it says that compression is used automatically when the browser supports it and that I don't need to modify my application in any way. My question is, does that apply to Channel API messages too? I have an application that needs…
2
votes
0 answers

IIS 7.5 Compression & Chunked Transfer Issue

I had to render a json feed. Since the size of the feed is around 10 MB, I decided to enable compression in ASPNET. I enabled dynamic compression for json mime type. Compression works well and reduced the size to 1 MB (significant compression…
2
votes
1 answer

IIS 7.5 Compression In Web Config

What aspects of http compression can be specified in the web config. I have gotten dynamic compression working via changes to the applicationHost file for iis, but I'd like to configure as much as possible inside the application's web config. I have…
TrevDev
  • 1,106
  • 11
  • 24
2
votes
0 answers

IIS7.X remove directory from being compressed with gzip

I am trying to remove one directory from being gziped as it causes errors on the browser. Here is the code I have. I've read that I can't disable one page only, but there is a way to disable a directory path. I don't have access to server settings,…
bobek
  • 8,003
  • 8
  • 39
  • 75
2
votes
0 answers

WCF Data Service - client proxy Compression

I have a WCF Data Service, and I am trying to enable support for IIS compression. So far the best I have got is when I tried the following: static ServiceReference1.myTestEntities GetEntities() { var content = new…
Seph
  • 8,472
  • 10
  • 63
  • 94
1
vote
0 answers

IIS 7.5 Compression is not working when loading the page on a local computer

If I try to access our website inside our servers using the remote desktop connection. YSlow and PageSpeed is reporting that our website are compressed. But If I try to access our website in my local computer, both the YSlow and PageSpeed reports…
1
vote
1 answer

Content-Length and httpCompression dilemma

My ASP.NET app returns JSON object to user, it contains binary encoded data. Due to this I decided to enable HTTP compression and the problem begun with Content-Length. If I enable compression the Content-Length header is ignored while response s…
Tomas
  • 17,551
  • 43
  • 152
  • 257
1
vote
1 answer

How to Compress Everything in my ASP.NET Pages?

I have a page with css, javascript, axd, resource files. My aim is to compress everything so that the response size is reduced and consequently the response time is improved for the end user. Go to google.com, view source and you can see how google…
The Light
  • 26,341
  • 62
  • 176
  • 258
1
vote
1 answer

ASP.NET MVC - Cache & Compression settings in web.config not always being used

In my ASP.NET MVC 2 application I've decorated an action with the following attributes. [ETag] [OutputCache(Duration = 604800, VaryByParam = "none", Location = OutputCacheLocation.Any)] public ActionResult Index() (for the ETag attribute I've used…
awj
  • 7,482
  • 10
  • 66
  • 120
1
vote
1 answer

SvelteKit and adapter-node -> production

Curious what others are doing with SvelteKit adapter-node builds to put them into production. For example... Serving pre-compressed files Setting a cache TTL Maybe something like helmet Is it better to define an entryPoint for the adapter like a…
nstuyvesant
  • 1,392
  • 2
  • 18
  • 43
1
vote
2 answers

How can I use compression with QHttp?

In a existing application with Qt the QHttp-class is used to access data over the network. This communication is in the moment uncompressed, but the server allows compression (and browsers actually use it). How can I use QHttp to make accept…
Mnementh
  • 50,487
  • 48
  • 148
  • 202
1
vote
0 answers

How does IIS HTTP compression handle dynamic types versus static types?

The sample configuration listed in Microsoft's documentation of the IIS system.webServer/httpCompression configuration setting is as follows:
Jacob Stamm
  • 1,660
  • 1
  • 29
  • 53
1
vote
2 answers

What is the relationship between request content size and request duration

At the company I work, all our APIs send and expect requests/responses that follow the JSON:API standard, making the structure of the request/response content very regular. Because of this regularity and the fact that we can have hundreds or…
Stefan Wullems
  • 743
  • 1
  • 7
  • 20