lundi 17 décembre 2018

How to efficiently show reports and tables for huge dataset in laravel?

I was earlier using Datatables for reports in my website, which currently deals with 3 to 4 tables with around 3k to 4k records in each. Datatable either client side or server side, or even as a service worked a bit slow to render records into the DOM, also clicking the paginated links took the almost same time as it took to load the page. So I shifted to laravel paginator which comes by default, although it lacks the flexibility that datatables provide, I implemented my own ajax search on it to fulfill the same. I want to understand what other ways do devs use to show reports basically in a tabular structure which might have data from past 4 to 5 years and the page speed be good. I implemented eager loading to improve the speed which did work, but not to that extent.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire