You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: other/caching.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,24 +8,4 @@ description: >-
8
8
9
9
## Drivers
10
10
11
-
You can change your cache driver by setting the environment variable in your configuration file. To change the default driver pass `CACHE_DRIVER` as an environment variable.
12
-
13
-
### File (default)
14
-
15
-
{% hint style="info" %}
16
-
`v0.13.1` contains a change to `file` as the default driver to improve performance.
17
-
{% endhint %}
18
-
19
-
This is the default cache driver and fine in most use cases, especially if the container runs on the same host system.
20
-
21
-
### Database
22
-
23
-
Using the database cache driver can be used if you're running multiple instances and want to share the cache. 
24
-
25
-
Change `CACHE_DRIVER` to `database` in your environment variables.
26
-
27
-
### Redis
28
-
29
-
Using Redis cache driver can also be used if you're running multiple instances or don't want to use the container's file system as the cache. 
30
-
31
-
Change `CACHE_DRIVER` to `redis` in your environment variables.
11
+
You can change the default `database` cache by passing `CACHE_STORE` as an environment variable. Supported stores can be found in the [Laravel docs](https://laravel.com/docs/master/cache).
0 commit comments