Thanks, but what exactly should i use to store the query results and then take them from the storage?
Another question is that there is only one page where the queries are and i when i press page2 for example it refreshes itself with page=2. Does it mean that all queries will run one more time? If it is so, how should i restrict them from being executed if the result is already stored in cache or elsewhere?