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

Gzip compression in Apache Tomcat 8 for image and font

This is configuration for gzip compression in Apache Tomcat 8
Zaw Than oo
  • 9,651
  • 13
  • 83
  • 131
4
votes
1 answer

IIS 8 WebSockets with permessage-deflate

I am trying to enable the WebSocket-Extension permessage-deflate in IIS 8, but with no luck so far. It seems, that IIS does not support any extensions and does not respond with an Sec-WebSockets-Extension header. I tried to send it manually via…
Nico
  • 3,542
  • 24
  • 29
4
votes
1 answer

gzip compression & iis express/iis?

Does anyone know why the following web.conig changes will NOT work:
coding4fun
  • 8,038
  • 13
  • 58
  • 85
4
votes
1 answer

Is HTTP Content Encoding Using GZIP with Multiple Files a Possibility?

Is it possible to take all or a good chunk of your website content and send it in a single response to the client using GZIP content encoding? For example, an image, HTML, CSS, and JS files in one response compressed. Would the browser be able to…
Daniel Eagle
  • 2,205
  • 2
  • 18
  • 17
4
votes
2 answers

How to compress output from a grails controller?

My Grails 1.3.7 controller is generating some JSON & I would like to send it to the client in compressed (zipped) form, as the amount of JSON can be 2+MB uncompressed. The resources plugin I found seems to compress static resources only. Is there a…
Gene Golovchinsky
  • 6,101
  • 7
  • 53
  • 81
4
votes
1 answer

How to compress images in asp.net?

I am working in asp.net webapi. I have 30 to 40 images in my resource folder. Is there anyway I could compress my images programatically instead of manually, resizing the images in resources?
Sadda-shutu
  • 1,309
  • 2
  • 18
  • 42
4
votes
2 answers

Compress JP2 (JPEG2000) image with a high compression level

After reading Image from database, I need to convert that Image to JP2 (JPEG2000) Update: I used FreeImage to convert the image to JP2 // Load bitmap FIBITMAP dib = FreeImage.LoadEx(imageName); // Check success if (dib.IsNull) { …
Dark_Knight
  • 387
  • 4
  • 20
3
votes
1 answer

How do I get HttpCompression (GZip) to work with URL Routing (Extensionless URLs) on IIS 6

Okay, URL Routing is great. Extensionless URLS, SEO friendly etc. However, it seems that IIS 6 doesn't perform compression on sites that use Extensionless URLs. WildCard Mapping is on so Asp.Net can process the extensionless files, but is there any…
Armstrongest
  • 15,181
  • 13
  • 67
  • 106
3
votes
1 answer

"Content decoding has failed" error when download files using GZIP compression

My web app generates a CSV file on the fly, but whenever I use GZIP compression, the download fails: HTTP/1.1 200 OK Cache-Control: private, s-maxage=0,no-store, no-cache Transfer-Encoding: chunked Content-Type:…
vtortola
  • 34,709
  • 29
  • 161
  • 263
3
votes
6 answers

JavaScript minification and compression

I am trying to understand JavaScript minification and compression processes and have couple of questions on these: Since minification makes the code difficult to debug, is it possible to do on-demand de-minification on client-side to cover-up for…
peakit
  • 28,597
  • 27
  • 63
  • 80
3
votes
1 answer

Static compression when 'runAllManagedModulesForAllRequests' is set to 'true'

We updated a time before our ASP.NET legacy web application to use .NET Framework 4.0. No any problems there. Last sprint, we implemented new module to rewrite SEO optimized URLs. But, because we want use URLs without any file and extension (for…
Anton Kalcik
  • 2,107
  • 1
  • 25
  • 43
3
votes
2 answers

Will adding gZip compression to my web app improve the performance of loading of large images?

I have a web app that contains a slide show with about 10 large images (100-200k) images. I've heard of people using gZip http compression to help improve the performance of their websites in the past so I started doing a little research on this. …
Abe Miessler
  • 82,532
  • 99
  • 305
  • 486
3
votes
1 answer

Springboot gzip compression - respnse size is not reduced

I have a spring boot API and i have enabled the HTTP response compression by using the below properties. server: compression: enabled: true mime-types:…
Ansar Samad
  • 572
  • 2
  • 11
  • 34
3
votes
1 answer

How to properly compress webpack chunks?

I am already building a working web-app with a configuration that has gzip compression deactivated. I use the HtmlWebpackPlugin to inject Vue stuff and generated chunks (js and css) into the main index.html. The chunks are created by the splitChunks…
ElectRocnic
  • 1,275
  • 1
  • 14
  • 25
3
votes
0 answers

Spring Boot 2.1 with Tomcat 9 Http2 not working with gzip

My Spring Boot 2.1 Application has Tomcat 9 for the Servlets. I would like to use Http/2 and Gzip compression. In the application.properties file are these flags enabled: server.compression.enabled=true server.http2.enabled=true …