Search: cache latest version tags to avoid per-query DB lookups #19

Closed
opened 2026-02-02 22:57:20 +01:00 by qwc · 0 comments
Owner

The "latest version only" filter in getLatestVersionTags() queries all projects and their versions from the database on every search request. This should be cached (e.g. in-memory with a short TTL or invalidated on upload/delete) to avoid unnecessary DB load.

The "latest version only" filter in `getLatestVersionTags()` queries all projects and their versions from the database on every search request. This should be cached (e.g. in-memory with a short TTL or invalidated on upload/delete) to avoid unnecessary DB load.
qwc closed this issue 2026-02-03 11:26:00 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
qwc-open/asiakirjat#19
No description provided.