News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ThinkingPHP:
Issues with output buffering in CakePHP
July 17, 2006 @ 06:13:16

If you're using the CakePHP framework and are having a problem with output buffering, this quick tip on the ThinkingPHP blog might work for you.

Output buffering is a useful way to accomblish things in php like gzipping all html output and such. A while ago I wrote about it on this blog (see "A miracle called gzip") as well.

The reason I write about it again is, that I have discovered a little issue with it in CakePHP.

He notes that if you just use the ob_start with the gzip handler, debug issues arise. The soultion he's come up with, though, isn't quite as simple, but gets the job done in about ten lines and is easy to drop in anywhere.

2 comments voice your opinion now!
cakephp framework output buffering gzip debug cakephp framework output buffering gzip debug


blog comments powered by Disqus

Similar Posts

DiGiTSS Blog: CodeIgniter 2 is just here – about to release..!

The Show: Episode #6 - Babbling 'Bout Beta

Brandon Savage's Blog: Revisiting: Why Every Developer Should Write Their Own Framework

Matt Curry's Blog: Giving Away A Free Copy Of CakePHP Application Development

Paul Jones' Blog: PHP Works 2007 Teaser: Framework Benchmarks!


Community Events





Don't see your event here?
Let us know!


developer podcast release wordpress language configure install code introduction library bugfix list threedevsandamaybe laravel interview application unittest series community api

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework