mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
We cache the ClaimsList Java object for six hours (we don't expect it to change frequently, and the cron job to update it only runs every twelve hours). Subsequent calls to ClaimsListDao::get will return the cached value. Within the ClaimsList Java object itself, we cache any labels that we have retrieved. While we already have a form of a cache here in the "labelsToKeys" map, that only handles situations where we've loaded the entire map from the database. We want to have a non-guaranteed cache in order to make repeated calls to getClaimKey fast. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
buildscript-gradle.lockfile | ||
Dockerfile | ||
gradle.lockfile |