Use Message-ID for cache keys
This commit is contained in:
parent
41a0f4f8f2
commit
8ba2a931b9
3 changed files with 21 additions and 6 deletions
|
@ -62,7 +62,7 @@ text extracted from all text parts.
|
|||
### Cache Strategy
|
||||
|
||||
`aiCache` persists classification results. Each key is the SHA‑256 hex of
|
||||
`"<message id>|<criterion>"` and maps to an object with `matched` and `reason`
|
||||
`"<message Message-ID>|<criterion>"` and maps to an object with `matched` and `reason`
|
||||
properties. Any legacy `aiReasonCache` data is merged into `aiCache` the first
|
||||
time the add-on loads after an update.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue