proper conf of cache