http-compression

Is there any performance hit involved in choosing gzip over deflate for http compression?

We recently switched some of our sites from deflate to gzip and noticed a significant increase in cpu load on our servers. ...

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

Hello - 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 things that will need to be done to get this download size down; but one thing I defi...

Can anyone recommend a (free) tool to test if a web server is using http compression?

I see there are plenty of web sites out there that will do this, but I'd really like something I can run to diagnose our internal intranet servers that aren't exposed to the internet. And, with the budget of this project, free is pretty much my only option. Does anyone have any cool tools they can recommend? Or is there some cool fire...

Changing compression level on shared hosting

How can i change static and dynamic compression for my asp.net website? i use DiscountAsp on IIS 7 servers and i don't think they could let me change the compression level on the appHostSetting file. Can something be done in the web.config file to change that level? ...

What options are there to selectively enable or disable IIS 6 compression

Unlike IIS7, in IIS6 the 'Compress application files' and 'Compress Static files' options are server wide so they apply to every website and virtual directory. I recently enabled it server wide and I'm beginning to see more and more places where things are being compressed that I don't want -- notably dynamically created images. Is the...

How to mix compression and caching in HttpWebRequest?

I have a c# client talking to a cherrypy(http/rest) webservice. The problem is i can't both turn on compression and caching at the same time. request.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate; By leaving out the above line I get the correct caching headers (If-None-Math,If-Modified-Since) while ...

HttpWebRequest & Native GZip Compression

When requesting a page with Gzip compression I am getting a lot of the following errors: System.IO.InvalidDataException: The CRC in GZip footer does not match the CRC calculated from the decompressed data I am using native GZipStream to decompress and am looking at addressing this. With that in mind is there a work around for...

How can I compress a char array into a compressed html page using Zlib

I have a CGI application in C that creates an html page by saving a char* as a html page: void saveTextFile(const char *filename, const char *str){.......} called as saveTextFile("..\\index.html",outputFile); How do I use zlib to take as input the "outputFile" char array and output a zipped html page with appropriate headers? Wo...

Why is ScriptResource.axd compressed, even though IIS compression is disabled?

I run an ASP.NET application on IIS 6.0. Usually I have compression turned on for both dynamic and static files. However, I've turned compression off temporarily, but "ScriptResource.axd" is still sent compressed. This does not feel like a misconfiguration, as "WebResource.axd" is not compressed. What is the difference between ScriptRes...

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 way to set these resources to be gzipped? ...

Manually gziped js files not working

Hey guys!, Does anyone know what might be causing this to happen? The file is uploaded correctly, it has the right permissions, and the <script> tag points to it correctly. The command I ran on the file was: gzip file.js What could it be? ...

HTTP compression - How to send precompressed files that exist in a EAR file?

Is it possible to send pre-compressed files that are contained within an EARfile? More specifically, the jsp and js files within the WAR file. I am using Apache HTTP as the web server and although it is simple to turn on the deflate module and set it up to use a pre-compressed version of the files, I would like to apply this to files tha...

What's the best component for compressing javascript files with GZip, Deflate?

I have just created Javascript & CSS handler for optimization file size using both YUI Compressor & GZip or Deflate compressor depend on request header. The following code is used to compressing file by GZipStream class. But I found that it can reduce JQuery 1.3.2(YUI compressed) file size from 58KB -> 54KB only. public void GZipCompres...

IIS7 Compression Failure

I'm having issues with IIS7's static compression. I've read some of the other posts, and I'm out of options. Here's what I have: In the applicationHost.config, I've set up: <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" staticCompressionDisableCpuUsage="100"> <scheme name="gzip" dll="...

Snippet of page source occasionally appears in the middle of page content

Every so often recently, a subset of our users report seeing small snippets of page source, such as part of a declaration cut off abruptly, displayed in the middle of the page where you would expect the rendered element to appear instead. We know these users use IE6 instead of IE7, and have connections that can sometimes be very slow, ...

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. ...

Can I compress HTTP Requests using GZIP?

I am communicating to a Tomcat Server using a Java ME application on my mobile device. I was wondering if I could compress my requests/responses using Gzip to reduce the number of bytes sent over the network. ...

Why does my IE progress bar keep going after every other page load?

I'm seeing this issue. I have a relatively simple ASP.NET page with a gridview and some buttons. When I click a button, the page re-binds the grid and posts back. What's strange is that every other time I click the refresh button, the IE progress bar (in the status area) stays "on", signaling that the user that the page is still loadin...

Test Server HTTP 1.1 Compression

Hi, I want to find about the HTTP 1.1 compression of the site I am talking to. I need to do it programmatically in Java. What I want to find out is: Does the server support compression for incoming requests? Does the server support compression for responses? Thanks in advance. ...

Can I use Compression in WCF?

Hi, we hosted WCF services in IIS 5.1 wndows xp sp3 with httpBasicBinding. The data tranferered is huge in size and transfered every 1 minute. For this to less data transfer Is it possible to compress the response of WCF service by using default http compression ? Can I have some sample code / article for using http comression in WCF? ...