<?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/"
		>
<channel>
	<title>Comments on: A Simple Way to Save Bandwidth in PHP</title>
	<atom:link href="http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php</link>
	<description>pink is the new black</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:17:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Silici0 :: Blog &#187; Utilize menos banda em seus sites</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8795</link>
		<dc:creator>Silici0 :: Blog &#187; Utilize menos banda em seus sites</dc:creator>
		<pubDate>Tue, 04 Dec 2007 11:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8795</guid>
		<description>[...] Fonte: v-nessa.net [...]</description>
		<content:encoded><![CDATA[<p>[...] Fonte: v-nessa.net [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nessa</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8644</link>
		<dc:creator>Nessa</dc:creator>
		<pubDate>Thu, 29 Nov 2007 02:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8644</guid>
		<description>Well we all pretty much agree that using compression is not for high traffic sites (I stated this in the article as well).  If you&#039;re on a VPS or dedicated server or you have a low traffic site with just a lot of larger files then compression is more useful.  We have a lot of customers that dont get a whole lot of traffic but use a shit ton on bandwidth.  If anything, I would recommend caching for high traffic sites, and compression for lower ones.</description>
		<content:encoded><![CDATA[<p>Well we all pretty much agree that using compression is not for high traffic sites (I stated this in the article as well).  If you&#8217;re on a VPS or dedicated server or you have a low traffic site with just a lot of larger files then compression is more useful.  We have a lot of customers that dont get a whole lot of traffic but use a shit ton on bandwidth.  If anything, I would recommend caching for high traffic sites, and compression for lower ones.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: /dev/random</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8635</link>
		<dc:creator>/dev/random</dc:creator>
		<pubDate>Thu, 29 Nov 2007 00:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8635</guid>
		<description>It&#039;s pretty useless to compress images and video since they&#039;re already compressed, so the compression ratio is going to be terrible for the CPU cycles that you waste. The plain text content of your site is generally not big enough to even warrant compression. It was a great idea back in the days of 14.4 modems, but with a low B/W connection being 256-512Kb, it&#039;s not so useful. 

A better way to save space is to re-encode all of your images and video with a higher compression ratio, or use a file format that has a better compression ratio.

Although to sort of defeat my own argument, if you run a mailing list or other such site with alot of plain text content, it might be extremely useful. On the fly gzip compression will still skyrocket your load, but alot of http servers will allow you to have a gzip compressed version of a file and a plain one. This way if the browser sends

Accept-Encoding: gzip

It will send the gzipped version automagically. This will save you bandwidth at the cost of diskspace, not CPU cycles, which are more valuable on a high traffic website.</description>
		<content:encoded><![CDATA[<p>It&#8217;s pretty useless to compress images and video since they&#8217;re already compressed, so the compression ratio is going to be terrible for the CPU cycles that you waste. The plain text content of your site is generally not big enough to even warrant compression. It was a great idea back in the days of 14.4 modems, but with a low B/W connection being 256-512Kb, it&#8217;s not so useful. </p>
<p>A better way to save space is to re-encode all of your images and video with a higher compression ratio, or use a file format that has a better compression ratio.</p>
<p>Although to sort of defeat my own argument, if you run a mailing list or other such site with alot of plain text content, it might be extremely useful. On the fly gzip compression will still skyrocket your load, but alot of http servers will allow you to have a gzip compressed version of a file and a plain one. This way if the browser sends</p>
<p>Accept-Encoding: gzip</p>
<p>It will send the gzipped version automagically. This will save you bandwidth at the cost of diskspace, not CPU cycles, which are more valuable on a high traffic website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinaryPhalanx</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8440</link>
		<dc:creator>BinaryPhalanx</dc:creator>
		<pubDate>Sat, 24 Nov 2007 06:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8440</guid>
		<description>Yeah I run it on my cPanel VE, though I baleeted cpanel cause it sucks.

I was about to write it up, when I realized I&#039;ve already done so on a forum.

But it needed a little updating. So I did so, and posted it on my page:
http://www.dancewithgrenades.com/?page=37</description>
		<content:encoded><![CDATA[<p>Yeah I run it on my cPanel VE, though I baleeted cpanel cause it sucks.</p>
<p>I was about to write it up, when I realized I&#8217;ve already done so on a forum.</p>
<p>But it needed a little updating. So I did so, and posted it on my page:<br />
<a href="http://www.dancewithgrenades.com/?page=37" rel="nofollow">http://www.dancewithgrenades.com/?page=37</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nessa</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8436</link>
		<dc:creator>Nessa</dc:creator>
		<pubDate>Sat, 24 Nov 2007 05:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8436</guid>
		<description>If anyone has experience with lighttpd on a cpanel server, one of the resource sites i co-run can use a quickie tutorial on how to install and configure it</description>
		<content:encoded><![CDATA[<p>If anyone has experience with lighttpd on a cpanel server, one of the resource sites i co-run can use a quickie tutorial on how to install and configure it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinaryPhalanx</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8116</link>
		<dc:creator>BinaryPhalanx</dc:creator>
		<pubDate>Tue, 20 Nov 2007 19:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8116</guid>
		<description>I&#039;ve seen some pretty crazy stuff pulled off with NgineX as well, but I don&#039;t know how compatible it is with everything.

As for caching plugins with lighttpd, mod_mem_cache is the best for throughput, though if you have a huge site, you&#039;ll need a lot of RAM for that.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen some pretty crazy stuff pulled off with NgineX as well, but I don&#8217;t know how compatible it is with everything.</p>
<p>As for caching plugins with lighttpd, mod_mem_cache is the best for throughput, though if you have a huge site, you&#8217;ll need a lot of RAM for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nessa</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8097</link>
		<dc:creator>Nessa</dc:creator>
		<pubDate>Tue, 20 Nov 2007 11:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8097</guid>
		<description>Blocking hotlinkers is a good one as well.      I&#039;ve seen a lot of our customers save up to 80% of their bandwidth and half of their memory/CPU usage just by keeping people from linking images from their site.  I have a quickie here:

http://www.v-nessa.net/2007/03/19/keep-people-from-jacking-your-images/

As for server-side caching, mod_cache with Apache 2.2.x proves to be the best combination for Apache-based servers.  If you have a choice though, lighttpd is the top runner</description>
		<content:encoded><![CDATA[<p>Blocking hotlinkers is a good one as well.      I&#8217;ve seen a lot of our customers save up to 80% of their bandwidth and half of their memory/CPU usage just by keeping people from linking images from their site.  I have a quickie here:</p>
<p><a href="http://www.v-nessa.net/2007/03/19/keep-people-from-jacking-your-images/" rel="nofollow">http://www.v-nessa.net/2007/03/19/keep-people-from-jacking-your-images/</a></p>
<p>As for server-side caching, mod_cache with Apache 2.2.x proves to be the best combination for Apache-based servers.  If you have a choice though, lighttpd is the top runner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinaryPhalanx</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8094</link>
		<dc:creator>BinaryPhalanx</dc:creator>
		<pubDate>Tue, 20 Nov 2007 10:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8094</guid>
		<description>Rather than that, you&#039;d probably want to just use a caching module for apache or lighttpd (or whatever http daemon you&#039;re running). Though, that will only help execution time, not bandwidth. Plaintext doesn&#039;t take much space ;)

If bandwidth saving is the aim, it&#039;s a lot more effective to look at images. First, minimize the number of images on each page to a bare minimum. Do as much as you possibly can with CSS and plain HTML. Then make sure your images are as small as possible without sacrificing quality, and there you&#039;ll see your biggest improvements.</description>
		<content:encoded><![CDATA[<p>Rather than that, you&#8217;d probably want to just use a caching module for apache or lighttpd (or whatever http daemon you&#8217;re running). Though, that will only help execution time, not bandwidth. Plaintext doesn&#8217;t take much space ;)</p>
<p>If bandwidth saving is the aim, it&#8217;s a lot more effective to look at images. First, minimize the number of images on each page to a bare minimum. Do as much as you possibly can with CSS and plain HTML. Then make sure your images are as small as possible without sacrificing quality, and there you&#8217;ll see your biggest improvements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xUx</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8056</link>
		<dc:creator>xUx</dc:creator>
		<pubDate>Tue, 20 Nov 2007 01:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8056</guid>
		<description>This is a good alternative however and said by other people here is that compressing the data before it&#039;s sent to the browser it will suck a lot of server resources on a high demand. There are another alternatives like writing your own code and make use of the filesystem speed. For example if you have a high traffic site you could generate the first page (cover) every N minutes and write the content as a plain html file, then when someone reaches your site they will see a cached page of your first page. I&#039;m not sure if my explanation was good enough but feel free to ask anytime :) thanks for sharing!</description>
		<content:encoded><![CDATA[<p>This is a good alternative however and said by other people here is that compressing the data before it&#8217;s sent to the browser it will suck a lot of server resources on a high demand. There are another alternatives like writing your own code and make use of the filesystem speed. For example if you have a high traffic site you could generate the first page (cover) every N minutes and write the content as a plain html file, then when someone reaches your site they will see a cached page of your first page. I&#8217;m not sure if my explanation was good enough but feel free to ask anytime :) thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Brazell</title>
		<link>http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/comment-page-1#comment-8017</link>
		<dc:creator>Aaron Brazell</dc:creator>
		<pubDate>Mon, 19 Nov 2007 19:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/18/a-simple-way-to-save-bandwidth-in-php/#comment-8017</guid>
		<description>High traffic sites should avoid this though. Gzip compression is hard on CPU cycles and increases load under lots of traffic. But you&#039;re correct for lower traffic sites (sub 100k impressions/mo)

:)</description>
		<content:encoded><![CDATA[<p>High traffic sites should avoid this though. Gzip compression is hard on CPU cycles and increases load under lots of traffic. But you&#8217;re correct for lower traffic sites (sub 100k impressions/mo)</p>
<p>:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

