Redis and Caching Configuration
OSA Proxy implementation
This page describes the current OSA Proxy implementation. The archived Java/Spring implementation is available in Archived Java/Spring implementation.
OSA Proxy supports Redis caching for Judge verdicts to speed up repeated requests and reduce CodeScoring load. The cache is disabled by default.
Parameters
TTL and background refresh
Background refresh does not extend an entry TTL by itself. TTL is extended when data is read from the cache by real requests, so rarely used entries are eventually removed from Redis.
Cache Management
The operational API is available through Swagger UI:
Main operations:
DELETE /api/cache/purls— delete specific PURLs from the verdict cache;DELETE /api/cache/packages/{packageType}— delete entries by package type, package name, or repository context.
Was this page helpful?
