Update cache.php

renamed methods from 'deleteVar' to 'deleteCache'