Re: gizp function
| From: | Monte Ohrt | Date: | Fri, 25 May 2001 13:19:11 +0000 |
| Subject: | Re: gizp function | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-809@lists.php.net to get a copy of this message | ||
I thought about implementing this at one time but ran into some
technical problems when caching with insert tags. It would probably be
best to keeping gzip out of Smarty, as some folks will want to use their
own gzip class, or already compress everything with mod_gzip. Just use a
gzip class along with Smarty, or better yet, use mod_gzip with apache to
compress all your content.
Hojtsy Gabor wrote:
>
> Hi Monte and Andrei!
>
> Don't you plan to include a gzip output
> option in Smarty? It can help much to the
> dial-in users out there...
>
> I have just implemented one (using a
> gzip class I received), and the results
> are awesome...
>
> My pretty huge stats page was 1,146,582
> bytes before compression, and 64,731 bytes
> after. The browser displayed the uncompressed
> and compressed ones the same... :)
>
> Goba
> ........................................................... . . . . .
> Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/