Improving delete old cache data method