[FEAT]: Add mem caching to the API to create and retrieve IntegritySignature (#27922)
With this change, whenever a IntegritySignature is created or retrieved, the result will be cached into mem cache for future use. This will save round trip to database significantly for honor code check
Showing
- openedx/core/djangoapps/agreements/api.py 21 additions, 2 deletionsopenedx/core/djangoapps/agreements/api.py
- openedx/core/djangoapps/agreements/cache.py 13 additions, 0 deletionsopenedx/core/djangoapps/agreements/cache.py
- openedx/core/djangoapps/agreements/tests/test_api.py 26 additions, 5 deletionsopenedx/core/djangoapps/agreements/tests/test_api.py
openedx/core/djangoapps/agreements/cache.py
0 → 100644
Please register or sign in to comment