Re: PHP Speedy Helper Problems

2012-08-08 Thread jj
Hi Marcelius,

are you still active in CakePHP Development?
I got a Question about your PHPSpeedy Helper.

Please Contact me 


Am Donnerstag, 5. Februar 2009 10:04:48 UTC+1 schrieb Marcelius:

 I've found the problem: I've used v0.4.6, and you have probably 
 v0.5.2. I'll update the artice since there are many changes made 
 between these two versions. 

 The last time I updated an article, it got unpublished again for some 
 reason, so please be patient :-) 

 On 5 feb, 03:20, Kyle Decot kdec...@gmail.com wrote: 
  I have attempted to implement the PHP Speedy helper found on the 
  bakery at: 
  
  http://bakery.cakephp.org/articles/view/phpspeedy-helper 
  
  If I have the debug set to 0 then none of my javascript or css is 
  affected. If I alter the helper to allow for debug to be 1 then I get 
  the following errors: 
  
  Undefined variable: contents [APP/vendors/php_speedy/php_speedy.php, 
  line 71] 
  Undefined variable: return_array [APP/vendors/php_speedy/controller/ 
  compressor.php, line 731] 
  
  Has anyone gotten this helper to work successfully? Thanks for any 
  help you can provide me with.

-- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: PHP Speedy Helper Problems

2009-02-05 Thread Marcelius

I've found the problem: I've used v0.4.6, and you have probably
v0.5.2. I'll update the artice since there are many changes made
between these two versions.

The last time I updated an article, it got unpublished again for some
reason, so please be patient :-)

On 5 feb, 03:20, Kyle Decot kdec...@gmail.com wrote:
 I have attempted to implement the PHP Speedy helper found on the
 bakery at:

 http://bakery.cakephp.org/articles/view/phpspeedy-helper

 If I have the debug set to 0 then none of my javascript or css is
 affected. If I alter the helper to allow for debug to be 1 then I get
 the following errors:

 Undefined variable: contents [APP/vendors/php_speedy/php_speedy.php,
 line 71]
 Undefined variable: return_array [APP/vendors/php_speedy/controller/
 compressor.php, line 731]

 Has anyone gotten this helper to work successfully? Thanks for any
 help you can provide me with.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~--~~~~--~~--~--~---



PHP Speedy Helper Problems

2009-02-04 Thread Kyle Decot

I have attempted to implement the PHP Speedy helper found on the
bakery at:

http://bakery.cakephp.org/articles/view/phpspeedy-helper

If I have the debug set to 0 then none of my javascript or css is
affected. If I alter the helper to allow for debug to be 1 then I get
the following errors:

Undefined variable: contents [APP/vendors/php_speedy/php_speedy.php,
line 71]
Undefined variable: return_array [APP/vendors/php_speedy/controller/
compressor.php, line 731]

Has anyone gotten this helper to work successfully? Thanks for any
help you can provide me with.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~--~~~~--~~--~--~---



Re: PHP Speedy

2008-04-08 Thread Renan Gonçalves
Yeah. Of course.
http://www.buscapets.com.br/files/php_speedy_cake.zip

I'll create a helper or anything like this and write a article at bakery.

Don't forgot to modify the index.php


Bye!

On Mon, Apr 7, 2008 at 2:14 PM, Axel Ariel Arroyo Braconi 
[EMAIL PROTECTED] wrote:

 can you post the modified files?

 On Mon, Apr 7, 2008 at 1:48 PM, Renan Gonçalves [EMAIL PROTECTED]
 wrote:

  No .. doest work!
 
  You only can compress the all data to send to browser...
  So, you must modify the index.php at app/webroot.
 
  Like this:
  require_once APP . DS . 'vendors' . DS . 'php_speedy' . DS .
  'php_speedy.php';
  $compressor-start();
 
  if (isset($_GET['url'])  $_GET['url'] === 'favicon.ico') {
  return;
  } else {
  $Dispatcher = new Dispatcher();
  $Dispatcher-dispatch($url);
  }
  if (Configure::read()  0) {
  echo !--  . round(getMicrotime() - $TIME_START, 4) . s --;
  }
 
  $compressor-finish();
 
  But, to work I modified many files of php speedy!
 
  On Mon, Apr 7, 2008 at 1:12 PM, John David Anderson 
  [EMAIL PROTECTED] wrote:
 
  
  
   On Apr 7, 2008, at 8:10 AM, Caio Vitor wrote:
  
   
Does anyone know PHP Speedy? How to implement it on cakephp? More
information:
   
   
   http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/
  
   Might work by sticking his stuff in your vendors folder, including it,
   and making the finish() call in a callback (afterRender, maybe?).
  
   -- John
  
  
  
 
 
  --
  Renan Gonçalves - Software Engineer
  Cell Phone: +55 11 8633 6018
  MSN: [EMAIL PROTECTED]
  São Paulo - SP/Brazil
 
 
 


 --
 Axel

 



-- 
Renan Gonçalves - Software Engineer
Cell Phone: +55 11 8633 6018
MSN: [EMAIL PROTECTED]
São Paulo - SP/Brazil

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



PHP Speedy

2008-04-07 Thread Caio Vitor

Does anyone know PHP Speedy? How to implement it on cakephp? More
information:

http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/

[]'s
Caio Vitor
http://www.marcotuliotudo.com
http://facacomcake.blogspot.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Speedy

2008-04-07 Thread John David Anderson


On Apr 7, 2008, at 8:10 AM, Caio Vitor wrote:


 Does anyone know PHP Speedy? How to implement it on cakephp? More
 information:

 http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/

Might work by sticking his stuff in your vendors folder, including it,  
and making the finish() call in a callback (afterRender, maybe?).

-- John

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Speedy

2008-04-07 Thread Renan Gonçalves
No .. doest work!

You only can compress the all data to send to browser...
So, you must modify the index.php at app/webroot.

Like this:
require_once APP . DS . 'vendors' . DS . 'php_speedy' . DS .
'php_speedy.php';
$compressor-start();

if (isset($_GET['url'])  $_GET['url'] === 'favicon.ico') {
return;
} else {
$Dispatcher = new Dispatcher();
$Dispatcher-dispatch($url);
}
if (Configure::read()  0) {
echo !--  . round(getMicrotime() - $TIME_START, 4) . s --;
}

$compressor-finish();

But, to work I modified many files of php speedy!

On Mon, Apr 7, 2008 at 1:12 PM, John David Anderson 
[EMAIL PROTECTED] wrote:



 On Apr 7, 2008, at 8:10 AM, Caio Vitor wrote:

 
  Does anyone know PHP Speedy? How to implement it on cakephp? More
  information:
 
 
 http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/

 Might work by sticking his stuff in your vendors folder, including it,
 and making the finish() call in a callback (afterRender, maybe?).

 -- John

 



-- 
Renan Gonçalves - Software Engineer
Cell Phone: +55 11 8633 6018
MSN: [EMAIL PROTECTED]
São Paulo - SP/Brazil

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Speedy

2008-04-07 Thread Axel Ariel Arroyo Braconi
can you post the modified files?

On Mon, Apr 7, 2008 at 1:48 PM, Renan Gonçalves [EMAIL PROTECTED]
wrote:

 No .. doest work!

 You only can compress the all data to send to browser...
 So, you must modify the index.php at app/webroot.

 Like this:
 require_once APP . DS . 'vendors' . DS . 'php_speedy' . DS .
 'php_speedy.php';
 $compressor-start();

 if (isset($_GET['url'])  $_GET['url'] === 'favicon.ico') {
 return;
 } else {
 $Dispatcher = new Dispatcher();
 $Dispatcher-dispatch($url);
 }
 if (Configure::read()  0) {
 echo !--  . round(getMicrotime() - $TIME_START, 4) . s --;
 }

 $compressor-finish();

 But, to work I modified many files of php speedy!

 On Mon, Apr 7, 2008 at 1:12 PM, John David Anderson 
 [EMAIL PROTECTED] wrote:

 
 
  On Apr 7, 2008, at 8:10 AM, Caio Vitor wrote:
 
  
   Does anyone know PHP Speedy? How to implement it on cakephp? More
   information:
  
  
  http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/
 
  Might work by sticking his stuff in your vendors folder, including it,
  and making the finish() call in a callback (afterRender, maybe?).
 
  -- John
 
 
 


 --
 Renan Gonçalves - Software Engineer
 Cell Phone: +55 11 8633 6018
 MSN: [EMAIL PROTECTED]
 São Paulo - SP/Brazil

 



-- 
Axel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Speedy

2008-04-07 Thread Kyle Decot

Yes, please post them as I am eager to try this. It looks like it
could be extremely helpful.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Speedy

2008-04-07 Thread MattC

This is a Cake helper I wrote that does pretty much the same thing:
http://bakery.cakephp.org/articles/view/automatic-javascript-and-css-packer

-Matt
www.pseudocoder.com


On Apr 7, 10:10 am, Caio Vitor [EMAIL PROTECTED] wrote:
 Does anyone know PHP Speedy? How to implement it on cakephp? More
 information:

 http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-li...

 []'s
 Caio Vitorhttp://www.marcotuliotudo.comhttp://facacomcake.blogspot.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---