Re: Cake becomes super-slow when loading assets from Plugins
Me too. Debug kits jquery takes 5 seconds to load. - blocking page load.
On Tuesday, 29 May 2012 17:58:25 UTC+10, Ernesto wrote:
i forgot to say i'm usign Cake 2.2.0-RC1 on a Win7 server--
Il giorno martedì 29 maggio 2012 09:51:28 UTC+2, Ernesto ha scritto:Hi all!i noticed that Cake gets very, very slow (about 50x times slower) if i load assets from Plugins.Here's my layout code<html xmlns="http://www.w3.org/1999/xhtml "><head><?phpecho $this->Html->charset();echo "<title>". $title ."</title>";echo $this->Html->meta("icon");echo $this->Html->css(array("generic",$this->layout ."/form",$this->layout ."/menu",$this->layout ."/top","/". $this->request->plugin ."/css/". $this->layout //this css gives troubles));?></head><body><div id='wrapper'><div id='top'><?phpecho $this->Menu->output();echo "<div id='title'>". $title ."</div>";echo $this->Azioni->output();?></div><div id='content'><?php echo $this->fetch("content"); ?></div></div></body></html>Am i doing something wrong?
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home