<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Speed up Apache 2.0 web access or downloads with mod_deflate</title>
	<atom:link href="http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html</link>
	<description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description>
	<lastBuildDate>Sun, 21 Mar 2010 08:21:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-153162</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 27 Jan 2010 10:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-153162</guid>
		<description>@David
Just add the configurationdata to the vhost container for your particular domain.</description>
		<content:encoded><![CDATA[<p>@David<br />
Just add the configurationdata to the vhost container for your particular domain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-152318</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 16 Dec 2009 06:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-152318</guid>
		<description>How do I set mod_deflate to work for just ONE domain, not all the domains that my Apache web server works for?</description>
		<content:encoded><![CDATA[<p>How do I set mod_deflate to work for just ONE domain, not all the domains that my Apache web server works for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amol</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-147096</link>
		<dc:creator>Amol</dc:creator>
		<pubDate>Mon, 09 Feb 2009 06:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-147096</guid>
		<description>We have enabled apache compression(mod_deflate) as per the configuration given 
----config-----
LoadModule deflate_module modules/mod_deflate.so


# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
## Don&#039;t compress images
SetEnvIfNoCase Request_URI \
\.(?:gif&#124;jpe?g&#124;png)$ no-gzip dont-vary

# Make sure proxies don&#039;t deliver the wrong content
Header append Vary User-Agent env=!dont-vary



-----------------

And after this we are facing one strange issue, that if we access the contents from the local intranet, we get the compressed version. However if we access the same contents over the internet(using the same url, our site is static one), we get the un-compressed version, we have identified this by observing the bytes delivered for the request. We also tried enabling/disabling the proxy setting, but no change. Any reason/clue for such kinda situation?
 
thanks</description>
		<content:encoded><![CDATA[<p>We have enabled apache compression(mod_deflate) as per the configuration given<br />
&#8212;-config&#8212;&#8211;<br />
LoadModule deflate_module modules/mod_deflate.so</p>
<p># Insert filter<br />
SetOutputFilter DEFLATE</p>
<p># Netscape 4.x has some problems&#8230;<br />
BrowserMatch ^Mozilla/4 gzip-only-text/html</p>
<p># Netscape 4.06-4.08 have some more problems<br />
BrowserMatch ^Mozilla/4\.0[678] no-gzip</p>
<p># MSIE masquerades as Netscape, but it is fine<br />
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br />
## Don&#8217;t compress images<br />
SetEnvIfNoCase Request_URI \<br />
\.(?:gif|jpe?g|png)$ no-gzip dont-vary</p>
<p># Make sure proxies don&#8217;t deliver the wrong content<br />
Header append Vary User-Agent env=!dont-vary</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>And after this we are facing one strange issue, that if we access the contents from the local intranet, we get the compressed version. However if we access the same contents over the internet(using the same url, our site is static one), we get the un-compressed version, we have identified this by observing the bytes delivered for the request. We also tried enabling/disabling the proxy setting, but no change. Any reason/clue for such kinda situation?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amol</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-147095</link>
		<dc:creator>Amol</dc:creator>
		<pubDate>Mon, 09 Feb 2009 05:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-147095</guid>
		<description>Can we ask apache not to compress the static contents every time and use the compressed version which is would have prepared for the first time access</description>
		<content:encoded><![CDATA[<p>Can we ask apache not to compress the static contents every time and use the compressed version which is would have prepared for the first time access</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: otyek james</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-146972</link>
		<dc:creator>otyek james</dc:creator>
		<pubDate>Thu, 29 Jan 2009 10:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-146972</guid>
		<description>thanxs alot, we in africa have issues woth bandwidth, I believe this will help optimize our webserver&#039;s performance. 
Good day,
Ronald</description>
		<content:encoded><![CDATA[<p>thanxs alot, we in africa have issues woth bandwidth, I believe this will help optimize our webserver&#8217;s performance.<br />
Good day,<br />
Ronald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Ongsono</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-146435</link>
		<dc:creator>Anton Ongsono</dc:creator>
		<pubDate>Thu, 25 Dec 2008 11:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-146435</guid>
		<description>how to use this in htaccess?</description>
		<content:encoded><![CDATA[<p>how to use this in htaccess?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jiwei Wang</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-145746</link>
		<dc:creator>Jiwei Wang</dc:creator>
		<pubDate>Fri, 28 Nov 2008 03:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-145746</guid>
		<description>My previous comment was messed up by the html code.  The bug is &quot;Location&quot; should read &quot;/Location&quot;, replacing &quot; with angle brackets.</description>
		<content:encoded><![CDATA[<p>My previous comment was messed up by the html code.  The bug is &#8220;Location&#8221; should read &#8220;/Location&#8221;, replacing &#8221; with angle brackets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jiwei Wang</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-145745</link>
		<dc:creator>Jiwei Wang</dc:creator>
		<pubDate>Fri, 28 Nov 2008 03:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-145745</guid>
		<description>Great tip. Works like a charm, speeding up my sites a good percentage. One bug in the post:  should read  in two places.</description>
		<content:encoded><![CDATA[<p>Great tip. Works like a charm, speeding up my sites a good percentage. One bug in the post:  should read  in two places.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: treblam</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-145523</link>
		<dc:creator>treblam</dc:creator>
		<pubDate>Sat, 08 Nov 2008 06:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-145523</guid>
		<description>The end tag  should be ,if I use  I would get this error when I restart apache:&quot;The requested operation has failed&quot;</description>
		<content:encoded><![CDATA[<p>The end tag  should be ,if I use  I would get this error when I restart apache:&#8221;The requested operation has failed&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shivin</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-144652</link>
		<dc:creator>Shivin</dc:creator>
		<pubDate>Thu, 14 Aug 2008 09:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-144652</guid>
		<description>Hi,

Will mod_jk and mod_deflate works together? 
If yes which versions are good.
Pls mail me the answer shivinvijai@gmail.com

Thanks in advance
Shivin</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Will mod_jk and mod_deflate works together?<br />
If yes which versions are good.<br />
Pls mail me the answer <a href="mailto:shivinvijai@gmail.com">shivinvijai@gmail.com</a></p>
<p>Thanks in advance<br />
Shivin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matsu</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-143255</link>
		<dc:creator>matsu</dc:creator>
		<pubDate>Sun, 23 Mar 2008 17:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-143255</guid>
		<description>I found spelling mistake.

The end of code snipet,   should be .

thank you for your article. Very useful for real operating server.</description>
		<content:encoded><![CDATA[<p>I found spelling mistake.</p>
<p>The end of code snipet,   should be .</p>
<p>thank you for your article. Very useful for real operating server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Shields</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-142124</link>
		<dc:creator>Jeff Shields</dc:creator>
		<pubDate>Tue, 11 Dec 2007 04:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-142124</guid>
		<description>I used Mod_deflate with apache 2.0.54 with .shtml SSI which also have embedded php code. These pages are returned empty to the browser.

Not sure why this is happening. Anyone know about this.</description>
		<content:encoded><![CDATA[<p>I used Mod_deflate with apache 2.0.54 with .shtml SSI which also have embedded php code. These pages are returned empty to the browser.</p>
<p>Not sure why this is happening. Anyone know about this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nigel Aves</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-141981</link>
		<dc:creator>Nigel Aves</dc:creator>
		<pubDate>Wed, 28 Nov 2007 02:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-141981</guid>
		<description>ah .... this was dropped from my message :)

the final location should be preceded by a back-slash.</description>
		<content:encoded><![CDATA[<p>ah &#8230;. this was dropped from my message :)</p>
<p>the final location should be preceded by a back-slash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nigel Aves</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-141980</link>
		<dc:creator>Nigel Aves</dc:creator>
		<pubDate>Wed, 28 Nov 2007 02:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-141980</guid>
		<description>Thanks for this incredibly useful page, integrated into Apache with no problems.

One technical question. Does anyone know why &quot;image&quot; files can not be compressed? I run an on-line gallery  so even a few % of compression could be handy.

The final  should be 

Log Files ...

Found this on the apache site

DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio

LogFormat &#039;&quot;%r&quot; %{outstream}n/%{instream}n (%{ratio}n%%)&#039; deflate
CustomLog logs/deflate_log deflate

solves the question above about &quot;testing&quot;. Seems to work with webalizer as well.

Many Thanks

Nigel.</description>
		<content:encoded><![CDATA[<p>Thanks for this incredibly useful page, integrated into Apache with no problems.</p>
<p>One technical question. Does anyone know why &#8220;image&#8221; files can not be compressed? I run an on-line gallery  so even a few % of compression could be handy.</p>
<p>The final  should be </p>
<p>Log Files &#8230;</p>
<p>Found this on the apache site</p>
<p>DeflateFilterNote Input instream<br />
DeflateFilterNote Output outstream<br />
DeflateFilterNote Ratio ratio</p>
<p>LogFormat &#8216;&#8221;%r&#8221; %{outstream}n/%{instream}n (%{ratio}n%%)&#8217; deflate<br />
CustomLog logs/deflate_log deflate</p>
<p>solves the question above about &#8220;testing&#8221;. Seems to work with webalizer as well.</p>
<p>Many Thanks</p>
<p>Nigel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farrukh Shahzad</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-141093</link>
		<dc:creator>Farrukh Shahzad</dc:creator>
		<pubDate>Thu, 13 Sep 2007 09:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-141093</guid>
		<description>&quot;Hans-Werner&quot;,
what you are saying I don&#039;t agree to that...

To use the gzip compression in PHP/Apache the output buffering is required to be set as &quot;ON&quot; 

So whole page (or output buffer gets full) is buffered and compressed and then sent to the client....

also the funny part is that if a client receives a compress page and that page contains more than one gzip compress block then till all the blocks are downloaded at client browser... the output in the browsers will not be displayed...

mean page will show up till all the compressed contents are downloaded in the client side</description>
		<content:encoded><![CDATA[<p>&#8220;Hans-Werner&#8221;,<br />
what you are saying I don&#8217;t agree to that&#8230;</p>
<p>To use the gzip compression in PHP/Apache the output buffering is required to be set as &#8220;ON&#8221; </p>
<p>So whole page (or output buffer gets full) is buffered and compressed and then sent to the client&#8230;.</p>
<p>also the funny part is that if a client receives a compress page and that page contains more than one gzip compress block then till all the blocks are downloaded at client browser&#8230; the output in the browsers will not be displayed&#8230;</p>
<p>mean page will show up till all the compressed contents are downloaded in the client side</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Save Bandwidth and Speed Up Your Site With Apache 2 and mod_deflate - Starry Hope Productions</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-46463</link>
		<dc:creator>Save Bandwidth and Speed Up Your Site With Apache 2 and mod_deflate - Starry Hope Productions</dc:creator>
		<pubDate>Mon, 25 Dec 2006 22:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-46463</guid>
		<description>[...] Apache&#8217;s mod_deflate page Installation instructions from nixCraft Installation instructions from evolt.org A complete mod_deflate configuration snippet [...]</description>
		<content:encoded><![CDATA[<p>[...] Apache&#8217;s mod_deflate page Installation instructions from nixCraft Installation instructions from evolt.org A complete mod_deflate configuration snippet [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GoLD</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-18176</link>
		<dc:creator>GoLD</dc:creator>
		<pubDate>Sat, 21 Oct 2006 00:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-18176</guid>
		<description>Wich value you use for the DeflateCompressionLevel directive ?
Thanks for all. :)</description>
		<content:encoded><![CDATA[<p>Wich value you use for the DeflateCompressionLevel directive ?<br />
Thanks for all. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans-Werner</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-3589</link>
		<dc:creator>Hans-Werner</dc:creator>
		<pubDate>Wed, 26 Jul 2006 11:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-3589</guid>
		<description>@Razvan and Scott: gzip is a stream compressor, it doesn&#039;t need random access to the full data to be (un-)compressed. Such no full buffering is needed, neither server side, nor client side.</description>
		<content:encoded><![CDATA[<p>@Razvan and Scott: gzip is a stream compressor, it doesn&#8217;t need random access to the full data to be (un-)compressed. Such no full buffering is needed, neither server side, nor client side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-167</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 29 May 2006 16:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-167</guid>
		<description>Also, keep in mind that mod_deflate must queue all transfers in memory in order to compress the content prior to delivery to the client. Keep an eye on your server&#039;s memory utilization if you enable this on a busy site.

All in all, it works very well on the sites I manage which average 12 million hits/month.

Scott</description>
		<content:encoded><![CDATA[<p>Also, keep in mind that mod_deflate must queue all transfers in memory in order to compress the content prior to delivery to the client. Keep an eye on your server&#8217;s memory utilization if you enable this on a busy site.</p>
<p>All in all, it works very well on the sites I manage which average 12 million hits/month.</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixcraft</title>
		<link>http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-166</link>
		<dc:creator>nixcraft</dc:creator>
		<pubDate>Mon, 29 May 2006 13:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html#comment-166</guid>
		<description>Razvan,

It works with all modern browsers but it may not work with old browser such as Netscape or IE. You can setup filter to ignore unsupported browser. 

Please note that if a client web browser requests and tells server that it supports compression then server sent back compressed document (otherwise server will send normal uncompressed document). So you donâ€™t have to worry about browsers.

It is *quite* useful if end-user is connected via modem. 

Slashdot and many other sites with tons of visitors use thing technique You can see if particular site is using mod_gzip or mod_deflate http://www.whatsmyip.org/mod_gzip_test/

And remember this processing takes additional CPU and memory on your server as well as on the client browser. So you must make decision which document you need to compress.</description>
		<content:encoded><![CDATA[<p>Razvan,</p>
<p>It works with all modern browsers but it may not work with old browser such as Netscape or IE. You can setup filter to ignore unsupported browser. </p>
<p>Please note that if a client web browser requests and tells server that it supports compression then server sent back compressed document (otherwise server will send normal uncompressed document). So you donâ€™t have to worry about browsers.</p>
<p>It is *quite* useful if end-user is connected via modem. </p>
<p>Slashdot and many other sites with tons of visitors use thing technique You can see if particular site is using mod_gzip or mod_deflate <a href="http://www.whatsmyip.org/mod_gzip_test/" rel="nofollow">http://www.whatsmyip.org/mod_gzip_test/</a></p>
<p>And remember this processing takes additional CPU and memory on your server as well as on the client browser. So you must make decision which document you need to compress.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.206 seconds -->
<!-- Cached page served by WP-Cache -->
