# Apollo Client cache

**URL:** <https://community.apollographql.com/t/apollo-client-cache/5730>\
**Category:** Client SDKs\
**Tags:** client, server, web\
**Created:** [February 15, 2023, 1:28pm UTC](https://community.apollographql.com/t/apollo-client-cache/5730 "2023-02-15T13:28:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paruyr\_Yeprikyan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/paruyr_yeprikyan/32/3892_2.png) [@Paruyr\_Yeprikyan](https://community.apollographql.com/u/Paruyr_Yeprikyan)\
**Post date:** [February 15, 2023, 1:28pm UTC](https://community.apollographql.com/t/apollo-client-cache/5730/1 "2023-02-15T13:28:23Z")

</div>

Hi everyone, please help me with the apollo client cache. The issue with pagination. The next page works perfectly, but the previous page button goes to the first page, not the previous one. Here is my code:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/apollographql/original/2X/3/3429557b3d0d598719b2ff6c0c796ae0ee61a762.png)

---

<div class="post-metadata">

**Author:** ![JeffAuriemma](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/jeffauriemma/32/2845_2.png) [@JeffAuriemma](https://community.apollographql.com/u/JeffAuriemma)\
**Post date:** [February 16, 2023, 6:05pm UTC](https://community.apollographql.com/t/apollo-client-cache/5730/2 "2023-02-16T18:05:19Z")

</div>

Hi @Paruyr_Yeprikyan 👋 welcome to the forum! I’d be happy to lend an extra set of eyes but I will need more information here. You referenced buttons and pagination but I don’t see any pagination logic or buttons in the screenshot you shared. Seeing more application code will help narrow down what the next step might be.
