<?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 Guide to Varnish VCL</title>
	<atom:link href="http://www.mikeperham.com/2009/05/19/a-guide-to-varnish-vcl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeperham.com/2009/05/19/a-guide-to-varnish-vcl/</link>
	<description>On Ruby, software and the Internet</description>
	<lastBuildDate>Wed, 21 Jul 2010 20:03:10 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kristian</title>
		<link>http://www.mikeperham.com/2009/05/19/a-guide-to-varnish-vcl/comment-page-1/#comment-341</link>
		<dc:creator>Kristian</dc:creator>
		<pubDate>Wed, 20 May 2009 09:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeperham.com/?p=259#comment-341</guid>
		<description>First of all, thanks for some useful examples and feedback.

I agree that the documentation available is a bit diversified but there&#039;s quite alot of it. Maybe that&#039;s part of the problem?

My primary source for VCL documentation is the vcl manual that comes with Varnish, which should contain all VCL constructs and be up to date. Some times it gets left behind for a few commits, but it&#039;s usually pretty up to date. The Wiki has a few examples and stubs, some of these stubs might be a bit old, if you spot such a page, feel free to fix it or just drop by #varnish at irc.linpro.no or drop us an e-mail at the public mailinglists and we&#039;ll sort it out.

As for the flexibility of VCL what you have to remember is that VCL isn&#039;t meant to be a fully fledged programming language, and if you compare it to such a language, it will almost always fall short. However, VCL itself is rarely a hindrance. One of our main policies while developing Varnish is to leave policy decisions to VCL, and I belive we&#039;ve been able to do that quite well so far. 

And just in case you really want something that VCL can&#039;t do, you can always resort to inline C code. 

However, mastery of regular expressions makes a significant difference when it comes to writing VCL, and it&#039;s not necessarily easy.

As for your examples, they are definitely useful. I&#039;ll say they are typical examples of things one can expect to do when working with Varnish.</description>
		<content:encoded><![CDATA[<p>First of all, thanks for some useful examples and feedback.</p>
<p>I agree that the documentation available is a bit diversified but there&#8217;s quite alot of it. Maybe that&#8217;s part of the problem?</p>
<p>My primary source for VCL documentation is the vcl manual that comes with Varnish, which should contain all VCL constructs and be up to date. Some times it gets left behind for a few commits, but it&#8217;s usually pretty up to date. The Wiki has a few examples and stubs, some of these stubs might be a bit old, if you spot such a page, feel free to fix it or just drop by #varnish at irc.linpro.no or drop us an e-mail at the public mailinglists and we&#8217;ll sort it out.</p>
<p>As for the flexibility of VCL what you have to remember is that VCL isn&#8217;t meant to be a fully fledged programming language, and if you compare it to such a language, it will almost always fall short. However, VCL itself is rarely a hindrance. One of our main policies while developing Varnish is to leave policy decisions to VCL, and I belive we&#8217;ve been able to do that quite well so far. </p>
<p>And just in case you really want something that VCL can&#8217;t do, you can always resort to inline C code. </p>
<p>However, mastery of regular expressions makes a significant difference when it comes to writing VCL, and it&#8217;s not necessarily easy.</p>
<p>As for your examples, they are definitely useful. I&#8217;ll say they are typical examples of things one can expect to do when working with Varnish.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
