This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 1882c6d5cc Remove cache warming documentation (#20269)
1882c6d5cc is described below
commit 1882c6d5cc397dfa2826266dfa100b7cfbe7bdd7
Author: Atticus White <[email protected]>
AuthorDate: Wed Jun 15 15:38:30 2022 -0400
Remove cache warming documentation (#20269)
The cache warming strategies perform unauthorized `GET` requests that are
redirected to the login page #9597
---
docs/docs/installation/cache.mdx | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/docs/docs/installation/cache.mdx b/docs/docs/installation/cache.mdx
index df2fc1471d..aaa8327451 100644
--- a/docs/docs/installation/cache.mdx
+++ b/docs/docs/installation/cache.mdx
@@ -42,26 +42,6 @@ defined in `DATA_CACHE_CONFIG`.
## Celery beat
-Superset has a Celery task that will periodically warm up the cache based on
different strategies.
-To use it, add the following to the `CELERYBEAT_SCHEDULE` section in
`config.py`:
-
-```python
-CELERYBEAT_SCHEDULE = {
- 'cache-warmup-hourly': {
- 'task': 'cache-warmup',
- 'schedule': crontab(minute=0, hour='*'), # hourly
- 'kwargs': {
- 'strategy_name': 'top_n_dashboards',
- 'top_n': 5,
- 'since': '7 days ago',
- },
- },
-}
-```
-
-This will cache all the charts in the top 5 most popular dashboards every
hour. For other
-strategies, check the `superset/tasks/cache.py` file.
-
### Caching Thumbnails
This is an optional feature that can be turned on by activating it’s feature
flag on config: