How-to guides#
These guides solve one task each, for a project that already runs Plone.
๐ฆ Install the package
Add the dependency, and load the ZCML with or without autoinclude.
โ๏ธ Configure Redis
Point Plone at Redis, and run Redis as a private, bounded cache.
๐ Use Valkey
Swap Redis for Valkey without changing the URL scheme.
๐ฏ Include and exclude functions
Choose which cached functions may use Redis.
โฑ๏ธ Give a function its own TTL
Cache a function of your add-on for a lifetime of its own.
๐งน Invalidate after a deploy
Drop values that new code computes differently.
๐ Monitor the cache
Read the status endpoint, the counters, and the logs.
๐งช Test your add-on
Run your add-on's tests against a fake Redis.
๐ฉบ Troubleshoot
Find the cause of the most common problems.