Skip to content

Commit

Permalink
GitBook: [#8] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki authored and gitbook-bot committed May 5, 2022
1 parent 2efc055 commit d74cd34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions advanced-usage/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ Soketi has a caching layer built within. This allows you to speed up some proces

Currently, the caching system is used to [cache app retrievals](../app-management/introduction.md#caching-app-retrievals) (if enabled) or store the cache for [Cached Channels](https://blog.pusher.com/introducing-cache-channels/) when scaling across multiple nodes.

| Name | Default | Possible values | Description |
| -------------------------- | -------- | ----------------- | ------------------------------------------------------------------------------------------------------------------- |
| `SOKETI_`CACHE\_DRIVER | `memory` | `memory`, `redis` | The caching driver. |
| `CACHE_REDIS_CLUSTER_MODE` | `false` | `false`, `true` | Enable this if you run Redis in Cluster mode. [Read more](../getting-started/redis-configuration.md#redis-cluster). |
4 changes: 3 additions & 1 deletion app-management/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Within the following documentation pages, we will discuss how to configure apps

Soketi can cache the apps that are retrieved for authentication. The apps retrieved in the cache cannot be purged until the TTL causes it to get evicted and replaced with the fresh value from the database. The caching is on a per-app basis.

Please also see the caching sectio.
{% hint style="info" %}
Please also see the [caching section](../advanced-usage/caching.md) for additional configuration.
{% endhint %}

| Name | Default | Possible values | Description |
| ---------------------------------- | ------- | ------------------- | ------------------------------------------------------------- |
Expand Down

0 comments on commit d74cd34

Please sign in to comment.