flask-caching
flask-caching copied to clipboard
Remove unused _get_prefix() method from RedisCache class.
This removal an addition to this PR : https://github.com/pallets-eco/flask-caching/pull/109.
The main goal is to reintroduce an old behaviour : the possibility to give a function to the key_prefix RedisCache parameter. This behaviour is reintroduced in the cachelib library (https://github.com/pallets-eco/cachelib/pull/332).