I am looking for a way to cache a PHP page that it's different for each session user. For example if the paginating is used and if I have 10 pages each page contains 25 entries extracted from database, also these entries are editable when clicking on button on the page, how can I add these pages to cache? What's the best concept?
I know the Jstorage (www.jstorage.info) but I am not sure if it works in this case? I tried the caching in PHP but the problem it works on server side when creating html cache file which is not practical for having more than one session.
I am thinking to create a file on the client side and all all data from database to that file, and then if there is any modification to the page, I update both the external file and the database.. I heard about the pear-lite, but am confused..
Can you advise please? Many thanks.