<?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: GZIP Compression Using Amazon S3 Cloudfront CDN</title>
	<atom:link href="http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/feed/" rel="self" type="application/rss+xml" />
	<link>http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/</link>
	<description>Passive Income From The Net</description>
	<lastBuildDate>Thu, 29 Apr 2010 10:00:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dalton</title>
		<link>http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/comment-page-1/#comment-29</link>
		<dc:creator>Dalton</dc:creator>
		<pubDate>Mon, 26 Apr 2010 20:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://internetmarketingbyme.com/?p=74#comment-29</guid>
		<description>Thanks for the tip, this seems to be working for me. It&#039;s a lot of work, but probably worth it since I have a lot of uncompressed scripts &amp; CSS on CloudFront.

Just a suggestion: it&#039;s probably better to add the line the functions.php of your theme instead of the WordPress index.php:

$GLOBAL_GZSTRING=”&quot;;
if (substr_count($_SERVER[&#039;HTTP_ACCEPT_ENCODING&#039;], ‘gzip’)) $GLOBAL_GZSTRING=”.gz”; else $GLOBAL_GZSTRING=”&quot;

Then, add  at the top of header.php, and you can use it anywhere!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip, this seems to be working for me. It&#8217;s a lot of work, but probably worth it since I have a lot of uncompressed scripts &amp; CSS on CloudFront.</p>
<p>Just a suggestion: it&#8217;s probably better to add the line the functions.php of your theme instead of the WordPress index.php:</p>
<p>$GLOBAL_GZSTRING=”&#8221;;<br />
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], ‘gzip’)) $GLOBAL_GZSTRING=”.gz”; else $GLOBAL_GZSTRING=”&#8221;</p>
<p>Then, add  at the top of header.php, and you can use it anywhere!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/comment-page-1/#comment-28</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sat, 24 Apr 2010 22:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://internetmarketingbyme.com/?p=74#comment-28</guid>
		<description>Thanks for the tip! Great explanation. I guess it may be obvious to many but I didn&#039;t realize it was as easy as using 7zip on the file. Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip! Great explanation. I guess it may be obvious to many but I didn&#8217;t realize it was as easy as using 7zip on the file. Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
