geocoder-php / geocoder-php/Geocoder
Using redis cache plugin alongside phpredis extension
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4k
- Forks
- 525
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Description
I'd like to use Geocoder, but have a couple of quick questions first.
-
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. -
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 usesRedisCachePool, but there doesn't seem to be anything similar in phpredis. Maybe that's the default in phpredis, not sure though.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Redis cache plugin example in the Geocode cookbook and the documented RedisCachePool usage. Check how the phpredis extension is intended to relate to that example, then clarify whether both can be used together and whether phpredis can replace the cache plugin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, redis
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100