FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » class gzip_encode
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
class gzip_encode [message #21618] Mon, 06 December 2004 20:50 Go to previous message
srchild is currently offline  srchild   United Kingdom
Messages: 88
Registered: December 2003
Location: UK
Karma:
Member
Have you thought about implementing this:

http://leknor.com/code/php/view/class.gzip_encode.php.txt

The advantage is that the compression level can be varied automatically according to server load - works for Linux and FreeBSD.

You can still set levels 0-9 if you prefer, or set 'true' to mean set autoconfigure according to server load.

Usually compressing much above level 3 or 4 doesn't make much diffference, but if you have spare cpu cycles then why not make use of them. OTOH if the server is heavily loaded then give it less compression work to do.

I've used it implemented in TYPO3 (http://typo3.org)


Simon Child
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Better Indentation in Posts?
Next Topic: RSS feed integration in a forum
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 05:39:01 GMT 2024

Total time taken to generate the page: 0.02805 seconds