I need to cache data in Laravel using redis, with many tags corresponding to one data array. How to do it? I can not find the redis command, which can do this, or is it Laravel's capabilities?
- Unfortunately, this built-in feature is not yet available: github.com/antirez/redis/issues/2668 - Zhukov Roman
- Is the tag and key the same? - Akula
- In this case, yes. You want to get one array using different keys (as I understand it, without duplicating the array in redis memory). If duplication is possible, then I do not see any problems. - Zhukov Roman
- I need both keys and tags to be, these are still different things, at least this is how the task is set. I'm new to laravel, so I can't figure it out yet - Akula
|