Update cache_middle_ware.py