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>
<?php
echo $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'>
<?php
echo $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
No comments:
Post a Comment