From a7dd532f5686e2808eaaadb309b5e983b2dafec4 Mon Sep 17 00:00:00 2001 From: Sam Firke Date: Fri, 20 Sep 2024 15:12:24 -0400 Subject: [PATCH 1/2] chore(docs): fix an agreement error --- docs/docs/configuration/cache.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/configuration/cache.mdx b/docs/docs/configuration/cache.mdx index 34170cc4d34bf..6ca66da4d5c1f 100644 --- a/docs/docs/configuration/cache.mdx +++ b/docs/docs/configuration/cache.mdx @@ -13,7 +13,7 @@ SimpleCache (in-memory), or the local filesystem. [Custom cache backends](https://flask-caching.readthedocs.io/en/latest/#custom-cache-backends) are also supported. -Caching can be configured by providing a dictionaries in +Caching is configured by providing dictionaries in `superset_config.py` that comply with [the Flask-Caching config specifications](https://flask-caching.readthedocs.io/en/latest/#configuring-flask-caching). The following cache configurations can be customized in this way: @@ -22,7 +22,7 @@ The following cache configurations can be customized in this way: - Metadata cache (optional): `CACHE_CONFIG` - Charting data queried from datasets (optional): `DATA_CACHE_CONFIG` -For example, to configure the filter state cache using redis: +For example, to configure the filter state cache using Redis: ```python FILTER_STATE_CACHE_CONFIG = { From e12787a711ea7a03eee762f56cb966248ac96b37 Mon Sep 17 00:00:00 2001 From: Sam Firke Date: Fri, 20 Sep 2024 15:14:06 -0400 Subject: [PATCH 2/2] revert to "can be" Overthinking this --- docs/docs/configuration/cache.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/configuration/cache.mdx b/docs/docs/configuration/cache.mdx index 6ca66da4d5c1f..6d761c56b7113 100644 --- a/docs/docs/configuration/cache.mdx +++ b/docs/docs/configuration/cache.mdx @@ -13,7 +13,7 @@ SimpleCache (in-memory), or the local filesystem. [Custom cache backends](https://flask-caching.readthedocs.io/en/latest/#custom-cache-backends) are also supported. -Caching is configured by providing dictionaries in +Caching can be configured by providing dictionaries in `superset_config.py` that comply with [the Flask-Caching config specifications](https://flask-caching.readthedocs.io/en/latest/#configuring-flask-caching). The following cache configurations can be customized in this way: