From a044f1d2743a35e92ae5247e4bc464d6fce9bd02 Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 18 Aug 2022 19:18:16 -0400 Subject: [PATCH] docs(storage): Add documentation for storage.caching --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9cbe8398..80a55c4f 100644 --- a/README.md +++ b/README.md @@ -247,11 +247,12 @@ Here are some examples of conditions you can use: ### Storage -| Parameter | Description | Default | -|:---------------|:-------------------------------------------------------------------------------|:-----------| -| `storage` | Storage configuration | `{}` | -| `storage.path` | Path to persist the data in. Only supported for types `sqlite` and `postgres`. | `""` | -| `storage.type` | Type of storage. Valid types: `memory`, `sqlite`, `postgres`. | `"memory"` | +| Parameter | Description | Default | +|:------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:-----------| +| `storage` | Storage configuration | `{}` | +| `storage.path` | Path to persist the data in. Only supported for types `sqlite` and `postgres`. | `""` | +| `storage.type` | Type of storage. Valid types: `memory`, `sqlite`, `postgres`. | `"memory"` | +| `storage.caching` | Whether to use write-through caching. Improves loading time for large dashboards.
Only supported if `storage.type` is `sqlite` or `postgres` | `false` | - If `storage.type` is `memory` (default): ```yaml