G
G
ganjo8882018-12-18 12:10:02
PHP
ganjo888, 2018-12-18 12:10:02

How to find file cache using Redis?

There is meta data that is stored here $meta = Cache::store('redis')->get($query);
in the content

$meta = ['path' => $query, 'service' => 'google', 'content_id' => 123];

There is a file cache where content is Cache::forever(md5($query), $content);
stored
$content = ['id' => 123, 'content' => тут html код];

How to search by $meta['content_id']and display $contetnt['content']?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question