thadeusb / flask-cache

Cache extension for Flask
http://packages.python.org/Flask-Cache/
Other
697 stars 185 forks source link

Is that possible to delete_memoized according to part of parameters? #165

Open flniu opened 7 years ago

flniu commented 7 years ago

Example:

@cache.memoize()
def param_func(a, b):
    return a+b+random.randrange(1, 50)

For the function above: