3 Commits

Author SHA1 Message Date
Markus Heiser
bbaf3c3ddd [fix] cache.ExpireCache: definition of a context name for the key
The definition of a context name belongs in the abstract base class (was
previously only in the concrete implementation for the SQLite adapter).

Suggested-by: @dalf https://github.com/searxng/searxng/pull/4650#discussion_r2069873853
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-05-01 11:31:29 +02:00
Markus Heiser
db6241267c [fix] (armv7) cache.ExpireCache: remove option ENCRYPT_VALUE
Prophylactic encryption of the value currently makes no sense; on the contrary,
since the ``cryptography`` package is not available on armv7, it would cause
further problems.

Suggested-by: @dalf https://github.com/searxng/searxng/pull/4650#issuecomment-2830786661
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-04-27 19:34:28 +02:00
Markus Heiser
b0068a057d [mod] ExpireCache - sqlite based key/value cache with expire time 2025-04-27 19:34:28 +02:00