Skip to content

Commit b8120bf

Browse files
Update cache prefix.
Make cache prefix like session cookie.
1 parent d5d81a5 commit b8120bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/cache.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
|
8787
*/
8888

89-
'prefix' => 'laravel',
89+
'prefix' => env(
90+
'CACHE_PREFIX',
91+
str_slug(env('APP_NAME', 'laravel'), '_').'_cache'
92+
),
9093

9194
];

0 commit comments

Comments
 (0)