ngduc / Thin-PHP-Framework

A micro web framework - lightweight and flexible open source PHP5 MVC framework
http://www.thinphp.com
Other
41 stars 17 forks source link

nvm #8

Closed SorenA closed 13 years ago

SorenA commented 13 years ago

nvm

davidyew commented 13 years ago

Hi SorenA,

I am unsure about this. But overall the framework does work and is fantastic! I think it is faster than DooPHP http://doophp.com/ due to its 'thin-ness'! :)

I had Gzip turned on for added performance.

Assuming you have gzip supported webhost / website, under dispatcher.php add the following at the beginning.

ini_set("zlib_output_compression","On"); header('Content-Encoding: gzip'); if(!ob_start("ob_gzhandler")) ob_start();

I have tested it on Ubuntu and Firefox 6.0, which gives fast rendering.

regards David Yew

On Wed, Aug 24, 2011 at 2:16 AM, SorenA < reply@reply.github.com>wrote:

Hi, first of all, nice work you've done :)

But the default_controller setting in the app_config does not work

Best regards SorenA

Reply to this email directly or view it on GitHub: https://github.com/ngduc/Thin-PHP-Framework/issues/8

ngduc commented 12 years ago

Talking about gzip, I have just fixed a problem in "outputJson" function in "main_util.php" using ini_set.

Thank you David