libreant icon indicating copy to clipboard operation
libreant copied to clipboard

agherant description cache timeout

Open ael-code opened this issue 10 years ago • 2 comments

agherant decriptions are cached but they do not expire

ael-code avatar Jan 15 '15 09:01 ael-code

should we use flask-cache? https://pythonhosted.org/Flask-Cache/ seems easy to use, supports multiple backends (including the 'null' one for easy debug), expiration times, a limit to things to cache...

I believe this is better than reimplementing the wheel.

boyska avatar Jan 15 '15 11:01 boyska

ahahah... this morning I was reading the flask-cache doc. Seems a good solution.

ael-code avatar Jan 15 '15 12:01 ael-code