Currently, all the contests are being fetched In the contests table, and pagination is added to the fetched data. It would be better to fetch only one table page at a time. It will help to reduce the server-load and load the home page faster.
To achieve this, we can introduce API endpoints for the contest's metadata and use it in the front end. I'm not sure if can integrate API with data tables. If API integration is not possible, then we can go with custom pagination implementation.
Currently, all the contests are being fetched In the contests table, and pagination is added to the fetched data. It would be better to fetch only one table page at a time. It will help to reduce the server-load and load the home page faster.
To achieve this, we can introduce API endpoints for the contest's metadata and use it in the front end. I'm not sure if can integrate API with data tables. If API integration is not possible, then we can go with custom pagination implementation.