We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to use Redis cache instead Predis because predis is more slower for multiple calls. Do you have an example to create interface?
The text was updated successfully, but these errors were encountered:
You use phpredis? So, you can use the doctrine cache for Redis.
[...] use Redis; use Doctrine\Common\Cache\RedisCache; use Kevinrob\GuzzleCache\Strategy\PrivateCacheStrategy; use Kevinrob\GuzzleCache\Storage\DoctrineCacheStorage; [...] $redis = new Redis(); $redis->connect('127.0.0.1', 6379); // Check https://github.com/phpredis/phpredis#usage for configuration $stack->push( new CacheMiddleware( new PrivateCacheStrategy( new DoctrineCacheStorage( new RedisCache($redis) ) ) ), 'cache' );
Sorry, something went wrong.
Thanks a lot!
No branches or pull requests
I need to use Redis cache instead Predis because predis is more slower for multiple calls. Do you have an example to create interface?
The text was updated successfully, but these errors were encountered: