Req #69493 [Fbk->Asn]: Compress by default
| From: | olafvdspek at gmail dot com | Date: | Tue, 27 Jul 2021 07:40:19 +0000 |
| Subject: | Req #69493 [Fbk->Asn]: Compress by default | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235390@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69493&edit=1
ID: 69493
User updated by: olafvdspek at gmail dot com
Reported by: olafvdspek at gmail dot com
Summary: Compress by default
-Status: Feedback
+Status: Assigned
Type: Feature/Change Request
Package: *General Issues
Operating System: *
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> Oh, is it that hard to enable that setting in php.ini,
It's not that hard.. but I think it could be simpler.
> or even
> better, not to use it, but rather configure your Webserver to do
> that?
Is that better / recommended? Is that recommendation documented? ;)
Previous Comments:
------------------------------------------------------------------------
[2021-07-26 13:48:10] rtrtrtrtrt at dfdfdfdf dot dfd
it's not hard to let take care about compression in the webserver, but it doesn't make
enough problems for some people when it's done based on request-headers so that it works
without issues :-)
and hell: the webserver even can decide if brotli or gz compression satisfies the client, way too
less troubles
------------------------------------------------------------------------
[2021-07-26 13:41:55] cmb@php.net
Oh, is it that hard to enable that setting in php.ini, or even
better, not to use it, but rather configure your Webserver to do
that?
------------------------------------------------------------------------
[2015-04-21 08:02:55] olafvdspek at gmail dot com
Description:
------------
It'd be nice if output compression was enabled by default.
Perhaps based on content type such that text/* and javascript are compressed.
Obviously the default should not cause troubles with scripts that enable compression themselves.
Test script:
---------------
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Expected result:
----------------
Output compression
Actual result:
--------------
No output compression
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69493&edit=1