[SOLVED] urlFormat adds significant time

UrlManager was configured to get earlier, as soon as I change it to path. It changes page load time from 700 ms to 4.2 seconds. From chrome toolbar network window, its trying to download a file (

localhost/xxxx/indexDev.php/js/login ), which is delaying loading of the page. But its not doing that, when changing the urlFormat to get…

Any help will be appreciated. Thanks


This is the php log file…

‘Unable to resolve the request “js/login”.’ in C:\xampp\yii\framework\web\CWebApplication.php:281

Here is what was causing it… It my template file, I had

Yii::app()->clientScript->registerScriptFile(‘js/xxxx.js’, CClientScript::POS_HEAD );

and I changed it to

Yii::app()->clientScript->registerScriptFile(’../js/xxxx.js’, CClientScript::POS_HEAD );

also, in my view file I had

echo CHtml::imageButton(‘images/xxxx.png’,array(‘id’=>‘startQuizButton’)); ?>

and changed it to

echo CHtml::imageButton(’../images/xxxx.png’,array(‘id’=>‘startQuizButton’)); ?>

Back to 300 ms of loading time… wohooooo!!!