After 1+ years without issue suddenly pagination of collections is broken in our app proxy. We make an ajax request to our server and return a {% layout none %} liquid file that loops through products in a collection. Up until now the for loop in the file rendered the appropriate page in the collection based on the ?page= querystring parameter as per the docs. Now, however, no matter what the page querystring is set to, only the first page of the loop renders.
I copy/pasted the code from the app proxy into the theme file, and interestingly enough the pagination worked. This led me to believe it was an app proxy specific issue. The cannonical_url in the app proxy shows that the ?page= part of the querystring is making it into the proxy file correctly.
Please help! A main part of our app is currently broken, and we haven’t made any changes to our code!