add nodecache and pathcache implement.