DataTable & Laravel 4 & json
DataTable & Laravel 4 & json
extjac
Posts: 13Questions: 6Answers: 0
Hello,
I am using dataTable with Laravel 4 and all works ok. The only problem i am having is that Laravel is returning 10k json records at once and dataTable takes too long to load them (which is normal). I don’t want to use any Laravel Package so i was wondering if some run into the same challenge. I know the issue is with pagination...I don’t understand how to make the pagination with Laravel json data.
Anyone?
This discussion has been closed.
Answers
Do you have deferred rendering (
deferRender
) enabled? If not, I'd suggest enabling it. If you do, then the next stage to get improved performance is server-side processing.Allan
Thanks allan!
I tried deferRender but i didn't see a big improve in performance. basically, i take from 2 to 5 seconds to load 8k records.
How much of that time is the download from the server? We'd a link to the page to be able to profile it and see if there is anything else that can be improved.
Allan
i will post the link