Skip to content

perf(user_api): implement centralized caching for user preferences#77

Open
andrey-canon wants to merge 1 commit into
masterfrom
and/cache-user-preferences
Open

perf(user_api): implement centralized caching for user preferences#77
andrey-canon wants to merge 1 commit into
masterfrom
and/cache-user-preferences

Conversation

@andrey-canon

Copy link
Copy Markdown
Collaborator

No description provided.

@andrey-canon andrey-canon force-pushed the and/cache-user-preferences branch from 9c6ea2f to efe42f2 Compare June 17, 2026 22:51
Introduces a Django-based caching mechanism at the Model layer for UserPreference lookups. This mitigates severe database load caused by redundant queries, stabilizes the DB, and centralizes cache logic. Updated affected tests with LocMemCache to assert the new, reduced query counts.
@andrey-canon andrey-canon force-pushed the and/cache-user-preferences branch from efe42f2 to 021462a Compare June 17, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant