S
S
shasoft2019-05-29 16:03:28
Laravel
shasoft, 2019-05-29 16:03:28

How to change prefix Cache in Laravel/Lumen?

How to change cache prefix in Laravel/Lumen? I want to make sure that under certain conditions different values ​​for one key are cached in different places.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Wells, 2019-05-29
@Alex_Wells

I'm not sure about the cache.prefix key, look for what should be there:
config(['cache.prefix' => $myPrefix]);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question