|
6 | 6 | use Http\Client\Curl\Client;
|
7 | 7 |
|
8 | 8 | return [
|
| 9 | + 'cache' => [ |
9 | 10 |
|
10 |
| - /* |
11 |
| - |-------------------------------------------------------------------------- |
12 |
| - | Cache Duration |
13 |
| - |-------------------------------------------------------------------------- |
14 |
| - | |
15 |
| - | Specify the cache duration in minutes. The default approximates a forever |
16 |
| - | cache, but there are certain issues with Laravel's forever caching |
17 |
| - | methods that prevent us from using them in this project. |
18 |
| - | |
19 |
| - | Default: 9999999 (integer) |
20 |
| - | |
21 |
| - */ |
22 |
| - 'cache-duration' => 9999999, |
| 11 | + /* |
| 12 | + |----------------------------------------------------------------------- |
| 13 | + | Cache Store |
| 14 | + |----------------------------------------------------------------------- |
| 15 | + | |
| 16 | + | Specify the cache store to use for caching. The value "null" will use |
| 17 | + | the default cache store specified in /config/cache.php file. |
| 18 | + | |
| 19 | + | Default: null |
| 20 | + | |
| 21 | + */ |
| 22 | + |
| 23 | + 'store' => null, |
| 24 | + |
| 25 | + /* |
| 26 | + |----------------------------------------------------------------------- |
| 27 | + | Cache Duration |
| 28 | + |----------------------------------------------------------------------- |
| 29 | + | |
| 30 | + | Specify the cache duration in minutes. The default approximates a |
| 31 | + | "forever" cache, but there are certain issues with Laravel's forever |
| 32 | + | caching methods that prevent us from using them in this project. |
| 33 | + | |
| 34 | + | Default: 9999999 (integer) |
| 35 | + | |
| 36 | + */ |
| 37 | + |
| 38 | + 'duration' => 9999999, |
| 39 | + ], |
23 | 40 |
|
24 | 41 | /*
|
25 |
| - |-------------------------------------------------------------------------- |
| 42 | + |--------------------------------------------------------------------------- |
26 | 43 | | Providers
|
27 |
| - |-------------------------------------------------------------------------- |
| 44 | + |--------------------------------------------------------------------------- |
28 | 45 | |
|
29 | 46 | | Here you may specify any number of providers that should be used to
|
30 | 47 | | perform geocaching operations. The `chain` provider is special,
|
|
49 | 66 | ],
|
50 | 67 |
|
51 | 68 | /*
|
52 |
| - |-------------------------------------------------------------------------- |
| 69 | + |--------------------------------------------------------------------------- |
53 | 70 | | Adapter
|
54 |
| - |-------------------------------------------------------------------------- |
| 71 | + |--------------------------------------------------------------------------- |
55 | 72 | |
|
56 | 73 | | You can specify which PSR-7-compliant HTTP adapter you would like to use.
|
57 | 74 | | There are multiple options at your disposal: CURL, Guzzle, and others.
|
|
65 | 82 | 'adapter' => Client::class,
|
66 | 83 |
|
67 | 84 | /*
|
68 |
| - |-------------------------------------------------------------------------- |
| 85 | + |--------------------------------------------------------------------------- |
69 | 86 | | Reader
|
70 |
| - |-------------------------------------------------------------------------- |
| 87 | + |--------------------------------------------------------------------------- |
71 | 88 | |
|
72 | 89 | | You can specify a reader for specific providers, like GeoIp2, which
|
73 | 90 | | connect to a local file-database. The reader should be set to an
|
|
0 commit comments