# Pagination caching

**URL:** <https://www.ruby-forum.com/t/pagination-caching/155750>\
**Category:** Rails\
**Created:** [December 16, 2008, 10:50am UTC](https://www.ruby-forum.com/t/pagination-caching/155750 "2008-12-16T10:50:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnAnAn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@AnAnAn](https://www.ruby-forum.com/u/AnAnAn)\
**Post date:** [December 16, 2008, 10:50am UTC](https://www.ruby-forum.com/t/pagination-caching/155750/1 "2008-12-16T10:50:08Z")

</div>

Hi everybody,  
I have a list of paginated items using ferret.

Every item could be updated and deleted with an ajax call.

Let’s suppose I’m paginating my results 10 by 10. When a user deletes  
an item, a frequent action, the results in the page drops to 9, so I  
have to rebuild the list doing an additional query.

Do you know if there is a better way to do that? Do you have any  
advice?
