123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- return [
-
- 'default' => env('cache.driver', 'file'),
-
- 'stores' => [
- 'file' => [
-
- 'type' => 'File',
-
- 'path' => app()->getRuntimePath() . 'cache' . DIRECTORY_SEPARATOR,
-
- 'prefix' => '',
-
- 'expire' => 0,
-
- 'tag_prefix' => 'tag:',
-
- 'serialize' => [],
- ],
-
-
- 'redis' => [
-
- 'type' => 'redis',
-
- 'host' => env('redis.redis_hostname', '127.0.0.1'),
-
- 'port' => env('redis.port', '6379'),
-
- 'password' => env('redis.redis_password', ''),
-
- 'expire' => 0 ,
-
- 'prefix' => '',
-
- 'tag_prefix' => 'tag:',
-
- 'select' => env('redis.select', 0),
- 'serialize' => [],
-
- 'timeout' => 0
- ],
- ],
- ];
|