Answer the question
In order to leave comments, you need to log in
How to speed up DataTables with a large number of records?
Hello. There are 5000 records in the database that need to be displayed in DataTables. When unloading all the records at once on the client side (in the browser), lags and freezes begin to appear, how can you render in batches, or page by page?
Or is it better to display this volume of records in some other way, if so, what analogue would you recommend?
Answer the question
In order to leave comments, you need to log in
Use the serverSide option ( https://datatables.net/examples/data_sources/serve... ).
How to implement this in laravel is described in detail here: https://datatables.yajrabox.com/starter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question