Re: [SMARTY] Output buffering?
| From: | Martin Mandl | Date: | Tue, 04 Mar 2003 21:24:20 +0000 |
| Subject: | Re: [SMARTY] Output buffering? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8403@lists.php.net to get a copy of this message | ||
-) If you want to save bandwith you can send a zipped html to the browser ...
-) If you are using sessions - you have to send the session headers first - before you send anything else ... Buffering is a simple way to keep everything together and ordered ;)
by the way - another way to switch on zipping - put the following line into your .htaccess:
php_flag zlib.output_compression on
Peter Billen wrote:
I have always been wondering, and this is maybe the exact moment to ask: why and in what cases would you do output buffering? Peter