<s>
mod_deflate	O
is	O
an	O
optional	O
module	O
for	O
the	O
Apache	B-Application
HTTP	I-Application
Server	I-Application
,	O
Apache	B-Application
v2.0	O
and	O
later	O
.	O
</s>
<s>
It	O
is	O
based	O
on	O
Deflate	B-Algorithm
lossless	B-Algorithm
data	I-Algorithm
compression	I-Algorithm
algorithm	O
that	O
uses	O
a	O
combination	O
of	O
the	O
LZ77	O
algorithm	O
and	O
Huffman	B-General_Concept
coding	I-General_Concept
.	O
</s>
<s>
This	O
module	O
provides	O
the	O
DEFLATE	B-Algorithm
output	O
filter	O
that	O
allows	O
output	O
from	O
Apache	B-Application
HTTP	I-Application
server	I-Application
to	O
be	O
compressed	O
before	O
being	O
sent	O
to	O
the	O
client	B-Protocol
over	O
the	O
network	O
.	O
</s>
<s>
It	O
also	O
provides	O
a	O
filter	O
for	O
decompressing	O
(	O
inflating	O
,	O
uncompressing	O
)	O
a	O
gzip	B-Application
compressed	O
response	O
body	O
.	O
</s>
<s>
When	O
textual	O
content	O
compressed	O
using	O
mod_gzip	O
,	O
it	O
should	O
maintain	O
its	O
MIME-type	B-Application
,	O
according	O
to	O
their	O
recommended	O
media	B-Application
type	I-Application
:	O
</s>
<s>
The	O
mod_gzip	O
module	O
is	O
similar	O
to	O
mod_deflate	O
,	O
for	O
Apache	B-Application
v1	O
and	O
v2	O
.	O
</s>
<s>
This	O
module	O
implements	O
a	O
gzip	B-Application
compression	I-Application
filter	O
for	O
Apache	B-Application
2.0	O
,	O
providing	O
similar	O
functionality	O
to	O
mod_gzip	O
.	O
</s>
<s>
One	O
important	O
difference	O
between	O
the	O
two	O
modules	O
is	O
that	O
mod_gzip	O
includes	O
its	O
own	O
gzip	B-Application
implementation	O
,	O
whereas	O
mod_gz	O
relies	O
on	O
an	O
external	O
zlib	O
library	O
.	O
</s>
<s>
In	O
PHP	B-Application
,	O
a	O
similar	O
effect	O
is	O
achievable	O
for	O
the	O
output	O
of	O
PHP	B-Application
scripts	I-Application
with	O
:	O
</s>
<s>
zlib.output_compression	O
option	O
in	O
the	O
php.ini	O
file	O
.	O
</s>
<s>
CherryPy	B-Application
offers	O
the	O
Gzip	B-Application
filter	O
,	O
which	O
uses	O
the	O
of	O
Python	O
standard	O
library	O
.	O
</s>
<s>
The	O
mod_deflate	O
module	O
is	O
part	O
of	O
Apache	B-Application
v2	O
,	O
licensed	O
with	O
Apache	B-Application
License	I-Application
2.0	O
.	O
</s>
<s>
Module	O
level	O
content	O
compression	O
for	O
Apache	B-Application
started	O
with	O
mod_gzip	O
,	O
which	O
is	O
an	O
external	O
extension	O
module	O
,	O
since	O
Apache	B-Application
1.3	I-Application
.	O
</s>
<s>
The	O
developers	O
of	O
the	O
Apache	B-Application
2.0.x	O
servers	O
have	O
included	O
mod_deflate	O
in	O
the	O
codebase	O
for	O
the	O
server	O
to	O
perform	O
a	O
similar	O
GZIP-encoding	O
function	O
.	O
</s>
<s>
Starting	O
with	O
Apache	B-Application
2.0.45	O
,	O
the	O
compression	O
level	O
of	O
mod_deflate	O
is	O
configurable	O
using	O
the	O
DeflateCompressionLevel	O
directive	O
.	O
</s>
