This check is aimed at keeping response times low.
👎 Examples of incorrect code for this check:
<!-- Using too large of page size -->
{% paginate collection.products by 999 %}
👍 Examples of correct code for this check:
{% paginate collection.products by 12 %}
Use sizes that are integers below the max_size
, and above the min_size
.
The default configuration for this check is the following:
PaginationSize:
enabled: true
ignore: []
min_size: 1
max_size: 50
N/A
This check has been introduced in Theme Check 1.3.0.