<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.5730.13" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080
size=2>Back-end to provide search suggest services
.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Example:</FONT></DIV>
<DIV> </DIV>
<DIV>Two request url:</DIV>
<DIV style="TEXT-INDENT: 2em">a . <A
href="http://xxx/a?q=a">http://xxx/a?q=a</A><FONT
color=#000080> </FONT></DIV>
<DIV style="TEXT-INDENT: 2em">b . <A
href="http://xxx/a?q=b">http://xxx/a?q=b</A></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV>Response results :</DIV>
<DIV style="TEXT-INDENT: 2em">a. xxxxxxxxxx</DIV>
<DIV style="TEXT-INDENT: 2em">b. null</DIV>
<DIV> </DIV>
<DIV>The results of a need to be cached , b
don't need. </DIV>
<DIV>Because there are a large number of fruitless requests
,
If b is the cache will appear the following situations
:</DIV>
<DIV> </DIV>
<DIV>1 . Caching a lot of useless information,
resulting in a waste of disk space </DIV>
<DIV>2 .
Very high Disk IO load cause the system to slow
</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Search services have their own caching mechanism
, but I would like to omit the PHP parsing process, will get
better performance </DIV>
<DIV> </DIV>
<DIV> </DIV>Sorry,my english is so poor that i don't
know whether a clear expression.
<DIV> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-09-16 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>Chancey</SPAN> </FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Igor Sysoev </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-09-16 17:15:32
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> nginx </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: How to set the minimum
size of the cache file </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>On Wed, Sep 16, 2009 at 01:07:05PM +0800, Chancey wrote:</DIV>
<DIV></DIV>
<DIV>> How to set the minimum size of the cache file ?</DIV>
<DIV></DIV>
<DIV>Currently there is no way.</DIV>
<DIV>Could you tell why do you want to set this limit ?</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>-- </DIV>
<DIV>Igor Sysoev</DIV>
<DIV>http://sysoev.ru/en/</DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>