Flask rendering lists obtained from redis in different pages
问题 I have a redis database where I store the hits of recent random data from mysql. There is plenty of data in redis, and I want to use pagination, or some similar technique, to display the results in parts. I am storing the immediate results in results list, and the full output in final_results . I need each of these "results" in separate urls like /display_items/1 , /display_items/2 , and so on.. If I simply store all the keys in a list (like final_results ), then there is a possibility of an