QFind anything/
API Reference

Cache Preferences

Enable or disable Redis-backed caching for matches and expected transactions.

What are cache preferences

Cache preferences control Redis-backed caching. They are part of TenantSetting.cachePreferences. Caching improves performance when the same matches or expected transactions are queried repeatedly—e.g. during bulk matching or when listing expected transactions for many incoming.

Attributes

AttributePurpose
matchCacheEnabledCache match results. Default: true. Disable if you need always-fresh results.
expectedCacheEnabledCache expected transactions for matching. Default: true. Disable for real-time expected updates.

When to disable

  • matchCacheEnabled — Disable when match results must reflect the latest expected/incoming state immediately.
  • expectedCacheEnabled — Disable when expected transactions are created or updated frequently and must be included in matching without delay.

Cache TTL and key prefix are configured via environment variables (CACHE_MATCH_TTL_MS, CACHE_EXPECTED_TTL_MS, CACHE_KEY_PREFIX).