Using incremental page numbers for pagination scales poorly, so to solve this, Shopify uses relative cursor pagination to deliver faster queries.
NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.