add option dirCache. new version 0.3.0