Use eaccelerator.compress or apache.mod_deflate?
Submitted by bnup on June 13, 2007 - 23:13
I prefre apache.mod_deflate to compress my website,does it also need eaccelerator.compress?if not use eaccelerator.compress,does it affect to apache's performance?
thank Chris,you are so good a man.
a friend from China.

Delicious
Digg
Reddit
Google
Technorati
Greetings Friend from the
Greetings Friend from the great China,
You should use both, would be my recommendation. They compress different things.
If possible run eA with:
eaccelerator.check_mtime="0"
This makes eAccelerator skip checking the modified time of original php file at each access. But if you make php code changes you then have to restart Apache. That setting should be fine for most production servers.
Cheers,
Chris
Thank Chris
Thanks for your reply,I think I know the answer,the eaccelerator.compress compresses the php file for cacheing,and apache.mod_deflate compresses the site for viewers.
eaccelerator helps a lot for php's performance,at least in my site.Thank Chris.