Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking for a HTTP compression proxy. Basically, I need a proxy to compress images and text to be transferred over a slow internet connection when accessing the web. To put it into a diagram

CLIENT ---/fast local network/--- HTTP COMPRESSION PROXY ---/slow internet connection/--- WEB (e.g. Facebook, Wiki, Google)

I will be using Squid for caching but from what i've it does not support HTTP compresion (gzip, deflate)

share|improve this question

closed as off topic by HopelessN00b, John Gardeniers, TheCleaner, Scott Pack, mdpc Dec 5 '12 at 16:51

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 0 down vote accepted

A quick review of the documentation leads me to believe that squid will accept and cache compressed data from the servers. Compressing images will likely be counter productive. Most image formats are well compressed already and attempts to compress them usually increase the image size by the overhead of the compression algorithm.

You could use apache as proxy. You should provide lots of disk space for squid to cache data. Review the caching options carefully and watch your cache statistics. I have found certain sites don't cache very well at all.

share|improve this answer

Do you realize that Image data does not compress very well. It often takes more time in these cases to compress/transmit/uncompress than to simply transmit the image data without compression.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.