improvements of the cache system