Using redis cache plugin alongside phpredis extension

未关闭
#1,078 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
php, redis
领域
documentation

调研方向

从 Geocode cookbook 中的 Redis 缓存插件示例以及文档中介绍的 RedisCachePool 用法开始。检查 phpredis 扩展应如何与该示例配合使用,然后明确两者是否可以一起使用,以及 phpredis 是否可以替代缓存插件。

由索引模型根据 Issue 内容生成。

描述

question

I'd like to use Geocoder, but have a couple of quick questions first.

  1. Is there any reason why I couldn't use the Redis cache plugin from the Geocode cookbook example alongside the phpredis extension?
    I mean using both in the same file. I wonder if this could cause a bug somehow.

  2. Could I use the phpredis extension for caching instead of a cache plugin?
    I ask this question because I notice in the Redis cache example in the Geocode docs it uses RedisCachePool, but there doesn't seem to be anything similar in phpredis. Maybe that's the default in phpredis, not sure though.

主要语言
PHP
星标
4k
派生
525
平均合并
8 分钟
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

geocoder-php/Geocoder 的其他 Issue

查看 geocoder-php/Geocoder 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。