I have a PHP Web application with several results per item category. Hence, I implemented a pagination with jQuery to minimize the data loaded when loading page i-th from page j-th (but this aspect is not important at all).
The question is very simple: should I cache the next results by using such an hidden call (e.g. with an Ajax call) to my Web server?
The benefits seems to be clear (faster response on user click). Are there such drawbacks?
Thanks in advance for your support.
This is a different approach. You may try the following steps;
nextclicks should do an AJAX request and save the result in a variable.prevclicks also.Hope this helps.