add CustomPathDiskCache to gain better performance when there are tens of thousands layers