|
|
Re: Output compression? [message #12349 is a reply to message #12348] |
Tue, 05 August 2003 21:21 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I use mod_gzip because it is faster. However, when you use PHP's native compression it is very likely that the uploads would be compressed during sending. However that should not be a problem, your browser should automatically decompress the 1st level of compression.
FUDforum Core Developer
|
|
|
|
Re: Output compression? [message #12351 is a reply to message #12350] |
Tue, 05 August 2003 21:52 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
THe files on disk would not be compressed. The 2nd compression occurs when php sends the file to you. Because you have PHP compression enabled the file get's compressed again.
FUDforum Core Developer
|
|
|
|
Re: Output compression? [message #12354 is a reply to message #12353] |
Tue, 05 August 2003 22:09 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Does this happen to any file attachment or just the ones compressed using gzip?
FUDforum Core Developer
|
|
|
|
|
|
Re: Output compression? [message #12359 is a reply to message #12358] |
Tue, 05 August 2003 23:43 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, the problem is that once enabled zlib compression inside PHP scrope cannot be disabled. Meaning that the only work around is only to enable it when needed, which is what my patch does. However, if you have compressed enabled outside of the forum, this patch won't help I'am afraid.
FUDforum Core Developer
|
|
|