Add cache size management