cache pagination and sortation