Update caching.py

changed docstring