booyah
unread,Jun 4, 2009, 9:06:42 PM6/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Web Optimizer
I've added Web Optimizer to my Yii webapp. I've included the require
and finish() in the main layout (./protected/views/layouts/main.php)
and the CSS is detected and handled by the optimizer, but the
javascript is not. I'm thinking it's because the javascript is
autoloaded into the view, unlike the CSS which is referenced in the
view, and this is happening after the optimizer gets the the head of
the page, because debugging shows $this->initial_files only contains
the CSS.
So perhaps I'm not implementing correctly for Yii? I can't find any
information specific to Yii besides in your changelog for 4.9 it says
something about Yii autoload support being fixed.
FYI I'm using Yii 1.0.5.