Open Wardormeur opened 2 months ago
Ah so then https://github.com/mhgbrown/cached_resource/blob/a2d1b33e260be60e12d7a3bbb662d62e102065b5/lib/cached_resource/caching.rb#L151 does not work.
So for Redis, we should omit the ^
? Does that sound right?
Yup, that sounds about right
Will patch this :)
When running a clear_cache, the
^
does not seem to supported In Redis cache store, the pattern used is sent toscan
https://github.com/rails/rails/blob/main/activesupport/lib/active_support/cache/redis_cache_store.rb#L198 Trying to rerun it as close as possible to redis, we notice the^
blocks retrieval of keysExample: