Closed this issue a year ago · 0 comments
def key_str(): key = flask.request.path return key @app.route('/get', methods=['get']) @cache.cached(timeout=300, key_prefix=key_str)
when I use
@cache.cached(timeout=300, key_prefix=key_str())