flask-caching icon indicating copy to clipboard operation
flask-caching copied to clipboard

A caching extension for Flask

Results 124 flask-caching issues
Sort by recently updated
recently updated
newest added

I have an application with data that is updated every couple days. Thusly, the default cache timeout is of 24 hours. Nevertheless, I want to force the update when the...

When setting a simple callable to the force_update parameter in memoize decorator, this callable is executed twice for each call to the cached function. ``` cache_server = Cache(app, config={"CACHE_TYPE: "SimpleCache"}...

Get this a lot, makes caching entirely unusable

needs info

On the previous version (1.10.1) i've overwrite the RedisCache class to remove the ! from the json like this. ``` import pickle from flask_caching.backends.rediscache import RedisCache as BaseRedisCache class RedisCache(BaseRedisCache):...

When using the `RedisCache` backend, I would have expected that when the `timeout` is set to `0` the cache key wouldn't be created, but apparently it's being created without any...

I'm opening this issue as a feature request to add support for using an AWS DynamoDB table as the cache backend. I have already implemented a BaseCache implementation that uses...

cachelib integration

Flask caching generates an error when trying to cache a response on which [on_close_call](https://flask.palletsprojects.com/en/2.1.x/api/#flask.Response.call_on_close) was invoked to add a callback to be invoked on response close. The cache type used...

The following works: @jira_api.route('/bugs/sync') @mycache.cached(timeout=50, key_prefix='sync') def show_bug_sync(): return {'message': 1} The following does not work: @jira_api.route('/bugs/sync') @mycache.cached(timeout=50, key_prefix='sync') **async** def show_bug_sync(): return {'message': 1} And get the error: (...

Adds an AWS DynamoDB cache backend to contrib. The `DynamoDbCache` class has documentation on usage. - Fixes #333 Checklist: - [ ] Add tests that demonstrate the correct behavior of...

cachelib integration

Pickle serializer is not secure and may lead to remote code execution or local privilege escalation. If attacker gains access to cache storage (filesystem, memcached, redis) then he can craft...