By the way, when I added the following line in .htaccess, a 500 Internal Server Error was thrown. I was on shared hosting.
php_value output_buffering On php_value output_handler ob_gzhandler Any ideas why? On Jan 14, 1:00 pm, _k10_ <ketan.s...@gmail.com> wrote: > use your .htaccess file to enable gzipping. > > php_value output_buffering On > php_value output_handler ob_gzhandler > > _k10_ > > On Jan 14, 8:05 am, park <park....@gmail.com> wrote: > > > Hi, > > > Is there any best practices turning gzip compression on with Apache > > (on shared hosting where php.ini cannot be modified) and Cake? > > > I've been developing with Cake for quite a while, but not an expert on > > Apache. Below is the zlib setting on the server. > > > zlib.output_compression Off > > zlib.output_compression_level -1 > > zlib.output_handler no value > > > Many thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---