CI with Ajax is too slow ??? |
[eluser]Unknown[/eluser]
thank for your reply, the time is given with a server on internet, I was 155ms for PDO and 475ms for CI. And My little test is on local, 22ms PDO and 130 CI Good point for asynchronous Ajax, but this is just an example for my test. The query for the test is not complicated: Code: SELECT date_cnx, address, information FROM connection WHERE userid = 112 ORDER BY DESC LIMIT 10 date_cnx I use only Query Bindings: Code: $ sql = "SELECT * FROM WHERE id = some_table AND status = AND author =??" Code: $ this-> db-> query ("SELECT * FROM some_table WHERE id = 3 AND status = 'live' AND author = 'Rick'"); For cache management, great idea, I found the documentation, I try this http://ellislab.com/codeigniter/user-gui...ching.html see you soon for results |
Messages In This Thread |
CI with Ajax is too slow ??? - by El Forum - 12-27-2013, 07:19 AM
CI with Ajax is too slow ??? - by El Forum - 12-27-2013, 01:44 PM
CI with Ajax is too slow ??? - by El Forum - 12-27-2013, 03:30 PM
|