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 [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
-~----------~----~----~----~------~----~------~--~---