separating the status_code of the cache