<?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: No ESI processing, first char not &#8216;</title>
	<atom:link href="http://cd34.com/blog/infrastructure/no-esi-processing-first-char-not/feed/" rel="self" type="application/rss+xml" />
	<link>http://cd34.com/blog/infrastructure/no-esi-processing-first-char-not/</link>
	<description>This is my blog, there are many others like it but this one is mine.</description>
	<lastBuildDate>Wed, 21 Jul 2010 11:24:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: <img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> cd34</title>
		<link>http://cd34.com/blog/infrastructure/no-esi-processing-first-char-not/comment-page-1/#comment-757</link>
		<dc:creator><img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> cd34</dc:creator>
		<pubDate>Fri, 04 Dec 2009 07:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://cd34.com/blog/?p=837#comment-757</guid>
		<description>Rather than disable mod_deflate on the backend, for ESI parsed pages you can use VCL to strip out the Accept-Encoding and Vary headers.  In vcl_recv, within a condition that matches the urls/hostname you can place:

&lt;pre&gt;
   unset req.http.Accept-Encoding;
   unset req.http.Vary;
&lt;/pre&gt;

and within vcl_fetch, create a condition that matches the uri&#039;s that you want to parse for ESI and place:

&lt;pre&gt;
       esi;
&lt;/pre&gt;

This will allow the backend to serve content with mod_deflate/mod_gzip while allowing ESI to be procesed.</description>
		<content:encoded><![CDATA[<p>Rather than disable mod_deflate on the backend, for ESI parsed pages you can use VCL to strip out the Accept-Encoding and Vary headers.  In vcl_recv, within a condition that matches the urls/hostname you can place:</p>
<pre>
   unset req.http.Accept-Encoding;
   unset req.http.Vary;
</pre>
<p>and within vcl_fetch, create a condition that matches the uri&#8217;s that you want to parse for ESI and place:</p>
<pre>
       esi;
</pre>
<p>This will allow the backend to serve content with mod_deflate/mod_gzip while allowing ESI to be procesed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
