aiocache
aiocache copied to clipboard
Asyncio cache manager for redis, memcached and memory
## What do these changes do? ## Are there changes in behavior for the user? ## Related issue number ## Checklist - [ ] I think the code is well...
How to get the cache key if I have a cached function like this? ```py @cached(ttl=30, serializer=PickleSerializer()) async def fetchrow_from_db(pool: asyncpg.Pool, id: int): record = await pool.fetchrow("SELECT * FROM my_table...
## What do these changes do? Add redis SSL support ## Are there changes in behavior for the user? `RedisCache` should now have a configuration option for `ssl` ## Related...
I am getting a d redis bug/issue that i am hoping is not a bug but more in the way i am handling things this is with aiohttp and aiocache...
* See #569 for more information * Use namespace for decorators get/set * Include build_key(key, namespace) in decorators.cached: * get_from_cache() * set_in_cache() * Use namespace for HitMissRatioPlugin key * Use...
* See #473 ~~: Deprecate using cache specific constructors~~ ~~* https://github.com/aio-libs/aiocache/issues/473~~ * `Cache` class was introduced as a proxy for instantiating the different backends. There should be only one way...
## What do these changes do? Preparing for new release. Use aiojobs for background tasks. ## Are there changes in behavior for the user? nope ## Related issue number Resolvers:...
2022.05.12: switched backend from aioredis` to `redis-py >= 4.2.0`. --- **Update**: - To test with `aioredis` 2.0.0 automatically. Travis and tox configurations need to be updated. - Fixes aio-libs/aiocache#543 ##...
There are a few useful changes that are [not available in the latest 0.11.1 release](https://github.com/aio-libs/aiocache/compare/0.11.1...master), such as #478 (fixing Redis `clear` with namespace that happens to be empty), #470 (quieter...
I want to debug the use of aiocache in my app, how can I set the log level to debug?