Left file: appwork-v1_5_2/laravel-starter/config/cache.php  
Right file: appwork-v1_6_0/laravel-starter/config/cache.php  
1 <?php = 1 <?php
2     2  
3 use Illuminate\Support\Str;   3 use Illuminate\Support\Str;
4     4  
5 return [   5 return [
6     6  
7     /*   7     /*
8     |--------------------------------------------------------------------------   8     |--------------------------------------------------------------------------
9     | Default Cache Store   9     | Default Cache Store
10     |--------------------------------------------------------------------------   10     |--------------------------------------------------------------------------
11     |   11     |
12     | This option controls the default cache connection that gets used while   12     | This option controls the default cache connection that gets used while
13     | using this caching library. This connection is used when another is   13     | using this caching library. This connection is used when another is
14     | not explicitly specified when executing a given caching function.   14     | not explicitly specified when executing a given caching function.
15     |   15     |
16     | Supported: "apc", "array", "database", "file", +-    
17     |            "memcached", "redis", "dynamodb"      
18     |      
19     */ = 16     */
20     17  
21     'default' => env('CACHE_DRIVER', 'file'),   18     'default' => env('CACHE_DRIVER', 'file'),
22     19  
23     /*   20     /*
24     |--------------------------------------------------------------------------   21     |--------------------------------------------------------------------------
25     | Cache Stores   22     | Cache Stores
26     |--------------------------------------------------------------------------   23     |--------------------------------------------------------------------------
27     |   24     |
28     | Here you may define all of the cache "stores" for your application as   25     | Here you may define all of the cache "stores" for your application as
29     | well as their drivers. You may even define multiple stores for the   26     | well as their drivers. You may even define multiple stores for the
30     | same cache driver to group types of items stored in your caches.   27     | same cache driver to group types of items stored in your caches.
31     |   28     |
    -+ 29     | Supported drivers: "apc", "array", "database", "file",
      30     |            "memcached", "redis", "dynamodb", "null"
      31     |
32     */ = 32     */
33     33  
34     'stores' => [   34     'stores' => [
35     35  
36         'apc' => [   36         'apc' => [
37             'driver' => 'apc',   37             'driver' => 'apc',
38         ],   38         ],
39     39  
40         'array' => [   40         'array' => [
41             'driver' => 'array',   41             'driver' => 'array',
    -+ 42             'serialize' => false,
42         ], = 43         ],
43     44  
44         'database' => [   45         'database' => [
45             'driver' => 'database',   46             'driver' => 'database',
46             'table' => 'cache',   47             'table' => 'cache',
47             'connection' => null,   48             'connection' => null,
    -+ 49             'lock_connection' => null,
48         ], = 50         ],
49     51  
50         'file' => [   52         'file' => [
51             'driver' => 'file',   53             'driver' => 'file',
52             'path' => storage_path('framework/cache/data'),   54             'path' => storage_path('framework/cache/data'),
53         ],   55         ],
54     56  
55         'memcached' => [   57         'memcached' => [
56             'driver' => 'memcached',   58             'driver' => 'memcached',
57             'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),   59             'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
58             'sasl' => [   60             'sasl' => [
59                 env('MEMCACHED_USERNAME'),   61                 env('MEMCACHED_USERNAME'),
60                 env('MEMCACHED_PASSWORD'),   62                 env('MEMCACHED_PASSWORD'),
61             ],   63             ],
62             'options' => [   64             'options' => [
63                 // Memcached::OPT_CONNECT_TIMEOUT => 2000,   65                 // Memcached::OPT_CONNECT_TIMEOUT => 2000,
64             ],   66             ],
65             'servers' => [   67             'servers' => [
66                 [   68                 [
67                     'host' => env('MEMCACHED_HOST', '127.0.0.1'),   69                     'host' => env('MEMCACHED_HOST', '127.0.0.1'),
68                     'port' => env('MEMCACHED_PORT', 11211),   70                     'port' => env('MEMCACHED_PORT', 11211),
69                     'weight' => 100,   71                     'weight' => 100,
70                 ],   72                 ],
71             ],   73             ],
72         ],   74         ],
73     75  
74         'redis' => [   76         'redis' => [
75             'driver' => 'redis',   77             'driver' => 'redis',
76             'connection' => 'cache',   78             'connection' => 'cache',
    -+ 79             'lock_connection' => 'default',
77         ], = 80         ],
78     81  
79         'dynamodb' => [   82         'dynamodb' => [
80             'driver' => 'dynamodb',   83             'driver' => 'dynamodb',
81             'key' => env('AWS_ACCESS_KEY_ID'),   84             'key' => env('AWS_ACCESS_KEY_ID'),
82             'secret' => env('AWS_SECRET_ACCESS_KEY'),   85             'secret' => env('AWS_SECRET_ACCESS_KEY'),
83             'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),   86             'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
84             'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),   87             'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
85             'endpoint' => env('DYNAMODB_ENDPOINT'),   88             'endpoint' => env('DYNAMODB_ENDPOINT'),
86         ],   89         ],
87     90  
88     ],   91     ],
89     92  
90     /*   93     /*
91     |--------------------------------------------------------------------------   94     |--------------------------------------------------------------------------
92     | Cache Key Prefix   95     | Cache Key Prefix
93     |--------------------------------------------------------------------------   96     |--------------------------------------------------------------------------
94     |   97     |
95     | When utilizing a RAM based store such as APC or Memcached, there might   98     | When utilizing a RAM based store such as APC or Memcached, there might
96     | be other applications utilizing the same cache. So, we'll specify a   99     | be other applications utilizing the same cache. So, we'll specify a
97     | value to get prefixed to all our keys so we can avoid collisions.   100     | value to get prefixed to all our keys so we can avoid collisions.
98     |   101     |
99     */   102     */
100     103  
101     'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),   104     'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
102     105  
103 ];   106 ];