keystone/releasenotes/notes/pre-cache-tokens-73450934918af26b.yaml
Alexander Makarov 7260b55cfc Pre-cache new tokens
Since tokens are most often used right after being created,
cache them to bypass redundant validation.
The patch uses dogpile.cache internal functionality so some
calls may look strange

Implements bp pre-cache-tokens

Change-Id: I2e720eed6b0066738181afd1cbf73c5ff4d876f5
2016-08-31 20:14:53 +03:00

8 lines
281 B
YAML

---
prelude: >
Tokens can now be cached when issued.
features:
- Add ``cache_on_issue`` flag to ``[token]`` section that enables
placing issued tokens to validation cache thus reducing the first
validation time as if token is already validated and token data cached.