When you set your debug configure level above 0 (which you have done
to be able to see the relevant SQL queires), the model caches are
refreshed.  When in production mode (debug level of 0), the DESCRIBE
query results are cached.

You'll have to be more specific when saying 'is slower than the same
application on 1.1.13' to get any useful information on how to
optimize.  Is there more data being sent to the views than necessary?
Are there superfluous queries being run?  Have you changed anything
else since your upgrade, i.e. controller logic, model logic, etc.?

-Joel.

On May 28, 9:49 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi
> I have a question.
> I upgrade my applications from 1.1.13 to 1.2
> I have noted that the same application in 1.2 is slower than the same
> application on 1.1.13.
> I use $this->Model->unbind and $this->Model->recursive=-1   in my
> applications.
> I have two query:
> 1) In Cake 1.2 for use $this->Model->unbind and $this->Model->recursive=-1 I 
> have to set some $actas or they work even if I have no
>
> $actas setted?
> 2)I have analized queries (debug set 2) and I see that there are some
> queries to determinate fields of the join tables of the HABTM's
> relation (DESCRIBE .... ) .Is it possible to do that my application
> doesn't execute these queries?
>
> Many Thanks
--~--~---------~--~----~------------~-------~--~----~
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