I'm quite new to cakephp, have around a month developing a small app just for learning purposes.
Currently i'm having an issue, which while it's not really problematic, in this case. it's quite stressing me not finding a way to solve it.
Any of my paginate/find calls, are slowing my controller actions by around 1-1.2 segs, no matter how many records I have in this table it could be 10 records or 2000, it will always await around 1000 ms to render my view.
I have tried several things I looked around in google, like using recursive = -1, disabling debug mode, properly indexing my database, using containable behavior, and none of this is improving my response time. Only thing that I haven't tried is to implement cache in find, since the way my app will work, it's not likely that 2 queries will be the same, or at least not the most used methods.
My SQL queries are quite simple and will delay maximum around 10ms, most of them are around 2-3 ms according to debug_kit plugin.
Would love any kind of input, i'm falling in love with this framework but this issue is disturbing me.
P.S: English is not my native language, please if there is something you don't understand, let me know and i'll try to make it clear.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment