DISQUS

DISQUS Hello! Newest Industry is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Newest Industry

Chronicles of a Crazy Canuck
Jump to original thread »
Author

Compressing PHP Output

Started by Stephen Pierzchala · 10 months ago

A little-used or discussed feature of PHP4 is the ability to compress output from the scripts using GZIP for more efficient transfer to requesting clients. By automatically detecting the ability of the requesting clients to accept and interpret GZIP encoded HTML, PHP4 can decrease the size of file ... Continue reading »

2 comments

  • Can you please let me know how much overhead it would be on my server. I've VPS plan with about 50 sites hosted.

    - Shobhit
    http://shobhit.net/
  • It shouldn't affect you performance to any great degree as it is used in many production environments currently.

    However, if you do have the ability to do compression inside of the Web server itself (Apache, IIS, etc.), I would recommend that over adding compression at the application layer.

    smp

Add New Comment

Returning? Login