zimport.shtml

来自「用Dynamic C写的http程序」· SHTML 代码 · 共 27 行

SHTML
27
字号
<HTML>

<HEAD>
<TITLE>ZImport Demonstration</TITLE>
</HEAD>

<BODY>
<H1>ZImport Demonstration</H1>
ZImport.lib and the #zimport directive can be used to compress files
so that they take up less storage space.  These files can be uncompressed
on-the-fly by the web server.
<P>
For example, perhaps you'd like to read <A HREF="alice.html">Alice's
Adventures in Wonderland</A>?  (original size: 154514; compressed size:
<!--#echo var="text_size"-->)
<P>
Or maybe see an illustration of the <A HREF="alice.jpg">White Rabbit</A>?
(original size: 7149; compressed size: <!--#echo var="image_size"-->)
<P>
Note that text compresses very well, but images do not compress well at
all.  In this case, the overhead involved in the compression scheme
outweighs any benefits, so that the compressed file is actually
<i>larger</i> than the original.  You should keep this in mind when 
determining which data files to compress.
</BODY>

</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?