This pull request adds support for TTLCache to zeep. TTLCache is a Least Recently Used (LRU) cache implementation with per-item time-to-live (TTL) value. This means that it will clear the entries after they expire, as compared to In Memory Cache which just marks the entries as expired but still holds them in memory.
Benefits of using TTLCache:
TTLCache clears the entries after the items expire as compared to In Memory Cache which just marks the entries as expired but still holds them in memory.
TTLCache lets you specify max size and a per item TTL.
This pull request also adds a new example to the documentation showing how to use TTLCache with zeep.
This pull request adds support for TTLCache to zeep. TTLCache is a Least Recently Used (LRU) cache implementation with per-item time-to-live (TTL) value. This means that it will clear the entries after they expire, as compared to In Memory Cache which just marks the entries as expired but still holds them in memory.
Benefits of using TTLCache:
This pull request also adds a new example to the documentation showing how to use TTLCache with zeep.