-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Description:
Currently, all leaderboard data is sent to the frontend at once and paginated on the client side. This approach leads to heavy backend hits and can cause performance issues, especially as the amount of data grows.
Proposed Solution:
Implement backend-based pagination for the leaderboard data. This will allow the frontend to request only the necessary data for the current page, reducing the load on the server and improving performance.
Acceptance Criteria:
- Implement API endpoint for paginated leaderboard data.
- Modify the existing leaderboard component to fetch data from the new endpoint based on the current page.
- Ensure that the pagination controls work seamlessly with the backend data.
- Document the new API endpoint in the project's API documentation.
Benefits:
- Reduced load on the server
- Improved performance and faster load times for the leaderboard
- Scalability for larger data
Reactions are currently unavailable