Auto removal of invalid and expired cache files