Catalog / Skills

Django Pagination Performance

Improve Django and Django REST Framework pagination for large querysets using bounded page sizes, stable ordering, indexed ordering, offset limits, keyset pagination, DRF CursorPagination, and count-query tradeoffs. Use when list pages, admin views, APIs, exports, or infinite scroll become slow, inconsistent, or memory-heavy as result sets grow.

Djangov0.1.0MITdjangopaginationperformancequerysetsdrf

Install

npx skills add LVTD-LLC/skills --skill django-pagination-performance

From `SKILL.md`

Use this skill when a Django list view or API slows down as pages get deeper or result sets grow. Pagination is a query-design problem as much as a response-shaping problem.