Update caching.py