Fantastic! :)
I used my own compressor during the beta period, but I feel a bit more safe
now that you've pushed in a "standard" version of it :)
Thank you!
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com



2010/10/25 Kornel Lesiński <kor...@aardvarkmedia.co.uk>

>
> I've finally managed to get PHPTAL 1.2.2 out of the door.
>
> I've deliberately kept changes to minimum, so if you've been using beta,
> it's safe to upgrade.
>
>
> The new cool toy in this release is HTML whitespace compressor. Just add
> this to your sites:
>
> $phptal->addPreFilter(new PHPTAL_PreFilter_Compress());
>
> and you'll get smaller HTML output. The prefilter will carefully remove all
> useless whitespace from the document and sort attributes to further improve
> gzip compression (you're gzipping all your pages, right?)
>
> Since it's a prefilter (run once), it doesn't slow down page generation at
> all!
>
> --
> regards, Kornel
>
>
>
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to