Remove obsolete codes for old cache system