Update cache.py

Some comment regarding cache.py