disabling cache writing