- disk cache option added

Add disk cache option + switch to undef to make things less confusing.