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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to