Very slow if $data is big |
The array that I'm passing to the view is too big to send it to you. And, of course, it contain a bunch of sensible datas.
Thanks for the view parser link, I'm gonna look at it. Since the problem seems to come from $data passed to the view, I'm loading the view without calling the queries, loading an empty DataTable that is retrieving datas via Ajax. Now, the loading speed is ultra fast! I have other pages that loads a lot of datas, for those who are not with DataTable, I'm gonna simply load the datas with Ajax and do the logic from there. I have a lot of work to do in multiple pages but it worth it for the speed I'll gain! Thanks again superior for your guidance, it helped me a lot!
--
MarieveStrange Web Programmer |
Welcome Guest, Not a member yet? Register Sign In |