schema: Caching on schema on client

Store schema in per user cache. Together with schemas also information
about mapping between server and fingerprint is stored to reduce traffic.

https://fedorahosted.org/freeipa/ticket/4739

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
David Kupka
2016-06-21 14:42:04 +02:00
committed by Jan Cholasta
parent 65aa2d48ff
commit a636842889
2 changed files with 227 additions and 14 deletions

View File

@@ -194,6 +194,9 @@ DEFAULT_CONFIG = (
# behavior when newer clients talk to older servers. Use with caution.
('skip_version_check', False),
# Ignore TTL. Perform schema call and download schema if not in cache.
('force_schema_check', False),
# ********************************************************
# The remaining keys are never set from the values here!
# ********************************************************