Content Delivery API Performance optimization
Increased CDA GraphQL pagination response to 500 items
January 29th, 2025
By default, all GraphQL queries on paginated items to our Content Delivery API return a response of 20 items.
While we'll still retain this as the default behaviour, we've increased the maximum number of items to 500.
You can manage this behaviour when making your queries using the first
parameter like this:
{# Fetch the first 500 posts allPosts(first: 500) { id slug title description publishedAt content }}
For more info on working with Pagination in DatoCMS check out the docs.