Re: Cake becomes super-slow when loading assets from Plugins

2012-06-04 Thread #2Will
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
 ?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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cake becomes super-slow when loading assets from Plugins

2012-06-04 Thread José Lorenzo
Are assets being loaded correctly?

On Tuesday, May 29, 2012 3:28:25 AM UTC-4:30, 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
 ?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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Cake becomes super-slow when loading assets from Plugins

2012-05-29 Thread Ernesto
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
?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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cake becomes super-slow when loading assets from Plugins

2012-05-29 Thread Ernesto
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
 ?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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php