cachelib
cachelib copied to clipboard
Extract from werkzeug.cache
Following the discussion in #11 and the improvement done in #63, where custom serializers were added for each cache backend. I think that it would be very nice to have...
Using set() of FileSystemCache raises errors on Ubuntu 20.04 > WARNING:root:Exception raised while handling cache file '/home/site/wwwroot/deal_sourcing/flask_session/5651fc15999c50354843e09982ff80ed' > Traceback (most recent call last): > File "/antenv/lib/python3.8/site-packages/cachelib/file.py", line 238, in set...
This PR adds the ability to sign the stored cache values. Most classes now accept the extra argument `secret_key` for signing cache values with this key. *itsdangerous* is used for...
I have a suggestion: It should be possible to sign (/ apply HMAC) to cache values in the same way `werkzeug.contrib.securecookie` does already. `pickle` is used as serializer to serialize...
Following #35, using [service containers](https://docs.github.com/en/actions/guides/about-service-containers) as an alternative to manually installing `chachelib` external dependencies in [tests.yml](https://github.com/pallets/cachelib/blob/master/.github/workflows/tests.yaml#L48) workflow (e.g. `memcached`, redis, `pylibmc` headers) seems like an interesting option. Some thoughts: -...
Flask-Session uses Cachelib for filesystem session storage A Flask based webapp was tested with Apache Benchmark tool, sending 1000 requests with concurrency 100. After approx. 500 requests, apache logs start...
Bumps [boto3](https://github.com/boto/boto3) from 1.34.39 to 1.34.53. Changelog Sourced from boto3's changelog. 1.34.53 api-change:docdb-elastic: [botocore] Launched Elastic Clusters Readable Secondaries, Start/Stop, Configurable Shard Instance count, Automatic Backups and Snapshot Copying api-change:eks:...
Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240106 to 4.6.0.20240218. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [redis](https://github.com/redis/redis-py) from 5.0.1 to 5.0.2. Release notes Sourced from redis's releases. 5.0.2 Changes 🚀 New Features Allow to control the minimum SSL version (#3127) Add modules support to async...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.6.1 to 3.6.2. Release notes Sourced from pre-commit's releases. pre-commit v3.6.2 Fixes Fix building golang hooks during git commit --all. #3130 PR by @asottile. #2722 issue by...