How can use Yii TinyMCE extension on production

Sometimes developer face issues to use Yii TinyMCE extension on production server. Its stops showing anything on production except words “Text mode”

To use on production just follow few steps–
'htmlOptions'=>array('rows'=>6, 'cols'=>50, 'class'=>'tinymce'),

Because, server already compresses the data and extension try to compress again. As a result,  the browser does not understand this situation.

Now this will work on production environment.

Minify Javascript and CSS files using minify extension in Yii

To minify Javascript and CSS files in Yii applications just go to following URL and then download the extension.
Then extract into extension directory and finally edit your config.php file and following lines in // application components section

'clientScript' => array(
'class' => 'ext.minify.EClientScript',
'combineScriptFiles' => true,
'combineCssFiles' => true,
'optimizeCssFiles' => true,
'optimizeScriptFiles' => false,

Now test using YSlow or Google Pagespeed.