Задать вопрос

Тел: +7 965 3737 888

430

Просмотров

0

Ответов

Function cache decorator

This is caching mechanism augmented to help address a number of common pitfalls in caching: cache stampeding, simultaneous expiry, cache invalidation, and the storing of None as a legitimate value.

No doubt the automatic key generation could stand to be simplified, but it works.

Вопрос полезен? Да0/Нет0
file_4715.py(2.4Кб)
None