Re: stripping with an OB callback
| From: | Richard Lynch | Date: | Fri, 22 Sep 2006 23:36:21 +0000 |
| Subject: | Re: stripping with an OB callback | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242102@lists.php.net to get a copy of this message | ||
Cannot compression be set in .htaccess?
Or even within the script???
I suspect you could even find a PHP class out there to compress and
send the right headers to do it all in PHP, regardless of server
settings...
On Wed, September 20, 2006 7:33 pm, Christopher Watson wrote:
> Hi Robert,
>
> Well, I think the main reason I'm not using transparent output
> compression is because this app shares php.ini with several other PHP
> apps on the server, and I don't want to foist this change on the
> admins of those apps. I was trying to come up with a localized
> strategy for trimming my app's output.
>
> The <pre></pre> issue is not an issue for me.
>
> -Christopher
>
> On 9/20/06, Robert Cummings <robert@interjinn.com> wrote:
>> Should be an issue as long as you're not stripping whitespace from
>> between <pre></pre> tags. Although, one must wonder why you don't
>> just
>> use output compression since all that whitespace would just compress
>> anyways as would all the other content. In fact 900k with fairly
>> standard content would shrink to about 90k.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Like Music?
http://l-i-e.com/artists.htm