mod_cache.xml.ja revision b3e91b652b51b7f4c44d89a18abdab516f2dbd3a
842ae4bd224140319ae7feec1872b93dfd491143fielding<?xml version="1.0" encoding="iso-2022-jp"?>
842ae4bd224140319ae7feec1872b93dfd491143fielding<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
842ae4bd224140319ae7feec1872b93dfd491143fielding<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
842ae4bd224140319ae7feec1872b93dfd491143fielding<!-- English Revision: 125573 -->
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fielding<!--
46ef178b8f55b794c65491b370974833ce9e621bben Copyright 2004-2005 The Apache Software Foundation or its licensors,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd as applicable.
46ef178b8f55b794c65491b370974833ce9e621bben
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd Licensed under the Apache License, Version 2.0 (the "License");
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd you may not use this file except in compliance with the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd You may obtain a copy of the License at
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd http://www.apache.org/licenses/LICENSE-2.0
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben Unless required by applicable law or agreed to in writing, software
46ef178b8f55b794c65491b370974833ce9e621bben distributed under the License is distributed on an "AS IS" BASIS,
46ef178b8f55b794c65491b370974833ce9e621bben WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46ef178b8f55b794c65491b370974833ce9e621bben See the License for the specific language governing permissions and
46ef178b8f55b794c65491b370974833ce9e621bben limitations under the License.
46ef178b8f55b794c65491b370974833ce9e621bben-->
46ef178b8f55b794c65491b370974833ce9e621bben
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd<modulesynopsis metafile="mod_cache.xml.meta">
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<name>mod_cache</name>
46ef178b8f55b794c65491b370974833ce9e621bben<description>URI $B$r%-!<$K$7$?%3%s%F%s%D$N%-%c%C%7%e(B</description>
46ef178b8f55b794c65491b370974833ce9e621bben<status>Extension</status>
46ef178b8f55b794c65491b370974833ce9e621bben<sourcefile>mod_cache.c</sourcefile>
46ef178b8f55b794c65491b370974833ce9e621bben<identifier>cache_module</identifier>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<summary>
46ef178b8f55b794c65491b370974833ce9e621bben <note type="warning">
46ef178b8f55b794c65491b370974833ce9e621bben $B$3$l$O<B83E*$J%b%8%e!<%k$G$9!#J8=q$b$^$@3+H/Cf$G$9(B...
46ef178b8f55b794c65491b370974833ce9e621bben </note>
add2657e4483e2c5f1ec254fb5f0a52c968ddbb2martin
7d97b2198132a7037638c788a11e2c7d6ab8127end <p><module>mod_cache</module> $B$O%m!<%+%k$N%3%s%F%s%D$d%W%m%-%7$5$l$?(B
7d97b2198132a7037638c788a11e2c7d6ab8127end $B%3%s%F%s%D$r%-%c%C%7%e$9$k$?$a$K;H$o$l$k(B <a
7d97b2198132a7037638c788a11e2c7d6ab8127end href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a> $B=`5r$N(B
46ef178b8f55b794c65491b370974833ce9e621bben HTTP $B%3%s%F%s%D%-%c%C%7%e$r<BAu$7$F$$$^$9!#(B<module>mod_cache</module>
46ef178b8f55b794c65491b370974833ce9e621bben $B$NF0:n$K$O%9%H%l!<%8$r4IM}$9$k%b%8%e!<%k$,I,MW$G$9!#I8=`(B
46ef178b8f55b794c65491b370974833ce9e621bben Apache $BG[I[$K$OFs$D%9%H%l!<%84IM}%b%8%e!<%k$,4^$^$l$F$$$^$9(B:</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <dl>
46ef178b8f55b794c65491b370974833ce9e621bben <dt><module>mod_disk_cache</module></dt>
46ef178b8f55b794c65491b370974833ce9e621bben <dd>$B%G%#%9%/$r;HMQ$7$?%9%H%l!<%84IM}5!9=$r<BAu$7$F$$$^$9!#(B</dd>
46ef178b8f55b794c65491b370974833ce9e621bben
6b204ced6ef7969b8ec81310e7003737362f0ab5bnicholes <dt><module>mod_mem_cache</module></dt>
46ef178b8f55b794c65491b370974833ce9e621bben <dd>$B%a%b%j$r;HMQ$7$?%9%H%l!<%84IM}5!9=$r<BAu$7$F$$$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_mem_cache</module> $B$O<!$NFs$D$N%b!<%I$N$I$A$i$+$GF0:n$9$k(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$h$&$K@_Dj$G$-$^$9(B: $B%*!<%W%s$5$l$F$$$k%U%!%$%k5-=R;R$r%-%c%C%7%e$9$k%b!<%I$+!"(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%R!<%W>e$G$N%*%V%8%'%/%H$N<+BN$r%-%c%C%7%e$r$9$k%b!<%I$G$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_mem_cache</module> $B$O%m!<%+%k$G@8@.$5$l$k%3%s%F%s%D$d!"(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_proxy</module> $B$,(B
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_proxy">ProxyPass</directive> $B$r;H$C$F@_Dj$5$l$F$$$k(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$H$-$N(B ($B$D$^$j(B<dfn>$B%j%P!<%9%W%m%-%7(B</dfn> $B$G$N(B) $B%P%C%/%(%s%I%5!<%P$N(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%3%s%F%s%D$r%-%c%C%7%e$9$k$N$K;H$($^$9!#(B</dd>
46ef178b8f55b794c65491b370974833ce9e621bben </dl>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <p>$B%3%s%F%s%D$N%-%c%C%7%e$X$NJ]B8$H<hF@$O(B URI $B$K4p$E$$$?%-!<$,;H$o$l$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%"%/%;%9J]8n$N$+$1$i$l$F$$$k%3%s%F%s%D$O%-%c%C%7%e$5$l$^$;$s!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben</summary>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<section id="related"><title>$B4XO"%b%8%e!<%k$H%G%#%l%/%F%#%V(B</title>
46ef178b8f55b794c65491b370974833ce9e621bben <related>
46ef178b8f55b794c65491b370974833ce9e621bben <modulelist>
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_disk_cache</module>
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_mem_cache</module>
46ef178b8f55b794c65491b370974833ce9e621bben </modulelist>
46ef178b8f55b794c65491b370974833ce9e621bben <directivelist>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_disk_cache">CacheRoot</directive>
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd <directive module="mod_disk_cache">CacheSize</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_disk_cache">CacheDirLevels</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_disk_cache">CacheDirLength</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_disk_cache">CacheMinFileSize</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_disk_cache">CacheMaxFileSize</directive>
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd <directive module="mod_mem_cache">MCacheSize</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_mem_cache">MCacheMaxObjectCount</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_mem_cache">MCacheMinObjectSize</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_mem_cache">MCacheMaxObjectSize</directive>
9902300dd65093e19559a81a280d6f0a46a557e5nd <directive module="mod_mem_cache">MCacheRemovalAlgorithm</directive>
46ef178b8f55b794c65491b370974833ce9e621bben <directive module="mod_mem_cache">MCacheMaxStreamingBuffer</directive>
9902300dd65093e19559a81a280d6f0a46a557e5nd </directivelist>
46ef178b8f55b794c65491b370974833ce9e621bben </related>
185aa71728867671e105178b4c66fbc22b65ae26sf</section>
46ef178b8f55b794c65491b370974833ce9e621bben
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd<section id="sampleconf"><title>$B%5%s%W%k@_Dj(B</title>
46ef178b8f55b794c65491b370974833ce9e621bben <example><title>Sample httpd.conf</title>
46ef178b8f55b794c65491b370974833ce9e621bben #<br />
46ef178b8f55b794c65491b370974833ce9e621bben # Sample Cache Configuration<br />
46ef178b8f55b794c65491b370974833ce9e621bben #<br />
9902300dd65093e19559a81a280d6f0a46a557e5nd LoadModule cache_module modules/mod_cache.so<br />
46ef178b8f55b794c65491b370974833ce9e621bben <br />
46ef178b8f55b794c65491b370974833ce9e621bben &lt;IfModule mod_cache.c&gt;<br />
46ef178b8f55b794c65491b370974833ce9e621bben <indent>
46ef178b8f55b794c65491b370974833ce9e621bben #LoadModule disk_cache_module modules/mod_disk_cache.so<br />
93a4e9b9605256f1ac9465e677f955347b319df6nd # If you want to use mod_disk_cache instead of mod_mem_cache,
185aa71728867671e105178b4c66fbc22b65ae26sf # uncomment the line above and comment out the LoadModule line below.
46ef178b8f55b794c65491b370974833ce9e621bben &lt;IfModule mod_disk_cache.c&gt;<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd <indent>
46ef178b8f55b794c65491b370974833ce9e621bben CacheRoot c:/cacheroot<br />
46ef178b8f55b794c65491b370974833ce9e621bben CacheEnable disk /<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd CacheDirLevels 5<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd CacheDirLength 3<br />
46ef178b8f55b794c65491b370974833ce9e621bben </indent>
46ef178b8f55b794c65491b370974833ce9e621bben &lt;/IfModule&gt; <br />
46ef178b8f55b794c65491b370974833ce9e621bben <br />
46ef178b8f55b794c65491b370974833ce9e621bben LoadModule mem_cache_module modules/mod_mem_cache.so<br />
46ef178b8f55b794c65491b370974833ce9e621bben &lt;IfModule mod_mem_cache.c&gt;<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd <indent>
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd CacheEnable mem /<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd MCacheSize 4096<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd MCacheMaxObjectCount 100<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd MCacheMinObjectSize 1<br />
b4cc167e67bb47bb349fa67b340eaea479a04a2dnd MCacheMaxObjectSize 2048<br />
46ef178b8f55b794c65491b370974833ce9e621bben </indent>
46ef178b8f55b794c65491b370974833ce9e621bben &lt;/IfModule&gt;<br />
46ef178b8f55b794c65491b370974833ce9e621bben </indent>
e8f95a682820a599fe41b22977010636be5c2717jim &lt;/IfModule&gt;
46ef178b8f55b794c65491b370974833ce9e621bben </example>
46ef178b8f55b794c65491b370974833ce9e621bben</section>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben<name>CacheEnable</name>
46ef178b8f55b794c65491b370974833ce9e621bben<description>$B;XDj$7$?%9%H%l!<%84IM}J}<0$r;H$C$F$N%-%c%C%7%e$rM-8z$K$9$k(B</description>
e7015efd988d1bfbf1b6645f86f2abbfe0173265ben<syntax>CacheEnable <var>cache_type</var> <var>url-string</var></syntax>
10db6c4117794cbb76695f8b81b02a82bcf986e1ben<contextlist><context>server config</context><context>virtual host</context>
e7015efd988d1bfbf1b6645f86f2abbfe0173265ben</contextlist>
46ef178b8f55b794c65491b370974833ce9e621bben
28c66f5ebc45ce1ef521973cebaf977c99123ad8jailletc<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p><directive>CacheEnable</directive> $B%G%#%l%/%F%#%V$G(B <module>mod_cache</module>
46ef178b8f55b794c65491b370974833ce9e621bben $B%b%8%e!<%k$,(B <var>url-string</var> $B0J2<$N(B URL $B$r%-%c%C%7%e$9$k$h$&$K$7$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%-%c%C%7%e%9%H%l!<%84IM}J}<0$O(B <var>cache_type</var> $B0z?t$G;XDj$7$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben <var>cache_type</var> <code> mem</code> $B$G!"(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_mem_cache</module> $B$G<BAu$5$l$F$$$k%a%b%j$r;H$C$?%9%H%l!<%8(B
e7015efd988d1bfbf1b6645f86f2abbfe0173265ben $B4IM}J}<0$r;H$&$h$&$K(B <module>mod_cache</module> $B$K;X<($7$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben <var>cache_type</var> <code>disk</code> $B$G!"(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_disk_cache</module> $B$G<BAu$5$l$F$$$k%G%#%9%/$r;H$C$?%9%H%l!<%8(B
46ef178b8f55b794c65491b370974833ce9e621bben $B4IM}$r;H$&$h$&$K(B <module>mod_cache</module> $B$K;X<($7$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben <var>cache_type</var> <code>fd</code> $B$O(B <module>mod_cache</module> $B$K(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_mem_cache</module> $B$K$h$j<BAu$5$l$F$$$k%U%!%$%k5-=R;R$N(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%-%c%C%7%e$r;H$&$h$&$K;X<($7$^$9!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <p>($B2<$NNc$N$h$&$K(B) <directive>CacheEnable</directive> $B%G%#%l%/%F%#%V$N(B
46ef178b8f55b794c65491b370974833ce9e621bben URL $B6u4V$,=EJ#$7$F$$$k$H$-$O!"3:Ev$9$k%9%H%l!<%8J}<0$r=g$K;n$7$F!"(B
46ef178b8f55b794c65491b370974833ce9e621bben $B<B:]$K%j%/%(%9%H$N=hM}$,$G$-$k$H!"$=$NJ}<0$G=hM}$7$^$9!#(B
a034f82f96d16074e87fd55a9ac61ca1f7c96ee2erikabele $B%9%H%l!<%84IM}J}<0$,<B9T$5$l$k=gHV$O@_Dj%U%!%$%kCf$N(B
46ef178b8f55b794c65491b370974833ce9e621bben <directive>CacheEnable</directive> $B$N=gHV$K$h$j7hDj$5$l$^$9!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <example>
46ef178b8f55b794c65491b370974833ce9e621bben CacheEnable mem /manual<br />
46ef178b8f55b794c65491b370974833ce9e621bben CacheEnable fd /images<br />
46ef178b8f55b794c65491b370974833ce9e621bben CacheEnable disk /<br />
46ef178b8f55b794c65491b370974833ce9e621bben </example>
10db6c4117794cbb76695f8b81b02a82bcf986e1ben</usage>
46ef178b8f55b794c65491b370974833ce9e621bben</directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben<name>CacheDisable</name>
46ef178b8f55b794c65491b370974833ce9e621bben<description>$BFCDj$N(B URL $B$r%-%c%C%7%e$7$J$$(B</description>
46ef178b8f55b794c65491b370974833ce9e621bben<syntax>CacheDisable <var> url-string</var></syntax>
46ef178b8f55b794c65491b370974833ce9e621bben<contextlist><context>server config</context><context>virtual host</context>
46ef178b8f55b794c65491b370974833ce9e621bben</contextlist>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p><directive>CacheDisable</directive> $B%G%#%l%/%F%#%V$G(B
46ef178b8f55b794c65491b370974833ce9e621bben <module>mod_cache</module> $B%b%8%e!<%k$,(B <var>url-string</var> $B0J2<$N(B
46ef178b8f55b794c65491b370974833ce9e621bben URL $B$r%-%c%C%7%e(B<em>$B$7$J$$(B</em>$B$h$&$K$7$^$9!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <example><title>$BNc(B</title>
46ef178b8f55b794c65491b370974833ce9e621bben CacheDisable /local_files
46ef178b8f55b794c65491b370974833ce9e621bben </example>
46ef178b8f55b794c65491b370974833ce9e621bben</usage>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben</directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben<name>CacheMaxExpire</name>
46ef178b8f55b794c65491b370974833ce9e621bben<description>$B%I%-%e%a%s%H$r%-%c%C%7%e$9$k:GBg;~4V$rIC?t$G8=$7$?$b$N(B</description>
46ef178b8f55b794c65491b370974833ce9e621bben<syntax>CacheMaxExpire <var>seconds</var></syntax>
46ef178b8f55b794c65491b370974833ce9e621bben<default>CacheMaxExpire 86400 ($B0lF|(B)</default>
46ef178b8f55b794c65491b370974833ce9e621bben<contextlist><context>server config</context><context>virtual host</context>
46ef178b8f55b794c65491b370974833ce9e621bben</contextlist>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p><directive>CacheMaxExpire</directive> $B%G%#%l%/%F%#%V$O!"(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%-%c%C%7%e$9$k(B HTTP $B%I%-%e%a%s%H$r!"85$N%5!<%P$KLd$$9g$o$;$J$$$^$^:GBg2?IC(B
46ef178b8f55b794c65491b370974833ce9e621bben $BJ];}$7$F$b$h$$$+$r;XDj$7$^$9!#$D$^$j!"%I%-%e%a%s%H$O:GBg$G$3$NIC?t4V$V$s8E$/(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$J$k$3$H$K$J$j$^$9!#$3$N:GBgCM$O!"(B($BLuCm(B:$B%l%9%]%s%9Cf$G(B)$B%I%-%e%a%s%H$H6&$K(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%I%-%e%a%s%H$N4|F|$,Ds6!$5$l$F$$$k>l9g$G$bE,MQ$5$l$^$9!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
78012096aa571f2196cee261cf3212301b7aeb8dnd <example>
f52ea24116476087513484e16bad70f5db17f404nd CacheMaxExpire 604800
f52ea24116476087513484e16bad70f5db17f404nd </example>
f52ea24116476087513484e16bad70f5db17f404nd</usage>
46ef178b8f55b794c65491b370974833ce9e621bben</directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
5bfaaf573bacb45c1cf290ce85ecc676587e8a64jim<name>CacheDefaultExpire</name>
863d82a20218f96158d0e9b1ea45a5b7c7fe0fc7rpluem<description>$B4|F|$,;XDj$5$l$F$$$J$$$H$-$K%I%-%e%a%s%H$r%-%c%C%7%e$9$k%G%U%)%k%H$N4|4V(B</description>
46ef178b8f55b794c65491b370974833ce9e621bben<syntax>CacheDefaultExpire <var>seconds</var></syntax>
46ef178b8f55b794c65491b370974833ce9e621bben<default>CacheDefaultExpire 3600 (1$B;~4V(B)</default>
46ef178b8f55b794c65491b370974833ce9e621bben<contextlist><context>server config</context><context>virtual host</context>
46ef178b8f55b794c65491b370974833ce9e621bben</contextlist>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p><directive>CacheDefaultExpire</directive> $B%G%#%l%/%F%#%V$O!"%I%-%e%a%s%H$K(B
46ef178b8f55b794c65491b370974833ce9e621bben $BM-8z4|8B(B (expiry) $B$d:G=*=$@5;~9o(B (last-modified) $B$,;XDj$5$l$F$$$J$$>l9g$N(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%G%U%)%k%H$N;~4V$r;XDj$7$^$9!#(B<directive>CacheMaxExpire</directive>
46ef178b8f55b794c65491b370974833ce9e621bben $B%G%#%l%/%F%#%V$G;XDj$5$l$?CM$O$3$N@_Dj$r>e=q$-(B<em>$B$7$^$;$s(B</em>$B!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <example>
46ef178b8f55b794c65491b370974833ce9e621bben CacheDefaultExpire 86400
46ef178b8f55b794c65491b370974833ce9e621bben </example>
46ef178b8f55b794c65491b370974833ce9e621bben</usage>
46ef178b8f55b794c65491b370974833ce9e621bben</directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben<name>CacheIgnoreNoLastMod</name>
46ef178b8f55b794c65491b370974833ce9e621bben<description>$B1~Ez$K(B Last Modified $B$,L5$/$F$b5$$K$7$J$$$h$&$K$9$k(B</description>
46ef178b8f55b794c65491b370974833ce9e621bben<syntax>CacheIgnoreNoLastMod On|Off</syntax>
e7015efd988d1bfbf1b6645f86f2abbfe0173265ben<default>CacheIgnoreNoLastMod Off</default>
46ef178b8f55b794c65491b370974833ce9e621bben<contextlist><context>server config</context><context>virtual host</context>
46ef178b8f55b794c65491b370974833ce9e621bben</contextlist>
7db380203c3cb6915d773e0883010d123643c4ddtrawick
7db380203c3cb6915d773e0883010d123643c4ddtrawick<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p>$BDL>o!"(BLast-Modified $B$K$h$k:G=*=$@5;~9o$NL5$$%I%-%e%a%s%H$O%-%c%C%7%e(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$5$l$^$;$s!#(B($BNc$($P(B <module>mod_include</module> $B$K$h$k=hM}$N$H$-$J$I$K(B)
46ef178b8f55b794c65491b370974833ce9e621bben Last-Modified $B;~9o$,>C5n$5$l$?$j!"$=$b$=$b:G=i$+$iDs6!$5$l$F$$$J$$(B
46ef178b8f55b794c65491b370974833ce9e621bben $B>u67$,$"$j$^$9!#(B<directive>CacheIgnoreNoLastMod</directive>
46ef178b8f55b794c65491b370974833ce9e621bben $B%G%#%l%/%F%#%V$r;H$&$H!"(BLast-Modified $BF|;~$,;XDj$5$l$F$$$J$$(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%I%-%e%a%s%H$G$b%-%c%C%7%e$9$k$h$&$K;XDj$G$-$^$9!#%I%-%e%a%s%H$K(B
46ef178b8f55b794c65491b370974833ce9e621bben $B:G=*=$@5;~9o(B (Last-Modified) $BM-8z4|8B(B (expiry) $B$,$J$$>l9g$O!"M-8z4|8B$N(B
46ef178b8f55b794c65491b370974833ce9e621bben $B@8@.$K(B <directive>CacheDefaultExpire</directive> $B$,;H$o$l$^$9!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <example>
46ef178b8f55b794c65491b370974833ce9e621bben CacheIgnoreNoLastMod On
46ef178b8f55b794c65491b370974833ce9e621bben </example>
46ef178b8f55b794c65491b370974833ce9e621bben</usage>
7db380203c3cb6915d773e0883010d123643c4ddtrawick</directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
bf2c5978346829f62a64d3f2106a3cc08782b86csf<name>CacheIgnoreCacheControl</name>
f52ea24116476087513484e16bad70f5db17f404nd<description>$B%/%i%$%"%s%H$,%3%s%F%s%D$r%-%c%C%7%e$7$J$$$h$&$K;X<($7$F$bL5;k$9$k!#(B</description>
f52ea24116476087513484e16bad70f5db17f404nd<syntax>CacheIgnoreCacheControl On|Off</syntax>
f52ea24116476087513484e16bad70f5db17f404nd<default>CacheIgnoreCacheControl Off</default>
46ef178b8f55b794c65491b370974833ce9e621bben<contextlist><context>server config</context><context>virtual host</context>
7db380203c3cb6915d773e0883010d123643c4ddtrawick</contextlist>
7db380203c3cb6915d773e0883010d123643c4ddtrawick
7db380203c3cb6915d773e0883010d123643c4ddtrawick<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p>no-cache $B%X%C%@$d(B no-store $B%X%C%@$N$"$k%I%-%e%a%s%H$ODL>o%-%c%C%7%e(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$5$l$^$;$s!#(B<directive>CacheIgnoreCacheControl</directive> $B%G%#%l%/%F%#%V(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$G$3$NF0:n$r>e=q$-$G$-$k$h$&$K$J$j$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben <directive>CacheIgnoreCacheControl</directive> On $B$H$9$k$H%5!<%P$K(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%I%-%e%a%s%H$K(B no-cache $B$d(B no-store $B%X%C%@$,$"$C$?$H$7$F$b%I%-%e%a%s%H$r(B
46ef178b8f55b794c65491b370974833ce9e621bben $B%-%c%C%7%e$9$k$h$&$K;X<($7$^$9!#G'>Z$rI,MW$H$9$k%I%-%e%a%s%H$O(B<em>$B7h$7$F(B</em>
46ef178b8f55b794c65491b370974833ce9e621bben $B%-%c%C%7%e$5$l$^$;$s!#(B</p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <example>
46ef178b8f55b794c65491b370974833ce9e621bben CacheIgnoreCacheControl On
46ef178b8f55b794c65491b370974833ce9e621bben </example>
46ef178b8f55b794c65491b370974833ce9e621bben</usage>
46ef178b8f55b794c65491b370974833ce9e621bben</directivesynopsis>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<directivesynopsis>
282e30758f26841a32a71151333f526cd27294a8nd<name>CacheLastModifiedFactor</name>
282e30758f26841a32a71151333f526cd27294a8nd<description>LastModified $B$NF|IU$K4p$E$$$FM-8z4|8B(B (expiry)
46ef178b8f55b794c65491b370974833ce9e621bben$B$r7W;;$9$k$?$a$N=E$_$r;XDj$9$k(B
46ef178b8f55b794c65491b370974833ce9e621bben</description>
46ef178b8f55b794c65491b370974833ce9e621bben<syntax>CacheLastModifiedFactor <var>float</var></syntax>
46ef178b8f55b794c65491b370974833ce9e621bben<default>CacheLastModifiedFactor 0.1</default>
46ef178b8f55b794c65491b370974833ce9e621bben<contextlist><context>server config</context><context>virtual host</context>
46ef178b8f55b794c65491b370974833ce9e621bben</contextlist>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben<usage>
46ef178b8f55b794c65491b370974833ce9e621bben <p>$B%I%-%e%a%s%H$K(B Last-Modified $B$NF|IU$,L5$$$1$l$I$bM-8z4|8B(B (expiry)
46ef178b8f55b794c65491b370974833ce9e621bben $B$NF|IU$,$"$k$H$$$&$H$-$K!"M-8z4|8B$r:G=*=$@5;~9o$+$i$N7P2a;~4V$H$7$F(B
46ef178b8f55b794c65491b370974833ce9e621bben $B7W;;$9$k$h$&$K$G$-$^$9!#M-8z4|8B$r<!$N7W;;<0$K=>$C$F@8@.$9$k$N$G$9$,!"(B
46ef178b8f55b794c65491b370974833ce9e621bben $B$=$N$H$-$K;H$o$l$k(B <var>factor</var> $B$r(B
36ef8f77bffe75d1aa327882be1b5bdbe2ff567asf <directive>CacheLastModifiedFactor</directive> $B%G%#%l%/%F%#%V$G;XDj$7$^$9!#(B
46ef178b8f55b794c65491b370974833ce9e621bben </p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <p><code>expiry-period = time-since-last-modified-date * <var>factor</var>
46ef178b8f55b794c65491b370974833ce9e621bben expiry-date = current-date + expiry-period</code></p>
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bben <p>$BNc$($P!"%I%-%e%a%s%H$,(B 10 $B;~4VA0$K:G8e$K=$@5$5$l$F$$$F!"(B
46ef178b8f55b794c65491b370974833ce9e621bben <var>factor</var> $B$,(B 0.1 $B$G$"$l$P!"4|F|$O(B 10*0.1 = 1 $B;~4V$K(B
46ef178b8f55b794c65491b370974833ce9e621bben $B@_Dj$5$l$^$9!#8=:_;~9o$,(B 3:00pm $B$G$"$l$P!"7W;;$5$l$?4|F|$O(B
46ef178b8f55b794c65491b370974833ce9e621bben 3:00pm + 1hour = 4:00pm $B$K$J$j$^$9!#(B</p>
<p>$B4|F|$,(B <directive>CacheMaxExpire</directive> $B$G@_Dj$5$l$F$$$kCM(B
$B$h$jBg$-$/$J$C$F$7$^$C$F$$$k>l9g$O!"(B<directive>CacheMaxExpire</directive>
$B$N@_DjCM$,M%@h$5$l$^$9!#(B</p>
<example>
CacheLastModifiedFactor 0.5
</example>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>CacheIgnoreHeaders</name>
<description>$B;XDj$5$l$?(B HTTP $B%X%C%@$r%-%c%C%7%e$KJ]B8$7$J$$!#(B
</description>
<syntax>CacheIgnoreHeaders <var>header-string</var> [<var>header-string</var>] ...</syntax>
<default>CacheIgnoreHeaders None</default>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<usage>
<p>RFC 2616 $B$K$h$k$H!"(Bhop-by-hop HTTP $B%X%C%@$O%-%c%C%7%e$K$OJ]4I$5$l$^$;$s!#(B
$B0J2<$N%X%C%@$O(B hop-by-hop $B%X%C%@$K3:Ev$7$^$9$N$G!"(B
<directive>CacheIgnoreHeaders</directive>
$B$N@_Dj$K(B<em>$B4X78$J$/(B</em>$B%-%c%C%7%e$K$OJ]4I$5$l$^$;$s(B:</p>
<ul>
<li><code>Connection</code></li>
<li><code>Keep-Alive</code></li>
<li><code>Proxy-Authenticate</code></li>
<li><code>Proxy-Authorization</code></li>
<li><code>TE</code></li>
<li><code>Trailers</code></li>
<li><code>Transfer-Encoding</code></li>
<li><code>Upgrade</code></li>
</ul>
<p><directive>CacheIgnoreHeaders</directive> $B$G(B
$B%-%c%C%7%e$KJ]4I$7$J$$DI2C$N(B HTTP $B%X%C%@$r;XDj$7$^$9!#(B
$BNc$($P!"%/%C%-!<$r%-%c%C%7%e$KJ]4I$7$J$$$h$&$K$7$?J}$,$h$$>l9g$b(B
$B$"$k$G$7$g$&!#(B</p>
<p><directive>CacheIgnoreHeaders</directive> $B$N0z?t$O!"(B
$B%-%c%C%7%e$KJ]4I$7$J$$(B HTTP $B%X%C%@$r6uGr6h@Z$j$K$7$?%j%9%H7A<0$G$9!#(B
$B%-%c%C%7%e$KJ]4I$7$J$$%X%C%@$,(B hop-by-hop $B%X%C%@$@$1$N>l9g(B
(RFC 2616 $B=`5r$NF0:n$N$H$-(B) $B$O!"(B
<directive>CacheIgnoreHeaders</directive> $B$r(B <code>None</code>
$B$K@_Dj$G$-$^$9!#(B</p>
<example><title>$BNc(B 1</title>
CacheIgnoreHeaders Set-Cookie
</example>
<example><title>$BNc(B 2</title>
CacheIgnoreHeaders None
</example>
<note type="warning"><title>$B7Y9p(B:</title>
<code>Expires</code> $B$N$h$&$JE,@Z$N%-%c%C%7%e4IM}$N$?$a$KI,MW$J(B
$B%X%C%@$,(B <directive>CacheIgnoreHeaders</directive> $B$N@_Dj$K$h$j(B
$BJ]4I$5$l$F$$$J$$$H$-$O!"(Bmod_cache $B$NF0:n$ODj5A$5$l$F$$$^$;$s!#(B
</note>
</usage>
</directivesynopsis>
</modulesynopsis>