Currently working on python and redis. I have Flask as my framework and working on Blueprints.
Looking into implementing cache with redis for my APIs, I have tried Flask-Cache and redis-simple-cache.Downside are Flask-Cache saves the function even when you change the parameter of the function. It only saves it once per function.As per redis-simple-cache, it save its keys as SimpleCache-<key name>
which not advisable on my end.
So my question is, how can you create a decorator which save and retrieve or check if there is a key existing for the specific key.I know a save decorator is possible. But is a retrieve or check decorator possible?? Please correct me if I am wrong. Thank you.