Hey Yii-phobians!
I am kind of stuck in this issue. I am trying to enable gzip in my application i followed the procedure in main configuration file
First i was having a conflict with PHP Zlib Compression so i turned that off in my htaccess using
In my WAMP apache DEFLATE_MODULE and HEADERS_MODULE is enable
but i think i am still not being able to gzip my JS & CSS
I am using YSLOW to check that whether its enabled or not
So is there any kind of advice how to achieve this
I am kind of stuck in this issue. I am trying to enable gzip in my application i followed the procedure in main configuration file
'onBeginRequest'=>create_function('$event', 'return ob_start("ob_gzhandler");'), 'onEndRequest'=>create_function('$event', 'return ob_end_flush();'),
First i was having a conflict with PHP Zlib Compression so i turned that off in my htaccess using
php_value zlib.output_compression off
In my WAMP apache DEFLATE_MODULE and HEADERS_MODULE is enable
but i think i am still not being able to gzip my JS & CSS
I am using YSLOW to check that whether its enabled or not
So is there any kind of advice how to achieve this