dev: optimize disk cache control