compression

Compressing text data (SMS messages) - Is it worth it?

Hello Everyone! So basically, I want to write an messaging system like Cellity SMS if anyone heard about it. Cellity is a free Java J2ME based application for MIDP compatible mobile devices such as Nokia, Sony Ericsson, Motorola & Blackberry that allows you to send free SMS text messages through GPRS to a single recipient or multiple r...

Does QNetworkManager get accept compressed replies by default?

I am using QNetworkManager to fetch files from a server, however what I cannot figure out is if the files are compressed during the transfer with the standard gzip compression and if not how to get them to download compressed. How would I go about checking? ...

Variable length integer encoding

I am attempting to reverse engineer an LZ1/LZ77 decompression algorithm. The length of an area of the decode buffer/window to be output is encoded in the file as a variable length integer. I've read as much as I can about variable length integer encoding and the method being used in this case does not appear to be like any others I ha...

Minimize response/request packets

Hi, I want to shrink the data that is sent back and forth via AJAX, so that it sends/receives less data. I will de/compress server-side (C#) and client-side (Javascript), before/after every response/request. What would be the simplest way to do this? All communications is done via JSON strings (both request and response). ...

Changing response type in aspx page breaks in IIS7

I have a custom implementation of Application_PreRequestHandlerExecute which is applying a deflate/gzip filter to the response. However, on IIS7, this is failing on my "script generator" pages. These aspx pages take in Query String values and return a custom bit of script, changing the response type to text/javascript. I think it is fail...

Java RMI + SSL + Compression = IMPOSSIBLE!

I've setup RMI + SSL. This works great. But it doesn't seem possible to slip compression in between RMI and SSL. So that the RMI requests are compressed before they're sent over SSL. I've seen some posts online suggest using SSLSocketFactory.createSocket() which takes a Socket to wrap SSL over a compressing socket. But that seems like i...

Difference between ASP.NET BeginRequest and PreRequestHandlerExecute

I am using code, similar to the code in this question: http://stackoverflow.com/questions/1047878/how-to-make-webpage-with-gzip/1048066#1048066 But I noticed that once I started using Server.Transfer calls, Firefox would report that the page was not encoded properly. So I did some searching and found that putting the code in PreReques...

ASP.NET: Compress ViewState

What are the latest and greatest ways to compress the ASP.NET ViewState content? What about the performance of this? Is it worth it to keep the pages quick and minimize data-traffic? How can I make: <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTM4Mjc3NDEyOWQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgkF...

Compressed xml on soappy

I'm developing an application that uses webservices in python, both sides (server and client) are developed in Python and uses SOAPpy for the webservices, but, you know, the xml is too verbose, I want to compress it, but as far as I have searched in google I can't find something helpful. ...

Are there any "special" image compression algorithms for face cases?

Are there any "special" image compression algorithms for face cases? So i'm creating a canference programm i want to transfer images (or videos) of talking heads thru the internet are there any special algorithms to compress images\videos of talking heads so to make them smaller (like special voice compression algorithms)? ...

I need to choose a compression algorithm

I need to choose a compression algorithm to compress some data. I don't know the type of data I'll be compressing in advance (think of it as kinda like the WinRAR program). I've heard of the following algorithms but I don't know which one I should use. Can anyone post a short list of pros and cons? For my application the first priority ...

SWF flash files not loading with IIS compression on.

I've got a bunch of flash files being served off a HTTPS site in IIS7. With content compression turned on, the flash files wont display. Does flash not support HTTP compression, or is IIS doing something unusual? ...

Manual alternative to mod_deflate

Say I don't have mod_deflate compiled into apache, and I don't feel like recompiling right now. What are the downsides to a manual approach, e.g. something like: AddEncoding x-gzip .gz RewriteCond %{HTTP_ACCEPT_ENCODING} gzip RewriteRule ^/css/styles.css$ /css/styles.css.gz (Note: I'm aware that the specifics of that RewriteCond need ...

php or perl javascript compression for jQuery

Anyone know a PHP scripts that done a good compression for jQuery? ...

using lzo library in c++ application

I got lzo library to use in our application. The version was provided is 1.07. They have given me .lib along with some header file and some .c source files. I have setup test environment as per specs. I am able to see lzo routine functions in my application. Here is my test application #include "stdafx.h" #include "lzoconf.h" #includ...

M2Crypto SSL and compression method

How to set compression method for SSL/TLS connection created with M2Crypto and TwistedProtocolWrapper ...

Compression algorithms specifically optimized for HTML content?

Are there any compression algorithms -- lossy or lossless -- that have been specifically adapted to deal with real-world (messy and invalid) HTML content? If not, what characteristics of HTML could we take advantage of to create such an algorithm? What are the potential performance gains? Also, I'm not asking the question to serve such...

Who Compresses their HTML?

Even Stack Overflow doesn't compress their HTML. Is it recommended to compress HTML? As far as I've seen, it looks like Google is the only one.... (view the source). Why isn't this standard practice? ...

mp3 downsampling / compression in java

Well, i was looking forward to modify the bit rate of a mp3 file in java. I want to downsample(change its bit rate) the mp3 file from 256/384 kbps to say 64/128 kbps.. (I guess this is the only way one can achieve mp3 compression..or is there any other way.?) I searched for LameOnJ but that website is temperoraly down and so im not a...

iis 6 native compression not working on ssl

Hello guys, i have a problem where my ASP.NET web application files (.js, .css, .aspx) doesn't get compress when i access it from https. However the files get compressed when i accessed it from http. Any idea what causing this problem?. It over a week and i cannot find any solution from the net. I have ask my network administrator to che...