mvantellingen / python-zeep

A Python SOAP client
http://docs.python-zeep.org
Other
1.87k stars 578 forks source link

Added LRU TTL Cache Implementation #1391

Open aakashkhanna opened 9 months ago

aakashkhanna commented 9 months ago

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.