Repository navigation
2.0.0
What's Changed
- CacheTagsChecksum-based invalidation by @RobinHoutevelts in #4
Upgrade
To upgrade to 2.0.0 you will need to perform two actions:
Use the wmcontroller.redis.checksum checksum invalidator
In your services.yml file add the folowing parameter:
parameters:
wmcontroller.cache.storage: wmcontroller.cache.storage.redis
+ wmcontroller.cache.invalidator: wmcontroller.redis.checksumRun the wmcontroller_redis:mark-expired drush command every night
This will mark stale entries as expired so it will be removed by wmcontroller in the next cron run.
It's best to run this in a separate drush process once per night. See RedisStorage.php#L229-L240 for more information.
Don't try to run this from HOOK_cron.
Full Changelog: 1.1.0...2.0.0