Level 8
This is done with cache.prefix configuration key. Lumen comes with very basic configuration, so it is up to you where do you set it. In Laravel, it is set in config/cache.php.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have to app the first is api and the second is website. I'm cacheing data on the redis and when I'm cacheing the data lumen and laravel both put one string like 'lumen:cache' at the start of cache key name
How I could change the lumen cache key that laravel append to my cache key
This is done with cache.prefix configuration key. Lumen comes with very basic configuration, so it is up to you where do you set it. In Laravel, it is set in config/cache.php.
Please or to participate in this conversation.