As for testing, download Firebug + Yslow, for Firefox...


On Jan 14, 7:50 am, keymaster <ad...@optionosophy.com> wrote:
> Add this to your appController:
>
> if (Configure::read('debug') == 0){
>                         @ob_start ('ob_gzhandler');
>                         header('Content-type: text/html; charset: UTF-8');
>                         header('Cache-Control: must-revalidate');
>                         $offset = -1;
>                         $ExpStr = "Expires: " .gmdate('D, d M Y H:i:s',time() 
> + $offset) .
> ' GMT';
>                         header($ExpStr);
>                 }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to