Server side processing with Datatable

Good day guys.

I am using datatables with almost 2000 rows. My problem is, it is taking 7-9 seconds to load the page.

I tried to implement server side rendering using django_datatables_view: https://pypi.org/project/django-datatables-view/.

It seems working because i am receiving the right response with its data but still it was taking 7-9 seconds to load the page. I am missing something? See screenshots below:

utils.py (server side processing)

Check ApplicaitonDetail model (Meta) default ordering and ordering fields (db_)index as the first step…