Trying to put data into LruCache and then get it back. I am using postman to get the data via api, every fourth or fifth time I retry the api, data is returned form the cache. Whereas for first tries, it takes time and never returns from the cache. I think data is not being cached in the first placed. Please help, what might be the issue here with python's LRU Cache and Gunicorn
I am expecting data to be returned via cache, 2nd time I hit my api. But actually data is retuned from cache, after several tries of hitting the api.