- .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| backends.py | ||
| region_meta.py | ||
| utils.py | ||