Kdyby / DoctrineCache

Doctrine 2 Cache integration into Nette Framework
https://packagist.org/packages/kdyby/doctrine-cache
Other
10 stars 21 forks source link

Redis #5

Closed solcik closed 9 years ago

solcik commented 9 years ago

Is it possible to do "Kdyby\DoctrineCache\RedisCache " in same manner as the MemcacheCache?

When I tried to use redis option for cache in some of your packages (doctrine, annotations), it fails, because setter for Redis client on Doctrine RedisCache class is not called.

Now I am using apc, so it is no longer a problem, but still .)

fprochazka commented 9 years ago

Hi, for metadata and query cache (not result cache), you should definitely use APCu - it's by far the fastest.

But yes, you have a good point and the RedisCache should be fixed :) I'd welcome a pullrequest.

solcik commented 9 years ago

Ok, not now, but I will try.

enumag commented 9 years ago

This was fixed by https://github.com/Kdyby/DoctrineCache/commit/3d44162f7946749cc08d264aea2c2bc7224eadc7, right?

fprochazka commented 9 years ago

Yes :)