# ZImport Demonstration

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.

For example, perhaps you'd like to read Alice's Adventures in Wonderland? (original size: 154514; compressed size: )

Or maybe see an illustration of the White Rabbit? (original size: 7149; compressed size: )

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 larger than the original. You should keep this in mind when determining which data files to compress.