the browser-facing portion of osu!
1<?php
2
3return [
4
5 /*
6 |--------------------------------------------------------------------------
7 | Default Cache Store
8 |--------------------------------------------------------------------------
9 |
10 | This option controls the default cache connection that gets used while
11 | using this caching library. This connection is used when another is
12 | not explicitly specified when executing a given caching function.
13 |
14 */
15
16 'default' => env('CACHE_DRIVER', 'redis'),
17
18 /*
19 |--------------------------------------------------------------------------
20 | Cache Stores
21 |--------------------------------------------------------------------------
22 |
23 | Here you may define all of the cache "stores" for your application as
24 | well as their drivers. You may even define multiple stores for the
25 | same cache driver to group types of items stored in your caches.
26 |
27 */
28
29 'stores' => [
30
31 'array' => [
32 'driver' => 'array',
33 ],
34
35 'file' => [
36 'driver' => 'file',
37 'path' => storage_path().'/framework/cache',
38 ],
39
40 'memcached' => [
41 'driver' => 'memcached',
42 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
43 'sasl' => [
44 env('MEMCACHED_USERNAME'),
45 env('MEMCACHED_PASSWORD'),
46 ],
47 'options' => [
48 // Memcached::OPT_CONNECT_TIMEOUT => 2000,
49 ],
50 'servers' => [
51 [
52 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
53 'port' => env('MEMCACHED_PORT', 11211),
54 'weight' => 100,
55 ],
56 ],
57 ],
58
59 'redis' => [
60 'driver' => 'redis',
61 'connection' => 'cache',
62 ],
63
64 'octane' => [
65 'driver' => 'octane',
66 ],
67 ],
68
69 /*
70 |--------------------------------------------------------------------------
71 | Cache Key Prefix
72 |--------------------------------------------------------------------------
73 |
74 | When utilizing a RAM based store such as APC or Memcached, there might
75 | be other applications utilizing the same cache. So, we'll specify a
76 | value to get prefixed to all our keys so we can avoid collisions.
77 |
78 */
79
80 'prefix' => null,
81
82];