📄 mod_expires.html.ko.euc-kr
字号:
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_expires - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p>
<p class="apache">Apache HTTP Server Version 2.0</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">葛碘</a></div>
<div id="page-content">
<div id="preamble"><h1>酒颇摹 葛碘 mod_expires</h1>
<div class="toplang">
<p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_expires.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_expires.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_expires.html" title="Korean"> ko </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">汲疙:</a></th><td>荤侩磊啊 瘤沥茄 扁霖俊 蝶扼 <code>Expires</code>客
<code>Cache-Control</code> HTTP 庆歹甫 积己茄促</td></tr>
<tr><th><a href="module-dict.html#Status">惑怕:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">葛碘疙:</a></th><td>expires_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">家胶颇老:</a></th><td>mod_expires.c</td></tr></table>
<h3>夸距</h3>
<p>捞 葛碘篮 辑滚 览翠狼 <code>Expires</code> HTTP 庆歹客
<code>Cache-Control</code> HTTP 庆歹狼 <code>max-age</code>
瘤矫绢 汲沥阑 炼例茄促. 父扁老阑 颇老捞 付流阜 荐沥等 矫埃
趣篮 努扼捞攫飘啊 立加茄 矫埃俊 惑措利栏肺 汲沥且 荐 乐促.</p>
<p>捞 HTTP 庆歹甸篮 努扼捞攫飘俊霸 巩辑狼
蜡瓤己苞 瘤加己阑 舅妨霖促. 捞 矫埃捞 酒流 瘤唱瘤臼疽促搁,
巩辑甫 某浆俊辑 啊廉客档 等促. 父扁老捞 瘤车促搁 某浆等
巴阑 "父丰登绊" 蜡瓤窍瘤 臼促绊 埃林窍咯, 家胶俊辑 巩辑甫
货肺 掘绢客具 茄促.</p>
<p><code class="directive"><a href="../mod/mod_headers.html#header">Header</a></code> 瘤矫绢甫
荤侩窍咯 <code>max-age</code> 寇狼 促弗
<code>Cache-Control</code> 瘤矫绢(<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">RFC
2616, 14.9 例</a> 曼绊)甫 荐沥且 荐 乐促.</p>
</div>
<div id="quickview"><h3 class="directives">瘤矫绢甸</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#expiresactive">ExpiresActive</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#expiresbytype">ExpiresByType</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#expiresdefault">ExpiresDefault</a></li>
</ul>
<h3>林力</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#AltSyn">促弗 郴何 巩过</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="AltSyn" id="AltSyn">促弗 郴何 巩过</a></h2>
<p><code class="directive"><a href="#expiresdefault">ExpiresDefault</a></code>客
<code class="directive"><a href="#expiresbytype">ExpiresByType</a></code>
瘤矫绢甫 歹 佬扁 亮篮 屈侥栏肺 扁贱且 荐 乐促:</p>
<div class="example"><p><code>
ExpiresDefault "<base> [plus] {<num>
<type>}*"<br />
ExpiresByType type/encoding "<base> [plus]
{<num> <type>}*"
</code></p></div>
<p><base>绰 促澜吝 窍唱捞促:</p>
<ul>
<li><code>access</code></li>
<li><code>now</code> ('<code>access</code>'客 鞍澜)</li>
<li><code>modification</code></li>
</ul>
<p><code>plus</code> 虐况靛绰 绝绢档 等促. <num>篮
[<code>atoi()</code>俊 荤侩且 荐 乐绰] 沥荐蔼捞促.
<type>篮 促澜吝 窍唱捞促:</p>
<ul>
<li><code>years</code></li>
<li><code>months</code></li>
<li><code>weeks</code></li>
<li><code>days</code></li>
<li><code>hours</code></li>
<li><code>minutes</code></li>
<li><code>seconds</code></li>
</ul>
<p>抗甫 甸绢, 促澜 葛滴绰 巩辑啊 扁夯利栏肺 立加等瘤 1崔饶俊
父扁等促绊 汲沥茄促:</p>
<div class="example"><p><code>
ExpiresDefault "access plus 1 month"<br />
ExpiresDefault "access plus 4 weeks"<br />
ExpiresDefault "access plus 30 days"
</code></p></div>
<p>'<num> <type>' 备巩阑 馆汗秦辑 荤侩窍咯
父扁矫埃阑 磊技洒 汲沥且 荐 乐促:</p>
<div class="example"><p><code>
ExpiresByType text/html "access plus 1 month 15
days 2 hours"<br />
ExpiresByType image/gif "modification plus 5 hours 3
minutes"
</code></p></div>
<p>父距 荐沥矫埃(modification)阑 扁霖栏肺 父扁矫埃阑 汲沥窍绰
版快 郴侩阑 叼胶农俊 乐绰 颇老俊辑 啊廉坷瘤 臼绰促搁 Expires
庆歹甫 嘿捞瘤 <strong>臼绰促</strong>. 捞 版快 郴侩俊 荐沥矫埃捞
绝扁 锭巩捞促.</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ExpiresActive" id="ExpiresActive">ExpiresActive</a> <a name="expiresactive" id="expiresactive">瘤矫绢</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td><code>Expires</code> 庆歹甫 积己茄促</td></tr>
<tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>ExpiresActive On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">Override 可记:</a></th><td>Indexes</td></tr>
<tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td>mod_expires</td></tr>
</table>
<p>捞 瘤矫绢绰 秦寸 康开俊 措秦 (溜, <code>.htaccess</code>
颇老俊辑 荤侩茄促搁 弊 叼泛配府 酒贰俊 乐绰 巩辑甸父 秦寸等促.)
<code>Expires</code>客 <code>Cache-Control</code> 庆歹甫
积己且瘤 蜡公甫 搬沥茄促. (<code>.htaccess</code> 颇老 殿栏肺
歹 窍困 窜拌俊辑 辑滚汲沥阑 函版窍瘤臼绰 茄)
<code>Off</code>捞搁 秦寸 康开俊 乐绰 巩辑俊 捞甸 庆歹甫
积己窍瘤 臼绰促. <code>On</code>捞搁 <code class="directive"><a href="#expiresbytype">ExpiresByType</a></code>苞 <code class="directive"><a href="#expiresdefault">ExpiresDefault</a></code> 瘤矫绢肺
(<em>秦寸 亲格阑 曼绊窍扼</em>) 瘤沥茄 痹蘑俊 蝶扼 辑厚胶窍妨绰
巩辑俊 捞 庆歹甸阑 积己茄促.</p>
<p>捞 瘤矫绢啊 <code>Expires</code>唱 <code>Cache-Control</code>
庆歹甫 焊厘窍瘤绰 臼绰促. 痹蘑俊 秦寸窍瘤 臼促搁 付摹 捞
瘤矫绢啊 绝绰 巴贸烦 庆歹甫 父甸瘤 臼绰促.</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ExpiresByType" id="ExpiresByType">ExpiresByType</a> <a name="expiresbytype" id="expiresbytype">瘤矫绢</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>MIME type栏肺 <code>Expires</code> 庆歹蔼阑 汲沥茄促</td></tr>
<tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>ExpiresByType <var>MIME-type</var>
<var><code>seconds</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">Override 可记:</a></th><td>Indexes</td></tr>
<tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td>mod_expires</td></tr>
</table>
<p>捞 瘤矫绢绰 漂沥 辆幅狼 (<em>俊甫 甸绢</em>,
<code>text/html</code>) 巩辑俊 措茄 <code>Expires</code>
庆歹蔼苞 <code>Cache-Control</code> 庆歹狼 <code>max-age</code>
瘤矫绢蔼阑 沥狼茄促. 滴锅掳 酒痹刚飘绰 父扁矫埃阑 搬沥且锭
扁霖 矫埃俊 歹且 檬窜困 蔼阑 瘤沥茄促. <code>Cache-Control:
max-age</code>绰 父扁矫埃俊辑 夸没茄 矫埃阑 哗辑 拌魂窍绊,
搬苞绰 檬窜困肺 钎矫茄促.</p>
<p>扁霖 矫埃篮 颇老狼 弥辟 荐沥矫埃 趣篮 努扼捞攫飘啊 巩辑俊
立辟茄 矫埃捞促. 捞恫 巴阑 荤侩且瘤绰
<code><var><code></var></code> 鞘靛肺 搬沥秦具 茄促.
<code>M</code>篮 扁霖 矫埃栏肺 颇老狼 弥辟 荐沥矫埃阑
荤侩窍绊, <code>A</code>绰 努扼捞攫飘狼 立辟 矫埃阑 荤侩茄促.</p>
<p>瞒捞绰 固功窍促. <code>M</code>阑 荤侩窍搁 某浆俊 乐绰
葛电 汗荤夯捞 鞍篮 矫埃俊 父丰等促. 弊贰辑 亲惑 鞍篮 URL肺
茫酒杭 荐 乐绰 林埃老沥 鞍篮 侩档俊 亮促. <code>A</code>甫
荤侩窍搁 汗荤夯狼 父扁矫埃捞 阿阿 促福促. 捞绰 磊林 荐沥登瘤臼绰
弊覆颇老俊, 漂洒 咯矾 巩辑俊辑 鞍篮 弊覆阑 曼炼且锭 (<em>抗甫
甸绢</em>, 捞固瘤绰 惑措利栏肺 陋篮 扁埃悼救 馆汗秦辑 立辟等促),
蜡侩窍促.</p>
<div class="example"><h3>抗力:</h3><p><code>
# 父扁庆歹甫 荤侩茄促<br />
ExpiresActive On<br />
# 努扼捞攫飘 某浆狼 GIF 弊覆篮 茄 崔饶俊 父扁茄促<br />
ExpiresByType image/gif A2592000<br />
# HTML 巩辑绰 函版饶 老林老埃 蜡瓤窍促
ExpiresByType text/html M604800
</code></p></div>
<p>捞 瘤矫绢绰 <code>ExpiresActive On</code>阑 荤侩且锭父
蜡瓤窃阑 林狼窍扼. <code class="directive"><a href="#expiresdefault">ExpiresDefault</a></code> 瘤矫绢甫
荤侩窍咯 漂沥 MIME type俊 措秦辑<em>父</em> 父扁矫埃阑
汲沥且 荐 乐促.</p>
<p>菊俊辑 汲疙茄 <a href="#AltSyn">促弗 巩过</a>阑 荤侩窍咯
父扁矫埃阑 拌魂且 荐档 乐促.</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ExpiresDefault" id="ExpiresDefault">ExpiresDefault</a> <a name="expiresdefault" id="expiresdefault">瘤矫绢</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>父扁矫埃阑 拌魂窍绰 扁夯 舅绊府硫</td></tr>
<tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>ExpiresDefault <var><code>seconds</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">Override 可记:</a></th><td>Indexes</td></tr>
<tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td>mod_expires</td></tr>
</table>
<p>捞 瘤矫绢绰 秦寸 康开俊 乐绰 葛电 巩辑狼 父扁矫埃阑
拌魂窍绰 扁夯 舅绊府硫阑 瘤沥茄促. <code class="directive"><a href="#expiresbytype">ExpiresByType</a></code> 瘤矫绢甫
荤侩窍咯 辆幅喊肺 汲沥且 荐 乐促. 酒痹刚飘 巩过俊 措茄
磊技茄 汲疙篮 弊 瘤矫绢客 <a href="#AltSyn">促弗 巩过</a>阑
曼绊窍扼.</p>
</div>
</div>
<div class="bottomlang">
<p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_expires.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_expires.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_expires.html" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -