-
Notifications
You must be signed in to change notification settings - Fork 3
Caching
Jonathan Xu edited this page Mar 16, 2022
·
3 revisions
CIGIOnline uses redis as its caching backend. To connect to redis, log into heroku cli, and run:
> heroku redis:cli -a cigionline-staging --confirm cigionline-staging
To clear all cache, run:
> FLUSHALL
To find a specific cache key, use the keys
command followed by a keyword pattern. For example, finding the key associated with the top bar cache:
> keys *top_bar*
1) :1:template.cache.top_bar.d41d8cd98f00b204e9800998ecf8427e
Clearing specific keys using the del
command:
> del :1:template.cache.top_bar.d41d8cd98f00b204e9800998ecf8427e
1