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