I have category browsing page initially shows 48 products, and after customers click a next button, it triggers ajax call to load next 48 products, so then the page has 96 products and the url keeps the same. And then, customers click one product from the page, and go to the product page, and then they click back in the browse going back to the browsing page, and the page is reloading and 24 products are shown.
So my question is that how to keep the last ajax state, so when customers click back, they still see 48 results.
I see LLBean can do it, but wondering how to implement this? http://www.llbean.com/llb/shop/509723?nav=ln-26&page=active-clothing
Thanks!