Skip to content

Commit a601016

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-128: No subject
1 parent 3155dad commit a601016

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

other/caching.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,4 @@ description: >-
88

99
## Drivers
1010

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).

other/health-check.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ curl APP_URL/api/healthcheck
1111
You can also add this to your Docker Compose file so the Docker service can monitor that the container has started successfully.
1212

1313
```yaml
14-
version: '3.4'
15-
1614
healthcheck:
1715
test: curl -fSs APP_URL/api/healthcheck | jq -r .message || exit 1
1816
interval: 10s

0 commit comments

Comments
 (0)