Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
13:56 < RossC0> hmm - setRedirect is slow 13:57 < horros> v-dogg: others would of course say "EVO" 13:57 < _cheerios> that ff is shit 13:57 < horros> :) 13:57 < v-dogg> RossC0: setRedirect itself? or something else in you action? 13:57 < RossC0> it takes over 4 seconds to do a redirect - ah header(location: blah); exit; takes under 1 second 13:57 < v-dogg> woot? 13:58 < v-dogg> I use it extensively and never had any problems 13:58 < _cheerios> ive done redirects before, never noticed it being that slow 13:58 < RossC0> so its setRedirect or where / when it gets called - I don't output anything... 13:58 < v-dogg> RossC0: and you action doesn't do anything? 13:58 < v-dogg> your* 13:59 < RossC0> yeah to the action logins in a user 13:59 < v-dogg> something weird going on there 13:59 < _cheerios> remember to place a return; after your redirect method 13:59 < v-dogg> there's no way in hell a normal redirect would take any longer than a normal action 14:00 < _cheerios> $this->getResponse()->setRedirect($url); 14:00 < _cheerios> return; 14:00 < _cheerios> i use that myself 14:00 < v-dogg> you also need to clearLayers if you have loaded them 14:02 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 14:04 < RossC0> cool! it was the return; ?? 14:05 < RossC0> ah hmm 14:05 -!- shoan_ [n=shoan@59.92.194.22] has joined #agavi 14:06 < v-dogg> it still shouldn't take 4 secs! 14:06 < RossC0> ah I lied 14:06 < RossC0> I was still using header.. 14:06 < RossC0> ok layers 14:06 < RossC0> might / must be that .. 14:07 < _cheerios> redirect needs to call $agavi->shutdown clearly ;) 14:08 < RossC0> hurrah - it was the clearLayers 14:09 < RossC0> thanks guys :> 14:10 < RossC0> \o/ \o_ \o/ _o/ 14:10 < RossC0> all working nicely :-)
This paste will be private.
From the Design Piracy series on my blog: