[4303] Caching.

https://gist.github.com/lukkolstx/3f505c25855214b28f8c
Fixed. Please review.
```python
your_time = datetime.now() - TIME.get(method_name)
seconds = your_time.total_seconds()
if (
    TIME.get(method_name) is not None and
    seconds
):
```