Note: If you are using Misago-Docker, this is already done without any additional configuration.
misago.cache.versions
module implements cache versioning feature. Cache version is string made of 8 random characters that should be included in cache key, or as value of version
named argument on cache.set
and cache.get
.cache_versions
attribute on request
. It's set by misago.cache.middleware.cache_versions_middleware
middleware.misago.cache.versions.invalidate_cache
function:misago.cache.versions.invalidate_all_caches
:misago.cache.operations
module provides migration operations that allow you to easily add or remove cache versioning:misago_cache
migration no. 0001_initial
.