PaginationSize
Ensures that objects are paginated with performant sizes so that too many objects aren't loaded at once. This helps to keep response times low.
The following examples contain code snippets that either fail or pass this check.
The following example includes a pagination size that leads to too many products on a single page, exceeding the max_size
value:
The following example includes a pagination size that will not negatively impact performance:
Parameter | Description |
---|---|
enabled |
Whether this check is enabled. |
min_size |
The minimum valid pagination size. |
max_size |
The maximum valid pagination size. |
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.