<?php xml version="1.0" encoding="UTF-8"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><![CDATA[曲文庆&#39;s Blog]]></title>
<link>http://www.quwenqing.com/</link>
<description><![CDATA[]]></description>
<language>zh-tw</language>
<copyright><![CDATA[CopyRight 2008 F2Blog.com|F2Cont.com All Rights Reserved.]]></copyright>
<webMaster><![CDATA[quwenqing@quwenqing.com ()]]></webMaster>
<atom:link href="http://www.quwenqing.com/rss.html" rel="self" type="application/rss+xml" />
<generator>F2blog .cont 1.1 Build 090810</generator> 
<image>
	<title>曲文庆&#39;s Blog</title> 
	<url>http://www.quwenqing.com/attachments/8278598901.jpg</url> 
	<link>http://www.quwenqing.com/</link> 
	<description>曲文庆&#39;s Blog</description> 
</image>
<item>
	<link>http://www.quwenqing.com/read-179.html</link>
	<title><![CDATA[Varnish 中两个重要的子程序]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[缓存技术]]></category>
	<pubDate>Fri, 26 Oct 2012 17:06:19 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-179.html</guid>	
	<description><![CDATA[<p>目前varnish已经到了3.0.3，今天因处理问题，看了一些2.x的资料，感觉还是有一定同性和收获</p><p>https://www.varnish-cache.org/trac/wiki/Introduction</p><h2 id="HowVCLworks" style="font-family: Arial, Verdana, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; page-break-after: avoid; font-size: 16px; color: #ffffff; background-color: #1c75bc; border-bottom-width: 3px; border-bottom-style: solid; border-bottom-color: #124263; height: 1.4em; padding: 0.4em; margin-left: -18px; line-height: normal">HHow VCL works</h2><p style="font-size: 0.9em; color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; line-height: normal">There are actually 8 subroutines that control how Varnish behaves, and that you can change in your Varnish config. They are:</p><p style="font-size: 0.9em; color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; line-height: normal">vcl_recv()</p><blockquote style="color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 13px; line-height: normal"><p style="font-size: 0.9em">Called after a request is received from the browser, but before it is processed.</p></blockquote><p style="font-size: 0.9em; color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; line-height: normal">vcl_pipe()</p><blockquote style="color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 13px; line-height: normal"><p style="font-size: 0.9em">Called when a request must be forwarded directly to the backend with minimal handling by Varnish (think HTTP CONNECT)</p></blockquote><p style="font-size: 0.9em; color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; line-height: normal">vcl_hash()</p><blockquote style="color: #333333; font-family: Verdana, Arial, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 13px; line-height: normal"><p style="font-size: 0.9em">Called to determine the hash key </p></blockquote>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-5.html</link>
	<title><![CDATA[Squid refresh_pattern 相关]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[缓存技术]]></category>
	<pubDate>Thu, 16 Oct 2008 17:07:55 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-5.html</guid>	
	<description><![CDATA[<strong><font color="#333399">Synopsis<br /></font></strong><div style="text-align: justify"><font size="-1" style="font-family: arial">The way how the objects in the cache be refreshed is defined using this tag. By default, regular expressions are CASE-SENSITIVE.&nbsp; To make them case-insensitive, use the -i option.</font><br /></div><font size="-1" style="font-family: arial"><br /></font><font size="-1" style="font-family: arial">Basically a cached object is:<br /></font><table border="1" cellspacing="1" cellpadding="1" style="width: 266px; height: 23px; text-align: left"><tr><td style="vertical-align: top"><font size="-1" style="font-family: arial">FRESH </font></td><td style="vertical-align: top"><font size="-1" style="font-family: arial">&nbsp;if expires &lt; now, else STALE</font></td></tr><tr><td style="vertical-align: top"><font size="-1" style="font-family: arial">STALE </font></td><td style="vertical-align: top"><font size="-1" style="font-family: arial">&nbsp;if age &gt; max</font></td></tr><tr><td style="vertical-align: top"><font size="-1" style="font-family: arial">FRESH </font></td><td style="vertical-align: top"><font size="-1" style="font-family: arial">&nbsp;if lm-factor &lt; percent, else STALE</font></td></tr><tr><td style="vertical-align: top"><font size="-1" style="font-family: arial">FRESH<br /></font></td><td style="vertical-align: top"><font size="-1" style="font-family: arial">&nbsp;if age &lt; min</font></td></tr><tr><td style="vertical-align: top"><font size="-1" style="font-family: arial">else </font></td><td style="vertical-align: top"><font size="-1" style="font-family: arial">&nbsp;STALE<br /></font></td></tr></table><br /><font size="-1" style="font-family: arial">The <span style="font-style: italic">refresh_pattern</span> lines are checked in the order listed here. The first entry which matches is used.&nbsp; If none o</font>]]></description>
</item>
</channel>
</rss>
