how to implement pagination and caching in apigee
ex:employeeSecreen
i have a screen consist of four search fields(f1,f2,f3,f4) and i need to cache the data in response cache and implement pagination in javascript.
Done scenario:
I have created a cachekey=x+y; and storing the response in response cache and doing filter based on user search (f1,f2,f3,f4) and then doing filtering.
When user is creating new employee that time i am invalidating the cache and then the new record will appear in sceen.
Problem:
In this way if perform filter in javascript performance will degrade.
--I need to implement only caching and pagination but not filtering in this employee screen how can i do this.
--in this case cachekey=x+y+f1+f2+f3+f4; will not work because while creating employee time i need to invalidate all cache lot of cache(with different key) will form that i can not predect.