Welcome Guest, Not a member yet? Register   Sign In
Very slow if $data is big
#16

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
Reply


Messages In This Thread
Very slow if $data is big - by MarieveStrange - 01-19-2023, 02:15 PM
RE: Very slow if $data is big - by InsiteFX - 01-20-2023, 12:52 AM
RE: Very slow if $data is big - by nc03061981 - 01-20-2023, 01:36 AM
RE: Very slow if $data is big - by davis.lasis - 01-20-2023, 02:46 AM
RE: Very slow if $data is big - by php_rocs - 01-20-2023, 09:45 AM
RE: Very slow if $data is big - by sheilaf - 01-20-2023, 12:19 PM
RE: Very slow if $data is big - by InsiteFX - 01-21-2023, 12:04 AM
RE: Very slow if $data is big - by MarieveStrange - 01-23-2023, 07:57 AM
RE: Very slow if $data is big - by superior - 01-23-2023, 08:54 AM
RE: Very slow if $data is big - by MarieveStrange - 01-24-2023, 01:02 PM
RE: Very slow if $data is big - by superior - 01-25-2023, 01:10 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 07:47 AM
RE: Very slow if $data is big - by superior - 01-25-2023, 08:39 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 09:40 AM
RE: Very slow if $data is big - by superior - 01-25-2023, 10:31 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 02:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB