summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_deflate.xml.ja
blob: 852435e63ba989d76d9e01495cfe55078523c3b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<modulesynopsis metafile="mod_deflate.xml.meta">
<!-- English revision: 1.9 -->

<name>mod_deflate</name>
<description>$B%/%i%$%"%s%H$XAw$i$l$kA0$K%3%s%F%s%D$r05=L$9$k(B</description>
<status>Extension</status>
<sourcefile>mod_deflate.c</sourcefile>
<identifier>deflate_module</identifier>

<summary>
    <p><module>mod_deflate</module> $B%b%8%e!<%k$O(B <code>DEFLATE</code>
    $B=PNO%U%#%k%?$rDs6!$7$^$9!#$3$l$O%5!<%P$+$i$N=PNO$r!"%M%C%H%o!<%/$r(B
    $BDL$7$F%/%i%$%"%s%H$KAw$kA0$K05=L$9$k$3$H$r2DG=$K$7$^$9!#(B</p>
</summary>
<seealso><directive module="mod_mime">AddOutputFilter</directive></seealso>
<seealso><directive module="core">SetOutputFilter</directive></seealso>

<section><title>$B05=L$rM-8z$K$9$k(B</title>

    <p>$B05=L5!G=$O(B <code>DEFLATE</code> <a href="../filter.html">$B%U%#%k%?(B</a>
    $B$K$h$j<BAu$5$l$F$$$^$9!#0J2<$N%G%#%l%/%F%#%V$O$=$N%G%#%l%/%F%#%V$N$"$k(B
    $B%3%s%F%JCf$N%I%-%e%a%s%H$r05=L$9$k$h$&$K$7$^$9(B:</p>
    <p><strong>$B$h$/;H$o$l$F$$$k%V%i%&%6$G$O!"$9$Y$F$N%3%s%F%s%D$KBP$9$k(B
        $B05=L$r07$($k$o$1$G$O$"$j$^$;$s!#$G$9$+$i!"(B'gzip-only-text/html' 
	$B%N!<%H$r(B 1 $B$K$7$F!"(Bhtml $B%U%!%$%k$KBP$7$F$N$_(B
	$B05=L$,F/$/$h$&$K$7$?J}$,$h$$$+$b$7$l$^$;$s(B ($B0J2<;2>H(B)
    </strong></p>
    <p><strong>$B$3$NCM$r(B 1 $B0J30$NCM$K@_Dj$7$?>l9g$OL5;k$5$l$^$9$N$G!"(B
       $B%M%,%F%#%V%^%C%A$r9T$J$&$3$H$,$G$-$^$9!#(B</strong></p>

<example>SetEnv gzip-only-text/html 1<br />
SetOutputFilter DEFLATE
</example>

    <p>$B$3$l$O(B Apache $B$N%I%-%e%a%s%F!<%7%g%s$KBP$7$F05=L$rM-8z$K$9$k@_Dj$G$9(B:</p>

<example>
&lt;Directory "/your-server-root/manual"&gt;<br />
      SetEnv gzip-only-text/html 1<br />
      SetOutputFilter DEFLATE<br />
&lt;/Directory&gt;
</example>

    <p>HTML $B%U%!%$%k$N05=L$K$D$$$F$G$9$i$bLdBj$N$"$k%V%i%&%6$KBP$7$F$O!"(B
    <directive module="mod_setenvif">BrowserMatch</directive>
    $B%G%#%l%/%F%#%V$r;H$C$FFCDj$N%V%i%&%6$KBP$7$F$O05=L$,9T$J$o$l$J$$$h$&$K(B
    'no-gzip' $B%N!<%H$r%;%C%H$9$k$HNI$$$G$7$g$&!#(B</p>

</section>

<directivesynopsis>
<name>DeflateFilterNote</name>
<description>$B%m%.%s%0MQ$K05=LHf$r%a%b$KDI2C(B</description>
<syntax>DeflateFilterNote <em>notename</em></syntax>
<contextlist><context>server config</context>
<context>virtual host</context></contextlist>

<usage>
    <p><directive>DeflateFilterNote</directive> $B%G%#%l%/%F%#%V$O(B
    $B05=LHf$K4X$9$k%a%b$,%j%/%(%9%H$KIU2C$5$l$k$3$H$r;XDj$7$^$9!#(B
    $B%a%b$NL>A0$O%G%#%l%/%F%#%V$K;XDj$5$l$?CM$G$9!#(B</p>
</usage>
</directivesynopsis>

<directivesynopsis>
<name>DeflateBufferSize</name>
<description>zlib $B$,0lEY$K05=L$9$k2t$NBg$-$5(B</description>
<syntax>DeflateBufferSize <em>value</em></syntax>
<default>DeflateBufferSize 8096</default>
<contextlist><context>server config</context>
<context>virtual host</context></contextlist>

<usage>
    <p><directive>DeflateBufferSize</directive> $B%G%#%l%/%F%#%V$O(B
    zlib $B$,0lEY$K05=L$9$k2t$NBg$-$5$r%P%$%HC10L$G;XDj$7$^$9!#(B</p>
</usage>
</directivesynopsis>

<directivesynopsis>
<name>DeflateWindowSize</name>
<description>Zlib $B$N05=LMQ%&%#%s%I%&$NBg$-$5(B</description>
<syntax>DeflateWindowSize <em>value</em></syntax>
<default>DeflateWindowSize 15</default>
<contextlist><context>server config</context>
<context>virtual host</context></contextlist>

<usage>
    <p><directive>DeflateWindowSize</directive> $B%G%#%l%/%F%#%V$O(B
    zlib $B$N05=LMQ%&%#%s%I%&(B ($BLuCm(B: zlib $B$G;HMQ$5$l$kMzNr%P%C%U%!(B) 
    $B$NBg$-$5$r;XDj$7$^$9(B (1 $B$+$i(B 15 $B$N4V$NCM(B)$B!#(B
    ($BLuCm(B: 2 $B$rDl$H$9$kBP?t$NCM$K$J$j$^$9!#(B
    8 $B$+$i(B 15 $B$K$9$k$N$,NI$$$G$7$g$&!#(B)</p>
</usage>
</directivesynopsis>

<directivesynopsis>
<name>DeflateMemLevel</name>
<description>zlib $B$,05=L$K;H$&%a%b%j$N%l%Y%k$r;XDj(B</description>
<syntax>DeflateMemLevel <em>value</em></syntax>
<default>DeflateMemLevel 9</default>
<contextlist><context>server config</context>
<context>virtual host</context></contextlist>

<usage>
    <p><directive>DeflateMemLevel</directive> $B%G%#%l%/%F%#%V$O(B
    zlib $B$,05=L$K;H$&%a%b%j$N%l%Y%k$r@_Dj$7$^$9(B (1 $B$+$i(B 9 $B$N4V$NCM(B)$B!#(B
    ($BLuCm(B: 2 $B$rDl$H$9$kBP?t$NCM$K$J$j$^$9!#(B
    8 $BDxEY$,NI$$$G$7$g$&!#(B)</p>
</usage>
</directivesynopsis>

</modulesynopsis>